Ampersand does not underline letter in Directory hotlist

Please report only one bug per message!

Moderators: sheep, Hacker, Stefan2, white

User avatar
Vochomurka
Power Member
Power Member
Posts: 779
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Ampersand does not underline letter in Directory hotlist

Post by *Vochomurka » 2019-03-15, 19:49 UTC

TC help wrote:A & sign causes the letter behind it to be underlined
Bad news: I have not noticed any underlining. Good news: pressing the letter behind "&" does execute the corresponding command.
Windows 7x64. TC 9.20b6 both 32 & 64 bit. Clean ini.
Please confirm
Single user license #329241
PowerPro scripts for Total Commander

User avatar
Dalai
Power Member
Power Member
Posts: 6447
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Ampersand does not underline letter in Directory hotlist

Post by *Dalai » 2019-03-15, 19:57 UTC

Do you see the underlined characters when you open the directory hotlist with the keyboard via Ctrl+D?

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
ts4242
Power Member
Power Member
Posts: 2025
Joined: 2004-02-02, 20:08 UTC
Contact:

Re: Ampersand does not underline letter in Directory hotlist

Post by *ts4242 » 2019-03-15, 20:22 UTC

2Vochomurka

What about Windows setting for access keys https://www.groovypost.com/howto/make-windows-underline-menu-shortcut-keys/

Author of Ultra TC Editors
Please support me

User avatar
Dalai
Power Member
Power Member
Posts: 6447
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Ampersand does not underline letter in Directory hotlist

Post by *Dalai » 2019-03-15, 21:13 UTC

2ts4242
That was more or less what I was getting at. But, it's independent of this system option if a menu is opened via the keyboard, because then the underlined characters are shown either way.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
Vochomurka
Power Member
Power Member
Posts: 779
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Re: Ampersand does not underline letter in Directory hotlist

Post by *Vochomurka » 2019-03-16, 04:29 UTC

2Dalai
Yes, I do. I didn't know about it before. Thank you.

2ts4242
There is no such option in Windows 7. Thank you, too
Single user license #329241
PowerPro scripts for Total Commander

User avatar
ts4242
Power Member
Power Member
Posts: 2025
Joined: 2004-02-02, 20:08 UTC
Contact:

Re: Ampersand does not underline letter in Directory hotlist

Post by *ts4242 » 2019-03-16, 05:28 UTC

Vochomurka wrote:
2019-03-16, 04:29 UTC
2ts4242
There is no such option in Windows 7. Thank you, too
I'm sure that option is exist in Windows 7 and even in older XP, https://lifehacker.com/have-keyboard-shortcuts-always-show-in-windows-menus-397192

Author of Ultra TC Editors
Please support me

User avatar
Dalai
Power Member
Power Member
Posts: 6447
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Ampersand does not underline letter in Directory hotlist

Post by *Dalai » 2019-03-16, 15:05 UTC

Vochomurka wrote:
2019-03-16, 04:29 UTC
2Dalai
Yes, I do. I didn't know about it before. Thank you.
OK, to summarize: You see the underlined characters when you open the menu via keyboard (Ctrl+D) but you don't see them when you open the menu with the mouse. Correct? If so, it's the option mentioned by ts4242, which definitely exists in Windows 7. Even XP has this option (and Win2k, too, IIRC), but it's in a different location there (no wonder, we are talking about MS software...).

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
Vochomurka
Power Member
Power Member
Posts: 779
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Re: Ampersand does not underline letter in Directory hotlist

Post by *Vochomurka » 2019-03-17, 04:08 UTC

I have finally found this checkbox: Ease of Access Center \ Make the keyboard easier to use \ Underline keyboard shortcuts and access keys
Single user license #329241
PowerPro scripts for Total Commander

User avatar
MVV
Power Member
Power Member
Posts: 8223
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Ampersand does not underline letter in Directory hotlist

Post by *MVV » 2019-03-18, 06:31 UTC

I don't see underscores even with this option enabled (it is one of strange Windows options that I always enable and don't understand who on the Earth may want to disable it) when I press hotlist button with mouse, but I do see them when I press Ctrl+D. I see underscores in TC main menu always, and I see underscores in Notepad menu w/o any keyboard presses.
W/o mentioned option the behavior in TC is the same, but Notepad shows underscores only when I open menu with keyboard.
So it seems that TC hotlist menu ignores this setting... And it seems that this behaviour is quite old, I've checked with 9.22rc2 32/64 bit and 9.0 32/64 bit in Windows 7x64 Enterprise.

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

Re: Ampersand does not underline letter in Directory hotlist

Post by *ghisler(Author) » 2019-03-18, 15:21 UTC

This is a Windows misfeature: The underlines are only shown when opening menus with the keyboard. Ctrl+D works here, but clicking on the directory hotlist button doesn't display the underlines.
Author of Total Commander
http://www.ghisler.com

User avatar
Dalai
Power Member
Power Member
Posts: 6447
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Ampersand does not underline letter in Directory hotlist

Post by *Dalai » 2019-03-18, 15:44 UTC

2ghisler(Author)
Well, you're right when talking about the default setting. But when you enable mentioned system option, the underlines are always shown - or they should be at least.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
MVV
Power Member
Power Member
Posts: 8223
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Ampersand does not underline letter in Directory hotlist

Post by *MVV » 2019-03-19, 05:43 UTC

ghisler(Author),
Please check e.g. in Notepad, it does underline shortcuts in context menu when you press right mouse button... And also try opening file context menu in TC by clicking/holding RMB, shortcut keys are underlined...

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

Re: Ampersand does not underline letter in Directory hotlist

Post by *ghisler(Author) » 2019-03-19, 10:22 UTC

2MVV
When I enable the option "Underline hotkeys, if available" in Windows 10, then the entries in the TC menus are all underlined too, also in the Ctrl+D menu when invoking it with the mouse. I tested this with both the 32-bit and 64-bit version on Windows 10.
Author of Total Commander
http://www.ghisler.com

User avatar
MVV
Power Member
Power Member
Posts: 8223
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Ampersand does not underline letter in Directory hotlist

Post by *MVV » 2019-03-19, 11:06 UTC

Well, it is strange but regardless of mentioned option under Windows 10 I always have shortcuts underlined in hotlist menu (while main menu items change underlining w/o restarting TC when I switch option). But it is not so under Windows 7.

User avatar
Dalai
Power Member
Power Member
Posts: 6447
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Ampersand does not underline letter in Directory hotlist

Post by *Dalai » 2019-03-19, 15:27 UTC

Maybe it's a bug in the graphics drivers? IIRC I read something about this relation somewhere.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

Post Reply