- Use these settings in Options->Refresh: https://ibb.co/f2y0VvR
- Go to a directory with one or more files.
- Sort by date (newest on top) and put the file cursor to any file in the list.
- Open another application that can create a file in the same directory (e.g. Explorer).
- Make sure that you can still see TC in the background including the file cursor.
- Create a new file in the other application (e.g. a text file in Explorer).
--> TC updates in background and shows the new file as first file in the file list (ok)
--> The file cursor jumps one file up (BUG)
Repeat this step to see the cursor jump again... - Bring TC to the foreground
--> The file cursor jumps back to the correct file.
[TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
Moderators: Hacker, petermad, Stefan2, white
[TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
TC 11.00b2 x32 dark mode / Win11
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
I assume that you have InactiveFocus=1 in your wincmd.ini, otherwise you can not see the cursor position when TC is not in focus.
I tried you steps, but can NOT reproduce the problem. I have testet in TC 11.00b2 32bit and 64bit under Windows 7 with clean ini files except for an added InactiveFocus=1 parameter, and because I could see from your screenshot that you use Dark mode, I also tested in Dark mode.
I tried you steps, but can NOT reproduce the problem. I have testet in TC 11.00b2 32bit and 64bit under Windows 7 with clean ini files except for an added InactiveFocus=1 parameter, and because I could see from your screenshot that you use Dark mode, I also tested in Dark mode.
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
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
Right, I forgot to mention. To be more precise:petermad wrote: 2023-05-11, 23:37 UTC I assume that you have InactiveFocus=1 in your wincmd.ini, otherwise you can not see the cursor position when TC is not in focus.
InactiveFocus=$0909090
InactiveFocusDark=$0909090
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
The inactive focus is NOT updated when using InactiveFocus=1 and TC doesn't have the focus, so it will remain at the position where it was before updating the list. I will consider updating it then too.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
Yes, seems so. It looks strange to have this "jumping" cursor.ghisler(Author) wrote: 2023-05-12, 10:20 UTC The inactive focus is NOT updated when using InactiveFocus=1 and TC doesn't have the focus, so it will remain at the position where it was before updating the list. I will consider updating it then too.
But more important: Sometimes it's important to see which file had the focus when TC was put in the background. In such cases, a wrong focus placement is confusing...
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
Hmm, I cannoy reproduce this. By me the inactive cursor(s) stays on their file when the new file is added from Explorer - see https://tcmd.madsenworld.dk/cursorupdateimbackground.mp4
This is with a fresh ini file just added InactiveFocus=1
This is with a fresh ini file just added InactiveFocus=1
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
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
This is strange. Here it is not only reproducible but has happened many times before (also before TC11.00b1).
@ghisler Can you comment on that?
I can also investigate a little more... but not before Sunday...
@ghisler Can you comment on that?
I can also investigate a little more... but not before Sunday...
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
2funkymonk
I have made another video with TC in dark mode: https://tcmd.madsenworld.dk/cursorupdateinbackgrounddark.mp4
I have made another video with TC in dark mode: https://tcmd.madsenworld.dk/cursorupdateinbackgrounddark.mp4
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
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
Well, I just did a quick test on two computers running TC11.00b2 x32 on Win10 and Win11b22621:petermad wrote: 2023-05-13, 00:58 UTC 2funkymonk
I have made another video with TC in dark mode: https://tcmd.madsenworld.dk/cursorupdateinbackgrounddark.mp4
With a TC ini that **only** contains
Code: Select all
[Configuration]
InactiveFocus=1
UseIniInProgramDir=7
WatchDirs=51
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
I just tried you ini file on two computers with Windows 7 and Windows 10 - but I still cannot reproduce a jumping inactive cursor.funkymonk wrote: 2023-05-13, 04:34 UTC Well, I just did a quick test on two computers running TC11.00b2 x32 on Win10 and Win11b22621:
With a TC ini that **only** contains
I can immediately reproduce the initially described behavior.Code: Select all
[Configuration] InactiveFocus=1 UseIniInProgramDir=7 WatchDirs=51
BTW, I changed the sortorder to Date before testing, so the test ini should rather look like:
Code: Select all
[Configuration]
InactiveFocus=1
UseIniInProgramDir=7
WatchDirs=51
[left]
sortorder=3
negative Sortorder=1
[right]
sortorder=3
negative Sortorder=1
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
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
Ok, but there is no need for this extended ini if you follow the initially described process (especially step 3) with the short ini.
Can anyone else confirm or not confirm the described problem?
(If I interpret @ghisler's post correctly, others should see the problem as well.)
Can anyone else confirm or not confirm the described problem?
(If I interpret @ghisler's post correctly, others should see the problem as well.)
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
2funkymonk
I am soo sorry
- I just re-read your first post and saw that it is for 32bit TC. I can confierm the Bug for 32bit TC for both Windows 7 and 10 with the suggested ini-file.
I did test it earlier (see second post), but at that time I could not reproduce it. Sorry for that!
I am soo sorry

I did test it earlier (see second post), but at that time I could not reproduce it. Sorry for that!
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
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
No problem. Thank you for taking the time.
I hope there will be a solution (since it bothers me from time to time).
I hope there will be a solution (since it bothers me from time to time).
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
15.05.23 Fixed: Auto-refresh when the file system changes didn't update the caret position when in background and a new file was created (32)
Confirmed fixed in TC11.00b3.
Thank you!
Confirmed fixed in TC11.00b3.
Thank you!
Re: [TC 11.00b2] File cursor jumps incorrectly when TC updates file list in background
Confirmed fixed in TC 11.00b3 32bithistory.txt wrote:15.05.23 Fixed: Auto-refresh when the file system changes didn't update the caret position when in background and a new file was created (32)

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