[9.0 final x64] Lister - Save position bug

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Slam
Junior Member
Junior Member
Posts: 16
Joined: 2013-03-25, 11:43 UTC

[9.0 final x64] Lister - Save position bug

Post by *Slam »

When I use "Options / Save position" in Lister, then the window height is saved as the current height + 1 pixel above that.
NoBoDy Is PeRfEcT! ™
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Confirmed! the current width also saved +1

How did you found it? I have to take snapshot before and after "Options / Save position" to confirm :)

Edit:
It is exist since Windows Commander Version 3.01 32 bit (31.12.1996), and maybe older, but i cannot run 16 bit version on Windows 10, so you must proud that you are the first one find it since 20 years of hundreds beta/final releases :lol:
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, I found this in the code:
if a<>-32000 then r.right:=a+r.left+1; {Because of NT!}

I don't remember why this was added "because of Windows NT". Bit it definitely adds a pixel on Windows 7 here...
Author of Total Commander
https://www.ghisler.com
User avatar
Slam
Junior Member
Junior Member
Posts: 16
Joined: 2013-03-25, 11:43 UTC

Post by *Slam »

ts4242 wrote:How did you found it?
Just good eyes... :wink:
I saved the window, opened it again and I just saw...
NoBoDy Is PeRfEcT! ™
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Fixed in TC 9.0a RC1
Slam wrote:Just good eyes... :wink:
Congratulation to owning such eyes :)
Post Reply