Saved searches load partially
Moderators: white, Hacker, petermad, Stefan2
Saved searches load partially
TC 9.20 beta 5, beta 6 and RC 1 loads only about 35-36 first saved searches - depends on length - on Load/Save page of "Find Files" and "Show" - "Custom" dialog window (Ctrl+F12).
Betas 1-4 works correctly with exactly the same INIs.
Both 32 and 64 bits versions works the same way.
Windows 10 Home x64, Spring Creators 2018, Build 17134.112
Betas 1-4 works correctly with exactly the same INIs.
Both 32 and 64 bits versions works the same way.
Windows 10 Home x64, Spring Creators 2018, Build 17134.112
Last edited by Gral on 2018-06-14, 21:07 UTC, edited 1 time in total.
I cannot confirm this. Tested with TC 9.20rc1 under Windows 7 and 10 (1803, 17124.81)
Maybe you got an erroneous entry in your [Searches] section
Maybe you got an erroneous entry in your [Searches] section
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
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
I don't think so - as i wrote beta 4 and all earlier versions works correctly.petermad wrote:I cannot confirm this. Tested with TC 9.20rc1 under Windows 7 and 10 (1803, 17124.81)
Maybe you got an erroneous entry in your [Searches] section
But i realized today - maybe new Windows build updated this morning, about 9.50, causes this?
More info - first post edited
I have now updated my Window 10 to build 17134.112 and I still cannot reproduce the problem with TC 9.20rc1 x64
I have 38 saved Searches.
The total [Searches] section takes up 6147 bytes.
The longest line in the section is 282 bytes long.
My wincmd.ini is encoded in ANSI, codepage 1252.
I have 38 saved Searches.
The total [Searches] section takes up 6147 bytes.
The longest line in the section is 282 bytes long.
My wincmd.ini is encoded in ANSI, codepage 1252.
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
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
After doubleing the size of my searches I can now confirm the bug.
In TC 9.20 b5, b6 and rc1 only 47 of my 75 searches are shown - equal to 7767 bytes.
This is tested under Window 7 - so the bug is not OS-related.
The tested wincmd.ini file is only 40459 bytes, so it can not be a problem with a too big ini file.
In TC 9.20 b5, b6 and rc1 only 47 of my 75 searches are shown - equal to 7767 bytes.
This is tested under Window 7 - so the bug is not OS-related.
The tested wincmd.ini file is only 40459 bytes, so it can not be a problem with a too big ini file.
Notice that the order of the searches in wincmd.ini is not necessarily the same as in the list shown in TC (the list in wincmd.ini is not alphabetically sorted).truncated to match loaded part - 6767 bytes
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
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
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I could repeat it too, thanks. It happens because TC 9.20 now supports Unicode names for searches when the ini file is stored as UTF-16 Unicode. The conversion from ANSI to Unicode for plain text ini files uses only a 4kByte buffer. I will change that to a dynamically allocated buffer when the Unicode buffer is larger too.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: