Right mouse button in context menu tabs

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
rsa
Junior Member
Junior Member
Posts: 57
Joined: 2003-11-19, 20:41 UTC

Right mouse button in context menu tabs

Post by *rsa »

It would be nice to have the right mouse button active in the context menu of the tabs.
I often duplicate a tab (as it can be done with Ctrl+T) and I usally use the mouse, so I make a right click in the tab and get the context menu of tabs. In this context menu the richt mouse button is not active so I have to use the left mouse button. This means I have to use the rigth mouse button first an then the left button.
I usally use the right mouse button to select an entry of a context menu in other applications.
In Total Commander the right mouse button is active in context menus generally but not in the context menu of tabs. Please make it work also in the tabs context menu.
rsa
Junior Member
Junior Member
Posts: 57
Joined: 2003-11-19, 20:41 UTC

Post by *rsa »

Does nobody else miss this feature?
Is there a chance to have it in TC 8.01?
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Does nobody else miss this feature?
Not really. But I wouldn't mind having that possibility.
Windows 10 Pro x64, Windows 11 Pro x64
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

rsa
24.07.12 Fixed: Tab context menu didn't react to right mouse button 2click on a menu item (32/64)
Try TC 8.01 rc5, if it does what you expect.

2ghisler
While, literally speaking, the context menu now accepts a right click, it's not what I expected. The current behavior of a button bar or a file panel (with NC-style mouse enabled) is that you can press the right mouse button and keep it pressed, move mouse over a desired option in a shown menu and then release the right button to select the option.
You can't do that in tab bar, because the context menu won't show until you release the right mouse button. This also applies to file panel with disabled NC-style mouse.
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2umbra
So what you want, is that the tab menu (and file panel context menu) pops up when the right mouse button is pressed down in stead of when it is released - I can support that.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Agree, it may be nice to show context menu on press mouse button and not on release. Many other menus work in such way.
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Exactly. Personally, I rarely use context menus. But I know a few people, who would like to see this feature in all places of TC. Plus, unifying context menu behaviors throughout the program is not bad either.
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Context Menu on RMB down is not standard at all.
Every single editor and other program I use does not display a context menu until the RMB has been released. And it's activated solely on the "UP Message".

Further, TC uses RMB for selections.

The fact that TC will show a context menu without releasing the RMB is a bug IMHO, and requires workarounds with AHK to make the mouse work properly/consistently.

Using TC with a mouse requires workarounds in many areas, as it does things it's own way instead of how you would expect.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

The fact that TC will show a context menu without releasing the RMB is a bug IMHO, and requires workarounds with AHK to make the mouse work properly/consistently.
If that is the case, then RMB menu for buttonbar and drivebuttons should be changed to react on mouse button release in stead.

Are there other places that RMB works on buttondown? - except for RMB in the file panels, when Mouse selection mode is set to NC-style - it cannot be avoided here.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

I've forced TC to not show a ContextMenu in the file-panels until the button is released.
When the RMB is pressed, if the active control is a file-panel I move the mouse-pointer 5 pixels to the right.
--- This prevents the context menu.
--- This still allows you to select files (or unselect files) while RMB is down.

When RMB is released, I check if the mouse-pointer is relatively in the same place as it was when it was pressed (give or take ~5 pixels up/down). If it is, as soon as the RMB is released the context menu is displayed ... otherwise it is not displayed.

Thus I can have a context menu immediately RMB down/up. Without TC's supposed required delay - to enable NC style select.
That delay is not necessary.

A few other things need to be done, such as forcing the file where the cursor is to be selected, when RMB is released (on a valid context menu). AFAIK I've duplicated TC's normal file-selection process (when you press and hold RMB), except it works by just 'clicking' (up/down) RMB as in most every other program I know of.

TC could do this natively: Show the context menu on RMB up - if the mouse pointer is relatively in the same place (a few pixels in either direction, to account for "jitter") when RMB was pressed.
rsa
Junior Member
Junior Member
Posts: 57
Joined: 2003-11-19, 20:41 UTC

Post by *rsa »

Perfect! Now the right mouse button is active in the context menu of the tabs of TC 8.01.
:D
Post Reply