Open Bug 1792620 Opened 3 years ago Updated 3 years ago

Non-adjacent popups can't use move-to-rect

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 107
defect

Tracking

()

UNCONFIRMED

People

(Reporter: matt.fagnani, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0

Steps to reproduce:

I started Firefox Nightly 107.0a1 20220927213841 on Wayland in Plasma 5.25.5 in a Fedora 37 KDE Plasma installation. I clicked on the Bookmarks menu in the Menu bar.
I moved the cursor down to bookmarks folders which were roughly in the bottom third of the screen. I right clicked on those folders.

Actual results:

Context menus for bookmarks folders in the bottom third of screen were cut off by the bottom of the screen in Firefox Nightly 107.0a1 on Wayland. The lower the bookmarks folder was on the screen, the more of the context menu was truncated.
I noticed this problem when looking at Bug 1792125 because the context menus of bookmarks folders were being shown down and to the right of their correct positions. This problem still occurs even though Bug 1792125 was fixed.

This problem doesn't affect Firefox Nightly 107.0a1 20220927213841 on XWayland in the same desktop environment which shows those context menus for bookmarks folders in the lower third of the screen above the cursor. This problem doesn't affect 105.0.1 on Wayland in the same desktop with those context menus being shown higher up than for 107.0a1 20220927213841 on Wayland.

Expected results:

The context menus for bookmarks folders in the bottom third of the screen wouldn't be cut off by the bottom of the screen in Firefox Nightly 107.0a1 20220927213841.

Flags: needinfo?(matt.fagnani)

I'm attaching a recording of Firefox 109.0a1 20221124093251 on Wayland in Plasma 5.26.3 in Fedora 37 showing the problem in a different profile in which I made bookmarks folders named Folder 1 to Folder 20. When I right-clicked on Folder 14 to Folder 20, the context menus of the bookmarks folders were cut off by the bottom of the screen with less of the context menu being shown the lower the bookmarks folder was on the screen. This problem also happened with Firefox 109.0a1 20221124093251 on Wayland in GNOME 43.1 in Fedora 37.

Flags: needinfo?(matt.fagnani)

Yes. It's because latest popup window (empty) is not adjacent to the content menu. In such case we can't use move-to-rect as it violates Wayland protocol.

Blocks: wayland-popup
No longer blocks: wayland-kde
Priority: -- → P3
Summary: Context menus for bookmarks folders in the bottom third of the screen were cut off by the bottom of the screen in Firefox Nightly 107.0a1 on Wayland → Non-adjacent popups can't use move-to-rect
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: