[9.0aRC1] Extension alignment is lost on window resize

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

[9.0aRC1] Extension alignment is lost on window resize

Post by *MVV »

It may be tricky to catch it for the first time, and it is easy to do it again. Some actions are not necessary but together they really allow to reproduce the bug:

1. Start TC instance with this simple config:

Code: Select all

[Configuration]
FirstTime=0
FirstTimeIconLib=0

[Tabstops]
0=183
1=187
3=246
4=42
5=230
6=549
AdjustWidth=1
2. Create and open in left panel a test dir with following empty files:

Code: Select all

Loooooooooooooooooooooooong file name.txt
test.txt
3. Switch to brief view (better in both panels)!

4. Start shrinking TC window width by dragging left border... At some moment TC disables extension alignment, you can see it on test.txt.
It looks weird because column width is still determined by longer file name width, so extensions may be easilly shown aligned.
http://polariton.ad-l.ink/8t4cZQd8F/image.png

5. Switch to any other application and return back to TC.
Resize window back (by dragging left border) or open configuration window to ensure that TC have saved this unauthorized alignment option change.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Not fixed in TC 9.0aRC2.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48028
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I cannot reproduce the problem any more with RC2, sorry. I followed your above instructions exactly. Tried with TC 32-bit and 64-bit. I can easily reproduce it with RC1 every time.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Sorry, I've copied wrong binaries so updated RC1 to RC1, now I've tested it with real RC2 and it works fine. Thank you! :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48028
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ah, nice to hear that!

However, I still managed to reproduce the bug when using "Save position" and then re-loading the program. Reason: The tabstop is saved as -1, which is treated as unaligned extension.
Author of Total Commander
https://www.ghisler.com
Post Reply