Editing buttonbar, extra & needed
Moderators: white, Hacker, petermad, Stefan2
Editing buttonbar, extra & needed
An extra-ultra serious bug has been discovered, which needs immediate attention and resolution!
1. Add a button in the buttonbar
2. In the command, set an existing EXE
3. Enter a tooltip containing the & character (i.e. "Test1 & Test2")
4. Press OK to save the buttonbar
5. Rightclick on the button.
At this point, a menu appears which has as first item the tooltip of the button. This item appears as "Test1 _ Test2". Obviously when setting it, an extra & is needed.
I guess it can receive the priority it deserves (infinity -1 ).
P.S.: For some reason, this sounded a little familiar. Something similar has been reported before, and the search revealed this.
1. Add a button in the buttonbar
2. In the command, set an existing EXE
3. Enter a tooltip containing the & character (i.e. "Test1 & Test2")
4. Press OK to save the buttonbar
5. Rightclick on the button.
At this point, a menu appears which has as first item the tooltip of the button. This item appears as "Test1 _ Test2". Obviously when setting it, an extra & is needed.
I guess it can receive the priority it deserves (infinity -1 ).
P.S.: For some reason, this sounded a little familiar. Something similar has been reported before, and the search revealed this.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
What a bad one
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
Re: Editing buttonbar, extra & needed
There isn't any bug here, it is standard Windows menu behavior, Ampersand '&' is used to underline the letter comes after it, to show '&' itself, you must double it '&&'. If you are worry about that but want TC auto double '&' for you then how TC know if you want to underline the next letter or showing '&'?wanderer wrote:At this point, a menu appears which has as first item the tooltip of the button. This item appears as "Test1 _ Test2". Obviously when setting it, an extra & is needed.
Re: Editing buttonbar, extra & needed
IMO there is, but after reading your comment, it seems it's not as simple as i thought at first.ts4242 wrote:There isn't any bug here
If you put a single & in the tooltip, then when you mouseover the button, the & appears as normal text in the tooltip (as the user probably intended). If however you rightclick on the button, it appears as an underline, designating an access key. IMO TC should interpret it as plain text and double it in the menu, since the tooltip is meant to be plain text without access-key capabilities.
After what you said though, i can see some usefulness of working as an access key in the rightclick menu, however i think it was unintentional and i believe it's better to show it as the user intended (as plain text in the tooltip) rather than as an access key.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
Well said. In addition to that, in order to show the context menu of the button, you usually rightclick it with the mouse, so since the mouse is already over there, you can just click the first menu item and not use the access key. It could be considered a feature but i doubt anyone would use it that way...MVV wrote:Well, the question is: Do we want to have a feature to set shortcut for first menu item or not. I think we don't since this action may be accomplished by just clicking that buttonbar button w/o displaying its menu.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
Re: Editing buttonbar, extra & needed
IMHO tooltip should follow menu standard and not vice versa, as far as tooltip doesn't support underline then TC should hide one '&' and show double '&&' as one '&'wanderer wrote:IMO TC should interpret it as plain text and double it in the menu, since the tooltip is meant to be plain text without access-key capabilities.
Are you sure?wanderer wrote:i can see some usefulness of working as an access key in the rightclick menu,
Alt+Shift+F11> L/R Arrow> Context key> C
Re: Editing buttonbar, extra & needed
IIRC, tooltips work that way (& shown as & and not underline) since Windows 3.1, you wish for that to be changed now?ts4242 wrote:IMHO tooltip should follow menu standard and not vice versa, as far as tooltip doesn't support underline then TC should hide one '&' and show double '&&' as one '&'
I said i CAN (not can't) see some usefulness, so basically i see you have a point there.ts4242 wrote:Are you sure?wanderer wrote:i can see some usefulness of working as an access key in the rightclick menu,
You really use it that way?!?! Wow!, talk about keyboard addiction / mouse hate! (p.s. : just kidding here)ts4242 wrote:Alt+Shift+F11> L/R Arrow> Context key> C
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
Re: Editing buttonbar, extra & needed
The same is true for Windows menu, so changing now is bad too.wanderer wrote:IIRC, tooltips work that way (& shown as & and not underline) since Windows 3.1
Not me, but i asked why cm_FocusButtonBar exists?wanderer wrote: You really use it that way?!?! Wow!, talk about keyboard addiction / mouse hate! (p.s. : just kidding here)
Re: Editing buttonbar, extra & needed
ts4242 wrote:The same is true for Windows menu, so changing now is bad too.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.