Every time the Tc runs, without changes the resolution section is writing accessed
Moderators: Hacker, petermad, Stefan2, white
Every time the Tc runs, without changes the resolution section is writing accessed
Every time the Tc runs, the corresponding resolution section ([1920x1080...] ... ... ...) is writing accessed, although nothing is changed. I have redirected all resolutions and the file constantly shows as changed even though the content is not changed. Please stop the disturbing behavior.
Joube
Joube
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Every time the Tc runs, without changes the resolution section is writing accessed
NOT confirmed. TC doesn't save its position on exit. I have tried it, the file doesn't change its last write date.
The section gets written when you use a dialog box which saves its position and size, e.g. the search dialog, or "change user menu". However, it only gets written when something changes. To check this, I have added
[1920x1080 (8x16)]
RedirectSection=1920x1080 (8x16).txt
to the wincmd.ini, and then checked whether the date or time of the file changed.
The section gets written when you use a dialog box which saves its position and size, e.g. the search dialog, or "change user menu". However, it only gets written when something changes. To check this, I have added
[1920x1080 (8x16)]
RedirectSection=1920x1080 (8x16).txt
to the wincmd.ini, and then checked whether the date or time of the file changed.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Every time the Tc runs, without changes the resolution section is writing accessed
- 9x redirected to wincmd-resolutions.ini.
- The content of the wincmd-resolutions.ini is the same, but the date time has been changed.
- The content of the wincmd-resolutions.ini is the same, but the date time has been changed.
Code: Select all
[AllResolutions]
redirectsection=wincmd-resolutions.ini
[1366x768 (10x20)]
redirectsection=wincmd-resolutions.ini
[1920x1080 (10x20)]
redirectsection=wincmd-resolutions.ini
[1600x900 (10x20)]
redirectsection=wincmd-resolutions.ini
[1366x768 (8x16)]
redirectsection=wincmd-resolutions.ini
[1920x1080 (8x16)]
redirectsection=wincmd-resolutions.ini
[1208x680 (8x16)]
redirectsection=wincmd-resolutions.ini
[1600x900 (7x16)]
redirectsection=wincmd-resolutions.ini
[1600x900 (8x16)]
redirectsection=wincmd-resolutions.ini
Code: Select all
[AllResolutions]
...
[1366x768 (10x20)]
...
[1366x768 (8x16)]
...
[1920x1080 (8x16)]
...
[1920x1080 (10x20)]
...
[1600x900 (10x20)]
...
[1208x680 (8x16)]
...
[1600x900 (7x16)]
...
[1600x900 (8x16)]
...
Re: Every time the Tc runs, without changes the resolution section is writing accessed
2JOUBE
Does this also happen if all you do is start TC, close TC and start TC again?
Does this also happen if all you do is start TC, close TC and start TC again?
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: Every time the Tc runs, without changes the resolution section is writing accessed
No, but if I use the Sync-Tool it happens. File has same content!petermad wrote: 2023-11-03, 15:58 UTC 2JOUBE
Does this also happen if all you do is start TC, close TC and start TC again?
Re: Every time the Tc runs, without changes the resolution section is writing accessed
I can confirm that opening and closing the Sync tool without doing anything else updates ini file with redirected sections like: [AllResolutions] and [1920x1080 (8x16)].
The same applies to the Multi-Rename Tool.
But opening and closing all the dialogs in this list does not cause re-writing of the ini file:
Compare*
Connect*
CustColumn*
DriveSel*
MenuChange*
PluginSel*
Print*
Search*
SelectDuplicates*
TreeDlg*
So the problem is restricted to the Sync Tool and the Multi-Rename Tool
The same applies to the Multi-Rename Tool.
But opening and closing all the dialogs in this list does not cause re-writing of the ini file:
Compare*
Connect*
CustColumn*
DriveSel*
MenuChange*
PluginSel*
Print*
Search*
SelectDuplicates*
TreeDlg*
So the problem is restricted to the Sync Tool and the Multi-Rename Tool
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: Every time the Tc runs, without changes the resolution section is writing accessed
Thanks for testing. It is a annoying problem/bug, as nothing is changed in the affected sections.petermad wrote: 2023-11-03, 20:45 UTC I can confirm that opening and closing the Sync tool without doing anything else updates ini file with redirected sections like: [AllResolutions] and [1920x1080 (8x16)].
The same applies to the Multi-Rename Tool.
But opening and closing all the dialogs in this list does not cause re-writing of the ini file:
Compare*
Connect*
CustColumn*
DriveSel*
MenuChange*
PluginSel*
Print*
Search*
SelectDuplicates*
TreeDlg*
So the problem is restricted to the Sync Tool and the Multi-Rename Tool
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Every time the Tc runs, without changes the resolution section is writing accessed
Thanks, that was very helpful: The only difference between these dialogs is that the two where it gets written save tabstops for the list window. Apparently windows writes that line even when it's not different. I have now changed it to reload the value first, check if it's different, and only write it when it is really different.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Every time the Tc runs, without changes the resolution section is writing accessed
Thanks, I will test it in the next Release Candidate.ghisler(Author) wrote: 2023-11-05, 08:55 UTC I have now changed it to reload the value first, check if it's different, and only write it when it is really different.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Every time the Tc runs, without changes the resolution section is writing accessed
This should be fixed in RC6, please test it!
05.11.23 Fixed: Synchronize dirs, multi-rename tool: The tab positions were always written to the settings file even if they didn't change (32/64)
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Every time the Tc runs, without changes the resolution section is writing accessed
Yes, it is fixed in TC11.02RC6. Many thanks for that! (Tested both TC32 and TC64.)ghisler(Author) wrote: 2023-11-06, 15:39 UTC This should be fixed in RC6, please test it!05.11.23 Fixed: Synchronize dirs, multi-rename tool: The tab positions were always written to the settings file even if they didn't change (32/64)
Joube
Re: Every time the Tc runs, without changes the resolution section is writing accessed
Moderator message from: white » 2023-11-06, 19:02 UTC
Moved to Fixed bugs.
Re: Every time the Tc runs, without changes the resolution section is writing accessed
Yes, confirmed fixed in TC 11.02rc6 

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: Every time the Tc runs, without changes the resolution section is writing accessed
It's really nice that this is fixed.