Toolbar tooltip not hiding after closing context menu

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
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Toolbar tooltip not hiding after closing context menu

Post by *DrShark »

From russian forum:

1. Set focus on button bar using Alt+Shift+F11 or cm_FocusButtonBar.
Tooltip over button (by default "Reread source") will shown.

2. Call context menu using Context menu key on keyboard.

3. Set focus to something (for example file panel) using mouse (this will also close the context menu)
-> tooltip over button bar still shown.

If you'll try to use mouse to call context menu in 2nd step (this automatically means that focus on button bar itself will be set by mouse), tooltip is hiding immediately.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

The same bug, but with "Subbar as menu" instead of context menu:

1. Make a button from *.bar file: drag&drop a bar file (for testing renamed DEFAULT.BAR may be used) to a button bar. Make this button first (most-left) in button bar.
Go to button's properties (context menu->Change...) and check the "Show as menu" option.

2. Execute cm_FocusButtonBar or press Alt+Shift+F11, then press Enter key. The subbar as menu will appear.

3. Set focus to something (for example file panel) using mouse (this will also close the context menu)
-> tooltip over button bar still shown.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48094
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I cannot fix this small problem, sorry. The problem is that you open the menu via keyboard, but close it via mouse. TrackPopupMenu doesn't inform me that the menu was closed via mouse. You will see the toolbar hint only for about 2 seconds, then it will go away automatically.
Author of Total Commander
https://www.ghisler.com
Post Reply