[wayland] the context menu popup is unnecessarily resized
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: ales.astone, Unassigned)
References
(Blocks 1 open bug)
Details
Steps to reproduce:
In KDE Plasma, disable system titlebar and maximize the window;
Place the cursor at the very top edge of the screen;
Right click.
[ 721308.925] -> xdg_wm_base@31.create_positioner(new id xdg_positioner@64)
[ 721308.929] -> xdg_positioner@64.set_size(191, 114)
[ 721308.931] -> xdg_positioner@64.set_anchor_rect(1310, 0, 1, 1)
[ 721308.933] -> xdg_positioner@64.set_offset(-2, -2)
[ 721308.937] -> xdg_positioner@64.set_anchor(8)
[ 721308.939] -> xdg_positioner@64.set_gravity(8)
[ 721308.941] -> xdg_positioner@64.set_constraint_adjustment(61)
Firefox requests set_offset(-2, -2) AND set_constraint_adjustment(0b111101) meaning adjustment SLIDE_Y that would bring the popup back to a positive Y coordinate is explicitly disabled. So the popup gets vertically resized instead.
Actual results:
The popup is 1 pixel smaller than it contents, so it becomes scrollable
Expected results:
The popup could have naturally fit in the workspace without getting resized to scrollable
Comment 1•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
|
Description
•