[Wayland] xdg_popup (menu) fails to show/move when positioned by gtk_window_move()
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox-esr102 | --- | unaffected |
firefox103 | --- | unaffected |
firefox104 | --- | unaffected |
firefox105 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug, Regression, )
Details
(Keywords: regression)
Attachments
(5 files)
Popups with remote content positioned by gtk_window_move() doesn't show child popups.
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Set release status flags based on info from the regressing bug 1760276
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
The bug here is caused by GDK_WINDOW_TYPE_HINT_UTILITY -> GDK_WINDOW_TYPE_HINT_POPUP_MENU switch. GDK_WINDOW_TYPE_HINT_POPUP_MENU needs extra hide/show cycle when it's positioned by gtk_window_move().
Assignee | ||
Comment 4•2 years ago
|
||
https://gitlab.gnome.org/GNOME/gtk/-/issues/5089 is related.
Assignee | ||
Comment 5•2 years ago
•
|
||
As a workaround we need to use move-to-rect for popups attached to another popups - so we can't use subsurface popups.
Assignee | ||
Comment 6•2 years ago
|
||
Extra hide/show needed for gtk_window_move() produces extra flickering so avoid it if possible.
Updated•2 years ago
|
Assignee | ||
Comment 7•2 years ago
|
||
Depends on D154879
Assignee | ||
Comment 8•2 years ago
|
||
Due to https://gitlab.gnome.org/GNOME/gtk/-/issues/5089 we can't use fast popup placement for nested popups.
Only first popup can be placed by gtk_window_move().
Depends on D154880
Assignee | ||
Comment 9•2 years ago
|
||
Remove outdated check for move-to-rect. It's redundant and it's implemented in more complex way by nsWindow::WaylandPopupCheckAndGetAnchor() now.
Depends on D154881
Comment 10•2 years ago
|
||
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/d74ad17ab62b [Wayland] Don't hide & position popups which are on correct position r=emilio https://hg.mozilla.org/integration/autoland/rev/d619864bd63e [Wayland] Implement nsWindow::WaylandPopupIsFirst() helper to check popup state in popup hierarchy r=emilio https://hg.mozilla.org/integration/autoland/rev/f37681634e20 [Wayland] Allow to use fast popup placement (without move-to-rect) for first popup only due to mutter bug r=emilio https://hg.mozilla.org/integration/autoland/rev/406524c83203 [Wayland] Remove outdated check for move-to-rect r=emilio
Comment 11•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d74ad17ab62b
https://hg.mozilla.org/mozilla-central/rev/d619864bd63e
https://hg.mozilla.org/mozilla-central/rev/f37681634e20
https://hg.mozilla.org/mozilla-central/rev/406524c83203
Description
•