Skip to content

Popups parented to the same toplevel are not stacked properly #1729

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Supreeeme opened this issue May 11, 2025 · 0 comments
Open

Popups parented to the same toplevel are not stacked properly #1729

Supreeeme opened this issue May 11, 2025 · 0 comments

Comments

@Supreeeme
Copy link

In both Niri and Anvil, if you have two popups that are parented to the same toplevel, the second one is stacked under the first one, but it should be stacked above. This works as expected on labwc (wlroots) and KDE.

According to the xdg_popup spec:

A newly created xdg_popup will be stacked on top of all previously created xdg_popup surfaces associated with the same xdg_toplevel.

This is easily reproducible via xwayland-satellite and gtk4-widget-factory. See Supreeeme/xwayland-satellite#153.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant