SOLVED - [11.02RC4] Content of Template for 'Change attributes' was removed - only title is left
Moderators: Hacker, petermad, Stefan2, white
SOLVED - [11.02RC4] Content of Template for 'Change attributes' was removed - only title is left
The following post is an extract from that post:
viewtopic.php?t=80379
[11.02RC4] Colour assignment only works partially
In TC 11.02RC4 x64, x86 I found the following:
Content of Template for 'Change attributes' was removed:
File provided with TC comment "✓".
Only the title of the original is left.
Button with command: OPENATTRIBUTES=NameOfTemplate_Change attributes does not work anymore.
; OPENATTRIBUTES=Comment-OKii_for_FilesFolders
See also:
Button to toggle comment in descript.ion?
Excerpts of HISTORY.TXT
German Umlauts (ä,ö,ü,Ä,Ö,Ü) and special character: ß (!)
viewtopic.php?t=80379
[11.02RC4] Colour assignment only works partially
In TC 11.02RC4 x64, x86 I found the following:
Content of Template for 'Change attributes' was removed:
File provided with TC comment "✓".
Only the title of the original is left.
Button with command: OPENATTRIBUTES=NameOfTemplate_Change attributes does not work anymore.
; OPENATTRIBUTES=Comment-OKii_for_FilesFolders
See also:
Button to toggle comment in descript.ion?
Excerpts of HISTORY.TXT
German Umlauts (ä,ö,ü,Ä,Ö,Ü) and special character: ß (!)
Last edited by tuska on 2023-10-29, 15:05 UTC, edited 1 time in total.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [11.02RC4] Content of Template for 'Change attributes' was removed - only title is left
Where is the bug? when you delete or rename the saved search, it will not work any longer. Isn't that expected? How should TC know what was there?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [11.02RC4] Content of Template for 'Change attributes' was removed - only title is left
wincmd.ini - section [attrplugin] currently shows the following:
What reason could I have had for renaming it?
Since the last bug fix on 6.10.2023 I no longer had any need for action.
Code: Select all
Kommentar_OK_f r_Dateien-Ordner=tc.comment := OK ; German umlaut "ü" missing: für -> BUG! --- The button works anyway ...
; Button: OPENATTRIBUTES=Kommentar_OK_f r_Dateien-Ordner ... WORKS!
Comment-OK_for_Files&Folders=tc.comment := OK ; OK
Comment-DEL_for_Files&Folders=tc.comment := "" ; OK
Comment-OKii_for_FilesFolders=?tc.comment := ? ; there should be a tick here: ✓ (Unicode)
; Button: OPENATTRIBUTES=Comment-OKii_for_FilesFolders ... BUG!
Since the last bug fix on 6.10.2023 I no longer had any need for action.
Re: [11.02RC4] Content of Template for 'Change attributes' was removed - only title is left
What is this question mark doing here?tuska wrote: 2023-10-29, 13:50 UTC Comment-OKii_for_FilesFolders=?tc.comment := ? ; there should be a tick here: ✓ (Unicode)
; Button: OPENATTRIBUTES=Comment-OKii_for_FilesFolders ... BUG!
I can confirm that if I put a question mark in such a place, the saved template disappear and only the title remain.
So i don't put such a sign.
P.S. probably another side effect of unproper ini file conversion.
Re: [11.02RC4] Content of Template for 'Change attributes' was removed - only title is left
I have now noticed the following:
My wincmd.ini from 7.10.2023 (backup) had coding "ANSI".
These files also had the coding "ANSI" at that time:
wincmd_Rename.ini
wincmd_Searches.ini
wincmd_Searches_Templates.ini
It is inexplicable to me how the file "wincmd.ini" was recoded to "UTF-8".
With the other three files, I can no longer determine the encoding at the time of the bug report,
because I have encoded all .ini files to "ANSI".
However, this caused the errors with the German umlauts, file attributes and missing plugins.
Conclusion:
After using the backup file "wincmd.ini" from 7.10.2023 everything works fine again.
I am very sorry for the inconvenience.
This is SOLVED.
My wincmd.ini from 7.10.2023 (backup) had coding "ANSI".
These files also had the coding "ANSI" at that time:
wincmd_Rename.ini
wincmd_Searches.ini
wincmd_Searches_Templates.ini
It is inexplicable to me how the file "wincmd.ini" was recoded to "UTF-8".
With the other three files, I can no longer determine the encoding at the time of the bug report,
because I have encoded all .ini files to "ANSI".
However, this caused the errors with the German umlauts, file attributes and missing plugins.
Conclusion:
After using the backup file "wincmd.ini" from 7.10.2023 everything works fine again.
I am very sorry for the inconvenience.

This is SOLVED.
Re: SOLVED - [11.02RC4] Content of Template for 'Change attributes' was removed - only title is left
Moderator message from: white » 2023-10-29, 15:08 UTC
Moved to English forum.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: SOLVED - [11.02RC4] Content of Template for 'Change attributes' was removed - only title is left
The wincmd.ini usually contains a line
SetEncoding=äö.do.not.remove
in ANSI (may look different in your language script) which is clearly NOT UTF-8, so notepad will not save the file as UTF-8 when it sees that line. I don't know how you managed to save the file as UTF-8, it shouldn't happen when you just save the file.
SetEncoding=äö.do.not.remove
in ANSI (may look different in your language script) which is clearly NOT UTF-8, so notepad will not save the file as UTF-8 when it sees that line. I don't know how you managed to save the file as UTF-8, it shouldn't happen when you just save the file.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: SOLVED - [11.02RC4] Content of Template for 'Change attributes' was removed - only title is left
Unfortunately, I can no longer remember when I might have made such a saving.ghisler(Author) wrote: 2023-10-30, 09:53 UTC I don't know how you managed to save the file as UTF-8, ...
To be on the safe side, I have now changed the default encoding in my text editors accordingly.