[x64]Shift vertical scroll bar after minimize/maximize TC

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
gora
Junior Member
Junior Member
Posts: 87
Joined: 2010-12-17, 10:37 UTC
Location: Russian

[x64]Shift vertical scroll bar after minimize/maximize TC

Post by *gora »

1 Open on one of panels a folder with a many number of folders and\or files.
2 Drag vertical scroll bar to the bottom. I see the last folder\file and one empty line after it.
3 Minimize window TC and again maximize it.
The scroll bar shift on two positions upwards and I any more don't see the last folder\file and an empty line after it.

TC 8b5x64, Win7 x64.

In TC x86 (8b5 and 7.56a) this shift the vertical scroll bar is not happening.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Interesting, I see something similar (shift by one line). I will try to find out what is causing it.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can confirm the observation.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I could not find the cause of this problem after two hours of debugging. It's just not worth the trouble to spend so much time on such small problems. :(
Author of Total Commander
https://www.ghisler.com
User avatar
gora
Junior Member
Junior Member
Posts: 87
Joined: 2010-12-17, 10:37 UTC
Location: Russian

Post by *gora »

The problem is fixed in beta13. Thanks.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

???
Are you sure? I didn't work on this problem any more...
Author of Total Commander
https://www.ghisler.com
User avatar
gora
Junior Member
Junior Member
Posts: 87
Joined: 2010-12-17, 10:37 UTC
Location: Russian

Post by *gora »

ghisler(Author) wrote:???
Are you sure? I didn't work on this problem any more...
Yes, I am sure. It can be caused update Lazarus!?
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Well, I can confirm that it doesn't happen anymore in TC 8.0b13 x64.

But I have a similar observation that happens in both 32bit an 64bit version:

If I have a non-maximized TC window and I scroll to the last line and thereafter maximize and then normalize the window, then the last line is moved under the lower panel edge.

It is more pronounced in the 32 bit version where the bottom line is moved 3-4 lines below the edge, in the 64bit version it is only 1-2 lines for a panel that is resized from 28 to 30 lines. I have the same window sizes / numbers of visible files in both versions.

The height of the window seems to matter - on my Win XP computer where my TC panel is resized from 31 to 45 lines the last line is moved 14 lines under the lower edge!
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

If I have a non-maximized TC window and I scroll to the last line and thereafter maximize and then normalize the window, then the last line is moved under the lower panel edge.
This is NOT a bug. TC keeps the first line, not the one with the cursor. Why? The user may want to leave the cursor on the last file and scroll to the start with the mouse, and then resize the window. He would be very annoyed if TC would then be jumping to the end to show the cursor...
Author of Total Commander
https://www.ghisler.com
User avatar
gora
Junior Member
Junior Member
Posts: 87
Joined: 2010-12-17, 10:37 UTC
Location: Russian

Post by *gora »

The problem has returned on beta 14. :(
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I told you that I didn't change anything regarding this problem! It's pure coincidence if it worked for you in beta 13.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2gora
You were right, there was a change in the Lazarus compiler which fixed that. But the fix malfunctioned when I added code to allow to start TC again minimized. I have corrected that now in beta 15. Can you test it, please?
Author of Total Commander
https://www.ghisler.com
User avatar
gora
Junior Member
Junior Member
Posts: 87
Joined: 2010-12-17, 10:37 UTC
Location: Russian

Post by *gora »

2ghisler(Author)
Yes, problem is fixed in beta15.
Thanks.
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I cannot reproduce the bug described by gora in TC 8.0b15 x64 any more either :-)
Last edited by petermad on 2012-01-11, 15:52 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply