Using cm_SrcUserSpec=313 in menu produces strange effect

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Using cm_SrcUserSpec=313 in menu produces strange effect

Post by *Horst.Epp »

Using cm_SrcUserSpec in a menu line like this
MENUITEM "Last selected", 313
produces an unwanted effect.
It doesn't show the configured text in the menu, instead it shows the real last selection.
If this was a very long line the whole menu right border is shifted to the far right depending on the length of the string.
For me the menu text should never be replaced by any content.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Using cm_SrcUserSpec=313 in menu produces strange effect

Post by *petermad »

It has been like that for decades.
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
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Using cm_SrcUserSpec=313 in menu produces strange effect

Post by *Horst.Epp »

petermad wrote: 2022-04-17, 23:19 UTC It has been like that for decades.
Yes, but now I had a very long selection and the menu border was on the right end of my large screen.
I don't see it logical to change the menu text with the selection.
The active selection can always be seen on the top.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Using cm_SrcUserSpec=313 in menu produces strange effect

Post by *petermad »

2Horst.Epp
It is nice to be able to see the filter that will be used before you click on it.

But it could be a good idea to truncate filters longer than 40 or 50 characters in the menu
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
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Using cm_SrcUserSpec=313 in menu produces strange effect

Post by *Horst.Epp »

Truncation would help.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Post Reply