[KDE/X11] Right click automatically selects context menu item on release
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: shico2000, Unassigned)
Details
Attachments
(3 files)
|
Right clicking on the image opens it in a new tab, or a new window, without showing the context menu
1.27 MB,
video/x-matroska
|
Details | |
|
267 bytes,
text/html
|
Details | |
|
257.34 KB,
video/webm
|
Details |
Steps to reproduce:
Right click to access the context menu on a web page
Actual results:
An item in the context menu automatically gets selected. If on a link it will open in a new window. If not on any element it will move back a page.
The issue happens when the context menu is too long. You can try it with a relatively small laptop monitor or something, and it usually happens with Google Images. Try to search for an image, click on one of them so that they enlarge, then right click on it while the mouse pointer is somewhat close to the upper bound of the screen. The context menu doesn't even appear, it just automatically selects whatever entry is beneath the cursor upon releasing the right click.
Preview:
https://streamable.com/bkiljn
Right clicking on the image opens it in a new tab, or a new window, without showing the context menu. Sometimes, it also selects Inspect (Q), and opens the developer tools.
Expected results:
The context menu should appear and stay visible waiting for a click
Comment 1•4 years ago
|
||
You're on Linux, right? What window manager and theme is this? Wayland or not? Snap/flatpak or regular build?
(I can't reproduce on macOS; this is something to do with the linux popup/widget implementation so over to a different component so other people can triage)
(In reply to :Gijs (he/him) from comment #1)
You're on Linux, right? What window manager and theme is this? Wayland or not? Snap/flatpak or regular build?
(I can't reproduce on macOS; this is something to do with the linux popup/widget implementation so over to a different component so other people can triage)
I'm on archlinux, KDE, X not Wayland, the theme is kvantum with MateriaDark, but I think it happens with all the themes. It's just the regular firefox installed through pacman, I haven't installed any snaps/flatpaks on this system.
Idk if this happens on Gnome or not, haven't tried it. But it happens only in specific positions, when the popup context menu doesn't have enough space to show up I think. It's why it only happens with images on the google search that are on the most right side, and upper top corner. It's an odd bug.
Comment 3•3 years ago
|
||
Hello shico2000! I have tried to reproduce the issue with firefox 106.0b4 and 105.0.1 on Ubuntu 22.04 unfortunately I wasn't able to reproduce the issue with images from google search.
Could you please answer the following question in order to further investigate this issue.
- Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
- Does this issue happen in the latest nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
- Do you have any addons installed if so can you list them?
- Yes
- Yes
- Yes
- Add custom search engine
- Basic JSON Formatter
- Bypass Paywalls Clean
- Dark Reader
- Dictionary Anywhere
- Facebook Container
- Firefox Relay
- KeePassXC-Browser
- LeetHub
- Tampermonkey
- TWP - Translate Web Pages
- Raindrop.io
- Stylus
- uBlock Origin
- Vimium C - All by Keyboard
- Windscribe - Free Proxy and Ad Blocker
Try installing some of them that add items to the context menu, I think it would help to reproduce the issue (which I believe to be the context menu being rendered just right beneath the mouse cursor and reading my right click as a second click hence selecting whatever item was beneath the cursor).
Some of the ones that add items are:
- Windscribe - Free Proxy and Ad Blocker
- Raindrop.io
- TWP - Translate Web Pages
- Firefox Relay
- uBlock Origin
Updated•3 years ago
|
Updated•3 years ago
|
Comment 5•2 years ago
|
||
This issue also occurs on GNOME/X11.
It may be due to the behavior in Linux desktop environments where releasing the right mouse button on a menu item activates it. In Firefox, under certain circumstances, menus are created below the cursor, leading to this issue.
For instance, when the menu height exceeds half the screen height (due to many menu items or a small screen resolution), right-clicking at half the screen height on the right side can easily result in accidental activation.
It is recommended to provide scrollbars for menus as needed or to display the menu to the left of the cursor when there is insufficient space to the right of the cursor.
Comment 6•2 years ago
|
||
Description
•