Closed Bug 1614062 Opened 4 years ago Closed 3 years ago

[Wayland] Popups/tooltips slide away from screen edge instead of flipping

Categories

(Core :: Widget: Gtk, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1623974
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

Looks like a mutter bug, Jhorak?

Assignee: nobody → jhorak
Summary: Popups/tooltips slide away from screen edge instead of flipping → [Wayland] Popups/tooltips slide away from screen edge instead of flipping

Let's do what most GTK apps do and use a size of 1x1.

See Bug 1623974 for related patch.

Attachment #9134987 - Attachment is obsolete: true

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.

Blocks: wayland-popup
No longer blocks: wayland

(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.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: