Page 1 of 1

Right mouse button in context menu tabs

Posted: 2012-06-17, 23:40 UTC
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.

Posted: 2012-07-23, 07:30 UTC
by rsa
Does nobody else miss this feature?
Is there a chance to have it in TC 8.01?

Posted: 2012-07-23, 11:06 UTC
by umbra
Does nobody else miss this feature?
Not really. But I wouldn't mind having that possibility.

Posted: 2012-07-29, 11:30 UTC
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.

Posted: 2012-07-30, 03:09 UTC
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.

Posted: 2012-07-30, 06:22 UTC
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.

Posted: 2012-07-30, 09:46 UTC
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.

Posted: 2012-07-30, 15:38 UTC
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.

Posted: 2012-07-30, 15:52 UTC
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.

Posted: 2012-07-30, 16:22 UTC
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.

Posted: 2012-08-03, 15:42 UTC
by rsa
Perfect! Now the right mouse button is active in the context menu of the tabs of TC 8.01.
:D