[wayland] Bookmark toolbar folders located on the left side of the window have a misaligned drop indicator during drag operations
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox107 | --- | verified |
People
(Reporter: ke5trel, Assigned: stransky)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
STR:
- Start with
MOZ_ENABLE_WAYLAND=1
on Ubuntu 22.04. - Create a bookmark toolbar folder with a long list of items.
- Position the folder on the left-most side of the toolbar.
- Open the folder and drag bookmarks around, moving the cursor over the lower-right region of the popup.
The drop indicator/location is vertically offset above the cursor by four items when the cursor is on the right side of the popup and sufficiently low enough. The width of the affected region shrinks for popups further from the left side of the window.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Due to https://gitlab.gnome.org/GNOME/gtk/-/issues/4437 / Bug 1710344 we need to add popup window position to D&D coordinates provided by Gtk.
In this patch always use GdkWindow derived from mShell which is attached to parent window.
Don't use GdkWindow of mContainer which is nested child window and it's positioned at 0,0.
Updated•2 years ago
|
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/2badfb13cc06 [Wayland] Use mShell Gdk window position for D&D r=emilio
Comment 4•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Comment 5•2 years ago
|
||
I managed to reproduce this issue on a 2022-09-20 Nightly build(Wayland session) on Ubuntu 22 using the STR from the Description. Verified as fixed on Firefox 107.0b3(build ID: 20221020202724) and Nightly 108.0a1(build ID: 20221020215126).
Description
•