[wayland] Context menu for top edge of titlebar is too small and scrolls when window is at top of screen
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | wontfix |
firefox124 | --- | wontfix |
firefox125 | --- | wontfix |
firefox126 | --- | fix-optional |
firefox127 | --- | fix-optional |
People
(Reporter: julien.falque, Assigned: emilio)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression)
Attachments
(5 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Steps to reproduce:
On a Gnome desktop (Arch Linux, Wayland), I have a tiled Firefox window on the left half of the screen and I make a right-click on the very top pixel of the titlebar of the window, so at the top edge of the screen. It doesn't matter whether there is a tab at that position.
Actual results:
The context menu is slightly folded, hiding the last item behind a down arrow. Actually, the menu appears unfolded for a very short but still noticeable time, and then gets folded.
Expected results:
The context menu should always appear unfolded as there's enough room to display the menu entirely.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•10 months ago
|
||
Please attach your about:support page.
Can you please run Firefox on terminal as:
MOZ_LOG="WidgetPopup:5" firefox > run.txt 2>&1
reproduce it and attach the log here?
Thanks.
Reporter | ||
Comment 3•10 months ago
|
||
Reporter | ||
Comment 4•10 months ago
|
||
This occurs on Ubuntu 23.10 (Wayland) when the CSD titlebar is against the top bar. It does not happen with XWayland.
The first right-click on the top edge of a new window shows a context menu with 4 visible items, subsequent clicks show 7 visible items (menu contains a total of 8 items). In the latter case, the menu scroll distance is only 2px. The popup is positioned vertically 2px closer to the cursor after the regression.
Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=08eb1047d841ce4f1fcee1595dc4ec7ed8cba8f5&tochange=28da4138ddff87ff0684b274db911cd4b602ac92
Possibly regressed by Bug 1738265.
Comment 7•10 months ago
|
||
:emilio, since you are the author of the regressor, bug 1738265, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 8•10 months ago
|
||
Otherwise we get a smaller final rect from move-to-rect.
Updated•10 months ago
|
Assignee | ||
Updated•10 months ago
|
Comment 9•9 months ago
|
||
Set release status flags based on info from the regressing bug 1738265
Updated•9 months ago
|
Updated•9 months ago
|
Description
•