Bug: Opening any menu in Epyrus by right-clicking also triggers a menu action in it

Board for discussions around the Epyrus mail and news client.

Moderator: athenian200

Kris_88
Board Warrior
Board Warrior
Posts: 1171
Joined: 2021-01-26, 11:18

Re: Bug: Opening any menu in Epyrus by right-clicking also triggers a menu action in it

Post by Kris_88 » 2023-09-27, 19:46

FireFox takes ('clicks') the context menu item under the mouse (if applicable) when the right mouse button is released after opening the menu on press.
As a result, I frequently accidentally navigate 'back' instead of opening the menu (visibly) at all, since I must slightly move the mouse down and to the right before releasing.
https://superuser.com/questions/1644079 ... mb-release
https://support.mozilla.org/en-US/questions/1180792
https://forums.opera.com/topic/50820/co ... -selecting

User avatar
Moonchild
Project founder
Project founder
Posts: 38922
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Bug: Opening any menu in Epyrus by right-clicking also triggers a menu action in it

Post by Moonchild » 2023-10-26, 16:35

In about:config:

ui.context_menus.after_mouseup

defaults to false (i.e. not after mouse-up, don't wait for it, open on mouse-down). Changing it to true fixes the issue, since the menu isn't open for mouse-up to select anything.

I still think it's weird that RMB-up acts like LMB-down if it is open, though. Within the same 'click' too.
This is probably a concession towards touch screens. tap-and-hold to spawn the menu, keep the finger down to select the entry, then release to "click"
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite