only bring toplevels to front#2716
Conversation
2e95a94 to
e6ad62e
Compare
|
The fix is weird because what you describe is a bug related to subsurface ordering, and the patch that you have will make a difference only if we have dialogs. Can you explain how to reproduce the issue starting from a fresh install of firefox? |
|
I have written steps to reproduce in the firefox bug. Copying it here:
|
test.mp4 |
I repeated these steps but it works OK here. Firefox 139.0.4 |
are you on matrix wayfire chat? https://matrix.to/#/#wayfire:matrix.org |
|
could you use ammen patch in your pr https://0x0.st/8GY3.diff |
so that their relative order is kept. fixes WayfireWM#2566.
e6ad62e to
be23617
Compare
|
Updated. It feels a bit weird that I'm asking to merge a commit authored by ammen to ammen's project. |
It is also important to test the changes :) I am considering whether we could easily develop an automatic test for this. I find them very useful to catch such corner cases. Things break more often than one might think. |
|
Added a test here: ammen99/wayfire-tests@5a92147 Should prevent us from getting it wrong again :) |
Don't bring a popup or subsurface to front as subsurfaces have their own order.
fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1943240. fixes #2566.