Need a way to block the override of site-implemented contextmenu on Shift-Rightclick
Categories
(Firefox :: Menus, defect, P3)
Tracking
()
People
(Reporter: westk, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0
Steps to reproduce:
We have started using Microsoft Azure RDP instead of VMWare's VDI infrastructure, and Windows 11 requires a Shift-right-click to get to some features (Search for "Computer Management", right-click & select "Open file location", shift-right-click to get "Show more options", "Run as different user").
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0
Actual results:
Without the Shift-right-click, which is overridden by FF's context menu, you do not get the "Run as different user" option.
Expected results:
There should be a way to force FF to feed the Shift-rightclick to the web app instead of overriding it with a context menu. It doesn't matter if Microsoft is "breaking the web" by doing this; breaking the use of Microsoft products is not the way to fix that; it's just the way to make FF more irrelevant than it already has become. I'm now forced to use a different browser to do what I need to do.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Menus' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
For context, the original implementation is from bug 617528. To fix this we'd need to add some conditions at https://searchfox.org/mozilla-central/rev/b91e9bef5a6d6f7b549fbc9cba70cb4665ed3866/layout/base/PresShell.cpp#8318-8327 to skip the two assignments in the if block in some circumstances. The simplest solution would be a boolean pref, but perhaps a slightly better one would be adding a permission, so that any exception could be per-site (though there's an open question on how the UI/UX for that would work). Potentially either/both could be backed up by an enterprise policy which seems likely to be useful given comment 0's usecase.
Comment 3•2 years ago
|
||
Bug 1759303 added a preference to disable Shift+ContextClick. If that is sufficient, we can mark this as a duplicate.
Comment 4•2 years ago
|
||
(In reply to Neil Deakin from comment #3)
Bug 1759303 added a preference to disable Shift+ContextClick. If that is sufficient, we can mark this as a duplicate.
Thanks Neil! Yes, I think we should mark this as a dupe.
Description
•