Context menu appears in wrong position
Categories
(Firefox :: Menus, defect)
Tracking
()
People
(Reporter: jescuderopedrosa, Unassigned)
Details
In Firefox 147.0.1 (Ubuntu 24.04 LTS, wayland, hidpi, 200% scaling), opening a context menu anywhere in the page through a right click sometimes opens the menu in a completely wrong position (somewhere else in the window).
| Reporter | ||
Comment 1•10 months ago
|
||
Reported by other users:
https://www.reddit.com/r/firefox/comments/1qkp6ib/rightclick_context_menu_gone_nuts_on_ff147/
Comment 2•10 months ago
|
||
I read the details from reddit but still, I was not able to reproduce the issue on Ubuntu 24.04 using FF build 147.0.1 and zoom 200%.
Not sure if more details can be provided? Like is there a specific web page that does this, also does it reproduce on a new and empty profile?
Thank you.
| Reporter | ||
Comment 3•10 months ago
|
||
It can happen in any page, but I am not able to point out exactly what triggers it. In any page, usually the context menus appear correctly, but after some time or several right-clicks, they start appearing in the wrong position.
I have checked and it also happens with a new, clean profile.
To be more precise about the set up: fractional scaling is activated:
Firefox 147.0.1 (snap), Ubuntu 24.04 LTS, Wayland, two monitors, one at 100% and another at 200%, fractional scaling enabled.
I may be seeing the same thing (Ubuntu 24.04 LTS, wayland, no scaling). FF 147.0.01 snap.
Start FF in safe mode.
Right click on items on the front page. Context menu usually appears correctly. After approximately 5 to 10 tries, context menu shifts to top left of window and continues to be displayed in that location.
Switching to another tab and back seems to reset the context menu back to normal, until I've shown the context menu another 5-10 times, and then it returns to top left of window.
I'm having the same bug - Ubuntu 24.04 LTS, wayland, FF 147.0.2 (snap).
I'm also using two monitors, but I don't have fractional scaling enabled (both monitors are at 100%).
Bug still happens in safe-mode, and also happens with a new empty profile.
The problem occurs in any page (tested on reddit, duckduckgo, youtube, about:home, etc), and it usually occurs when right-clicking on a link that is next to any of the edges of the screen (or the firefox window, if its not maximized).
In FF 146:
- if I right-click somewhere next to the center of the screen, the context menu is drawn to the right and under the mouse cursor.
- If I right-click somewhere next to the edges of the screen/window, the context menu is drawn to the left or above the mouse cursor, so that the menu can be fully visible (normal behavior).
In FF 147:
- If I right-click somewhere next to the center of the screen: same as FF 146.
- If I right-click somewhere next to edges of the screen: the context menu is not fully visible where it normally would be (closer to the mouse cursor), instead being drawn at the upper left corner of the screen.
The problem, however, is that the bug seems to happen randomly, so it's hard to reproduce.
https://www.reddit.com/r/firefox/comments/1qq1a4k/strange_bug_with_context_menus_since_1470/
Comment 6•10 months ago
|
||
Thanks for the report! This sounds like a duplicate of bug 2003045. There's a fix available in Nightly and Beta builds already and we expect that fix to make it into a stable release next week.
Description
•