[Wayland] right click context menu gets cut when below about half screen
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: correosinuso23, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0
Steps to reproduce:
(this is on wayland with fractional scaling at 1.25)
right click around the middle of the screen
Actual results:
sometimes the context menu gets cut at the bottom
it cuts one or more elements of the menu
Expected results:
either show the corresponding elements or show an arrow to scroll to them
Comment 2•2 years 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.
Updated•2 years ago
|
So I came back to test the waters on Linux again and I've noticed 2 things about this bug... I'm not so sure this is a problem of gtk fractional scaling?
First I noticed this happens on kde Plasma, both 5 & 6 but not on Gnome (at least on 46), don't know about other DEs, on Gnome whilst sometimes the context menus do some weird things they still show the arrow to expand, instead of just cutting out
Also I've noticed this does not happen on Firefox ESR (I noticed this whilst testing Floorp, looking why would this be the case I ended up learning about ESR)
Lastly, I found a workaround: setting widget.gtk.native-context-menus to true in the about:config fixes this problem.
widget.gtk.native-context-menus has a lot of other problems, so it doesn't really fixes this one. But I want to confirm this seems to be a problem in KDE (or QT) specifically, both gnome and cosmic doesn't have this problem.. at least not in this way.
On Gnome and Cosmic the problem somewhat happens but in a different way, the menus auto adjust to the smaller size and then go back to the supposed size once you hover on one of the arrows (top or bottom), in KDE on the other side, the menu is always expanded but (about) half of it is not rendered (you still can interact with the items in it).
I don't think this is entirely related to gtk fractional scaling tho, as OP commented, this used to not happen in ESR (it does happen now), did firefox had some changes in the way sub menus render for gnome? should this be brought up to KDE?
Updated•2 years ago
|
Comment 5•1 year ago
|
||
Can you please re-test with latest nightly?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_Nightly_binaries
Thanks.
Hi I tested it and it seems to be solved, it mostly just flickers when it render, like it's doing it twice? but it shows completely most of the time (I'd say like 98% of the time).
Even when I manage to trigger the previous problem, it now renders like it does in gnome, with the little arrow below that let's you expand the menu.
Updated•1 year ago
|
Description
•