T.C. 10.51 x64: no more icons in menus (Known bug)

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

Moderators: white, Hacker, petermad, Stefan2

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: T.C. 10.51 x64: no more icons in menus

Post by *ghisler(Author) »

It's a known bug in caching TOTALCMD.INC not related to Wine. So far I could only reproduce it on Windows 8.1, and it happens when there are lines
userspec=<some value>
in [left] or [right] sections of wincmd.ini. Maybe removing these lines helps you too?
It also helps to switch to dark mode and back, which reloads the menu.
Author of Total Commander
https://www.ghisler.com
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Re: T.C. 10.51 x64: no more icons in menus

Post by *karlchen »

Hello, Christian.

Thank you very much for your reply.

About userspec= in [left] and [right] sections:

Present in both sections.

Code: Select all

[left]
path=Z:\
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
userspec=*.exe *.chm <=============== userspec= present
ViewMode=10001
activepanelcolor=-1
activepanelcolor2=-1
activepanelcolordark=-1
activepanelcolordark2=-1
[right]
path=Z:\home\karl\Dokumente\
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
userspec=*.doc *.odt <=============== userspec= present
ViewMode=10001
activepanelcolor=-1
activepanelcolor2=-1
activepanelcolordark=-1
activepanelcolordark2=-1
OK. I will try to remove them. Yet, I assume they may return, while using Total commander.

About switching to darkmode and back:
I will try this as well.

I'll report back.

Regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Re: T.C. 10.51 x64: no more icons in menus

Post by *karlchen »

Hello, Christian.

Result of switching to darkmode and back to normal mode:

Did not have the desired effect. T.C. 10.51 64-bit did not display the icons inside the 7 menus.


Result of removing userspec= from [left] and [right]:

Closed T.C. 10.51. 64-bit. Edited wincmd.ini and removed the 2 userspec= lines from the sections [left] and [right].
Launched T.C. 10.51 64-bit. Checked the 7 menus. The same icons are displayed as in T.C. 10.50 64-bit.
So, this workaround seems to have the desired effect.

Regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: T.C. 10.51 x64: no more icons in menus

Post by *Dalai »

Interesting. But where's the connection between totalcmd.inc and the userspec key in wincmd.ini? And what has it to do with caching the former? I don't get it.

Regards
Dalai
Last edited by Dalai on 2022-09-26, 14:39 UTC, edited 1 time in total.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Re: T.C. 10.51 x64: no more icons in menus

Post by *karlchen »

Hello, Dalai. Hello, Christian.

No idea. Christian may know.

Addendum:

The moment you define a userspec= entry either in the [left] panel or in the right [panel] using "Show" => "Custom (Ctrl+F12)", the running T.C. 10.51 64-bit instance will stop displaying any icons in the menus immediately.

What works without restarting T.C. 10.51 64-bit:
  • Remove the userpec= entry in the same way as you created it, i.e. by using using "Show" => "Custom (Ctrl+F12)"
  • Switch from normal mode to dark mode and back to normal mode again using "Configuration" => "Dark<=>Normal" twice.
    (Note: Without removing all userspec= entries first, mode switching will have no effect here. LM 19.3 64-bit / Wine 4.0)
Result:
The icons inside the menus are displayed again.

P.S.:
userspec=*.* does not seem to have any negative impact

Regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Re: T.C. 10.51 x64: no more icons in menus

Post by *karlchen »

Hello, Christian.
ghisler(Author) wrote: 2022-09-26, 13:08 UTC It's a known bug in caching TOTALCMD.INC not related to Wine. So far I could only reproduce it on Windows 8.1, and it happens when there are lines
userspec=<some value> in [left] or [right] sections of wincmd.ini.
Is there perhaps already a Total Commander bugfix release in the development pipeline, T.C. 10.51a or 10.52, where this issue will have been resolved? Or will we have to work around it until the next major release?

Regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: T.C. 10.51 x64: no more icons in menus

Post by *petermad »

ghisler(Author) wrote: 2022-09-26, 13:08 UTC It's a known bug in caching TOTALCMD.INC not related to Wine. So far I could only reproduce it on Windows 8.1, and it happens when there are lines
userspec=<some value>
I can confirm this under Window 8.1 - it only happens if cm_SrcUserSpec is used in the menu - not if cm_LeftUserSpec or cm_RightUserSpec is used.

A workaround is to remove the line:

Code: Select all

MENUITEM "*.*", cm_srcuserspec
from the used .mnu file and then make a buttonbar button with the cm_SrcUserSpec command instead for invoking the filter.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Re: T.C. 10.51 x64: no more icons in menus (Known bug)

Post by *karlchen »

Hello, petermad.

Your workaround indeed makes the symptoms of the underlying bug disappear.
I will use it for the moment, or to be precise, until the underlying bug has been fixed in a future Total Commander version.
The loss of convenience is pretty minor, because <Strg><F12> will display the currently set userspec=<user defined selection>. Press enter, done.

Thanks for sharing the workaround with me.
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: T.C. 10.51 x64: no more icons in menus (Known bug)

Post by *petermad »

history.txt wrote:23.09.22 Fixed: The main menu may not have icons in it when using certain options like a search filter in Show->Custom (64))
I can no longer reproduce this bug under Window 8.1 with TC 10.52.rc1 :-)
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Re: T.C. 10.51 x64: no more icons in menus (Known bug)

Post by *karlchen »

history.txt wrote:23.09.22 Fixed: The main menu may not have icons in it when using certain options like a search filter in Show->Custom (64))
Same positive result as petermad:
I can no longer reproduce this bug in T.C. 10.52.rc1 64-bit running on Linux Mint 19.3 xfce / Wine 4.0. :)
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: T.C. 10.51 x64: no more icons in menus (Known bug)

Post by *white »

Moderator message from: white » 2022-10-06, 12:08 UTC

Moved to Fixed bugs.
Post Reply