Skip to content
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

Use popupParent as X11 parent window #14366

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

marysaka
Copy link
Contributor

Previously, the popupParent was ignored when present causing popups to have the X root window as its parent.

This cause issues on gamescope (SteamOS session compositor) where that window would end up behind the main window.

Currently blocker for Ryujinx new UI to be deployed in production.

Previously, the popupParent was ignored when present causing popups to
have the X root window as its parent.

This cause issues on gamescope (SteamOS session compositor) where that window would end up behind the
main window.

Signed-off-by: Mary Guillemard <[email protected]>
@marysaka
Copy link
Contributor Author

@dotnet-policy-service agree

Copy link
Member

@jmacato jmacato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and thanks for the PR @marysaka 🎉

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.1.999-cibuild0044118-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added the backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch label Jan 29, 2024
@jmacato jmacato added this pull request to the merge queue Jan 29, 2024
Merged via the queue into AvaloniaUI:master with commit 0bde86b Jan 29, 2024
6 checks passed
maxkatz6 added a commit that referenced this pull request Feb 8, 2024
Previously, the popupParent was ignored when present causing popups to
have the X root window as its parent.

This cause issues on gamescope (SteamOS session compositor) where that window would end up behind the
main window.

Signed-off-by: Mary Guillemard <[email protected]>
Co-authored-by: Max Katz <[email protected]>
@maxkatz6 maxkatz6 added backported-11.0.x and removed backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch labels Feb 8, 2024
@kekekeks
Copy link
Member

Hmmm, it seems that we should have used WM_TRANSIENT_FOR instead of parent/child relationships

kekekeks added a commit that referenced this pull request Feb 10, 2024
kekekeks added a commit that referenced this pull request Feb 10, 2024
* Revert "Fix popups position on X11 (#14551)"

This reverts commit 06f88f6.

* Revert "Use popupParent as X11 parent window (#14366)"

This reverts commit 0bde86b.
kekekeks added a commit that referenced this pull request Feb 10, 2024
* Revert "Fix popups position on X11 (#14551)"

This reverts commit 06f88f6.

* Revert "Use popupParent as X11 parent window (#14366)"

This reverts commit 0bde86b.
maxkatz6 pushed a commit that referenced this pull request Feb 14, 2024
* Revert "Fix popups position on X11 (#14551)"

This reverts commit 06f88f6.

* Revert "Use popupParent as X11 parent window (#14366)"

This reverts commit 0bde86b.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants