[9.50] Extra lines below cursor option resets when changing and then reverting it

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

[9.50] Extra lines below cursor option resets when changing and then reverting it

Post by *Flint »

Maybe it's related to this fix.

1. Start TC with default configuration, open Settings - Operation, change "Extra lines below cursor" from 4 to something else (say, 3).
2. Click OK, reopen the settings dialog. The number is 3, as expected. Change it back to 4, click OK, and reopen the dialog again.
3. The value is reverted back to 3.
The only way to set it back to 4, is set it to 0 (or uncheck the checkbox), click Apply or OK, and only then set it to 4.

Also, if you change the value to, say, 3, save it and restart TC, then the same problem will now happen with the new value 3: you will be able to set anything else, but if you try to set 3 it will reset to the previous value.

Tested in 9.50β5 32- and 64-bit.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [9.50] Extra lines below cursor option resets when changing and then reverting it

Post by *petermad »

Confirmed , it is only if I try to set it back to the value it had when I started TC that it happens.
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: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [9.50] Extra lines below cursor option resets when changing and then reverting it

Post by *ghisler(Author) »

I will check it.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [9.50] Extra lines below cursor option resets when changing and then reverting it

Post by *petermad »

Not yet fixed in TC 9.5b6 :-(
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: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [9.50] Extra lines below cursor option resets when changing and then reverting it

Post by *ghisler(Author) »

Sorry, I was unable to reproduce this error. It doesn't revert to 3 here.
Could you send me your wincmd.ini with the options before step 1?
Author of Total Commander
https://www.ghisler.com
CHiLL72
Junior Member
Junior Member
Posts: 2
Joined: 2019-11-21, 10:43 UTC

Re: [9.50] Extra lines below cursor option resets when changing and then reverting it

Post by *CHiLL72 »

A possibly related issue: when this function is active (I have it set at 5 lines) and the 'Insert' key is used to select files, the cursor will just keep going down without taking the extra lines into account.
When using the 'cursor down' key, it works fine.
This is in beta 6.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [9.50] Extra lines below cursor option resets when changing and then reverting it

Post by *ghisler(Author) »

when this function is active (I have it set at 5 lines) and the 'Insert' key is used to select files, the cursor will just keep going down without taking the extra lines into account.
When using the 'cursor down' key, it works fine.
Thanks, it works correctly in 32-bit, but not in 64-bit.
Author of Total Commander
https://www.ghisler.com
CHiLL72
Junior Member
Junior Member
Posts: 2
Joined: 2019-11-21, 10:43 UTC

Re: [9.50] Extra lines below cursor option resets when changing and then reverting it

Post by *CHiLL72 »

Ah, I'm using the 64 bit version.
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [9.50] Extra lines below cursor option resets when changing and then reverting it

Post by *petermad »

Sorry, I was unable to reproduce this error. It doesn't revert to 3 here.
Could you send me your wincmd.ini with the options before step 1?
I have made this video: https://madsenworld.dk/tcmd/extralinessettingbug.mp4

It is reproducable with these .ini settings:
Spoiler

Code: Select all

[Configuration]
UseIniInProgramDir=7
StartupScreen=0
UseNewDefFont=1
SetEncoding=äö.do.not.remove
firstmnu=2682
FirstTimeIconLib=0
FirstTime=0
test=13
onlyonce=0
TrayIcon=0
UseRightButton=1
Savepath=1
Savepanels=1
MarkDirectories=1
AlwaysToRoot=0
SingleClickStart=0
RenameSelOnlyName=0
ScrollingTopMargin=2
ScrollingBottomMargin=2
SaveCommands=1
SaveHistory=1
EverythingForSize=0
CountSpace=1
CountMarked=1
1hourdif=0
CopyComments=6
CommentPreferredFormat=4
IconClickSelection=1
SeparateTree=0
PanelsVertical=0
[ButtonbarCache]
IconDll_default.bar=
IconDll_vertical.bar=
[left]
path=c:\
ViewMode=10001
activepanelcolor=-1
activepanelcolor2=-1
activepanelcolordark=-1
activepanelcolordark2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
[right]
path=c:\
ViewMode=10001
activepanelcolor=-1
activepanelcolor2=-1
activepanelcolordark=-1
activepanelcolordark2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
[RightHistory]
0=c:\	#0
[LeftHistory]
0=c:\	#0
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: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [9.50] Extra lines below cursor option resets when changing and then reverting it

Post by *ghisler(Author) »

Thanks, I was able to reproduce it with your video. The error occurs only when changing the value TWICE, with the second value the exact same as when you started TC.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Re: [9.50] Extra lines below cursor option resets when changing and then reverting it

Post by *Flint »

Seems fixed in 9.50β7.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [9.50] Extra lines below cursor option resets when changing and then reverting it

Post by *petermad »

Confirmed fixed in TC 9.5b7 :-)
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
Post Reply