Solved [TC9b14] Delay/blink/fail showing curser at startup

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Solved [TC9b14] Delay/blink/fail showing curser at startup

Post by *petermad »

If I in TC9b14 have a View mode and an Automatic Switch Mode like this
[ViewModes]
0_name=<Standard>
0_icon=
0_options=-1|-1|0||-1|-1|-1
1_name=Folder
1_icon=
1_commands=cm_SrcAllFiles
1_options=-1|-1|0||-1|-1|-1

[ViewModeSwitch]
Enabled=1
0_rules=L
0_mode=1
Then with this setting in the 32 bit version of TC there is a blink in the cursor in the left file panel at startup, whereas in the 64 bit version first the cursor only shows up behind the first folder icon and then after a little less than a second the full cursor is shown, but only if I am in the root of a drive and the fist folder is marked "system" or "read-only".

I doesn't seem to matter what the 1_commands is set to - as long as there is a command.

It also happens if I exchange L with D.

With this setting in 64bit TC:
[ViewModeSwitch]
Enabled=1
0_rules=+C:\*\
0_mode=0
1_rules=L
1_mode=1
If I start in C:\ and the first folder is marked "system" - then the cursor is only shown under the folder icon, not under the file name.
If the first folder is not marked "system" or "read-only" - then the cursor completely dissapears.
If I start in any subfolder then the cursor also dissapears with this ViewModeSwitch setting.

This bug seems to have been introduced with TC9b13 - I cannot reproduce it with TC9b12

EDIT: I just noticed that for the bug to show you cannot have c:\ in both panels (but you can have for instance f:\ in both panels where f: is a lokal hd partition)

This wincmd.ini should do for reproducing the bug (no splash screen must be shown):
[Configuration]
KeyPath=$
ShowHiddenSystem=1

[left]
path=c:\
ViewMode=-1
activepanelcolor=-1
activepanelcolor2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0

[right]
path=f:\
ViewMode=-1
activepanelcolor=-1
activepanelcolor2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0

[ViewModeSwitch]
Enabled=1
0_rules=+C:\*\
0_mode=0
1_rules=L
1_mode=1

[ViewModes]
0_name=<Standard>
0_icon=
0_options=-1|-1|0||-1|-1|-1
1_name=Folder
1_icon=
1_commands=cm_SrcAllFiles
1_options=-1|-1|0||-1|-1|-1
Replace [right]path=f:\ with any other harddisk but c:.
Replace [left]path=c:\ with path=c:\windows to see the cursor totally dissapear.
Last edited by petermad on 2021-05-30, 11:53 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
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Fixed in TC9b15, even though it is not mentioned in history.txt
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
Post Reply