[Wayland] Popups/tooltips slide away from screen edge instead of flipping
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | affected |
People
(Reporter: heftig, Assigned: jhorak)
References
(Blocks 1 open bug)
Details
Attachments
(1 obsolete file)
When Firefox's popup and tooltip windows have to be moved to avoid the screen edge(s), they only get moved as little as possible until they're flush with the edge(s). This is a problem when the cursor is near the lower right corner and the window is slid below the cursor.
In this case a tooltip immediately disappears again (presumably because the browser window below it loses hover state). A popup menu will receive the mouse-button-up event from the click that opened it, which can activate one of the items.
For some reason the shell doesn't seem to do the anchor/gravity flipping that it prefers to do for popups and tooltips of normal GTK apps, which positions them on the other side of the cursor.
Firefox Nightly
GNOME Shell 3.34.3
Arch Linux
Reporter | ||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Let's do what most GTK apps do and use a size of 1x1.
Comment 3•4 years ago
|
||
See Bug 1623974 for related patch.
Updated•4 years ago
|
Reporter | ||
Comment 4•4 years ago
|
||
The popups flip now, but in the case of the lower-right corner (where the popup gets flipped across both axes) it is still placed just under the cursor. A right-click in the lower-right corner now activates the last item in the menu.
Updated•4 years ago
|
Comment 5•3 years ago
|
||
(In reply to Jan Alexander Steffens [:heftig] from comment #4)
The popups flip now, but in the case of the lower-right corner (where the popup gets flipped across both axes) it is still placed just under the cursor. A right-click in the lower-right corner now activates the last item in the menu.
This is tracked in bug 1661516, so closing.
Description
•