Hints and context menu not displayed correctly when enabling widget.wayland.fractional-scale on Wayland
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: postix, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0
Steps to reproduce:
- Firefox 118 and KDE Plasma 5.27.8 Wayland
- about:config: set widget.wayland.fractional-scale.enabled to true and restart the FF
- Go to [1] and hover the mouse over the reactions
- Right click somewhere in Firefox to open the context menu: Often it looks right, but in some cases the issue appears, so try it several times
Please also see the attached screen recording in the downstream bug report. [2]
[1] https://invent.kde.org/plasma/systemsettings/-/issues/15#note_775149
[2] https://bugs.kde.org/show_bug.cgi?id=475165
Actual results:
Context menus and hints are sometimes opened at a different location than the cursor position and are too small when using a non-integer scaling factor (of 1.25).
I have noticed that the context menu issues also appear with an integer scaling factor of 2.0 on Plasma's side, when enabling fractional scaling in FF.
According to David Edmundson, "the xdg_positioner.set_anchor_rect changes between these broken and correct cases even when clicking on the same place."
Expected results:
Context menus and hints also open at the cursor position and have a reasonable size, just as when having fractional scaling disabled in Firefox's advanced config.
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.
Updated•1 year ago
|
Description
•