[x64]Shift vertical scroll bar after minimize/maximize TC
Moderators: Hacker, petermad, Stefan2, white
[x64]Shift vertical scroll bar after minimize/maximize TC
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.
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.
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
I can confirm the observation.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
???
Are you sure? I didn't work on this problem any more...
Are you sure? I didn't work on this problem any more...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
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!
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.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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...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.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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?
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
https://www.ghisler.com
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.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: