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

Move EndSessionDialog here #1879

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

leolost2605
Copy link
Member

@leolost2605 leolost2605 commented Mar 22, 2024

This has the advantage that we can make it modal i.e. we dim everything and prevent all clicks behind it.
It also is wayland compatible. Unfortunately currently the modal part will only work on wayland. It can be made to work on X but that would require some additional effort that - if really wanted - will be left to other PRs. X behavior is therefore unchanged compared to the current end session dialog.

Closes #1877 since the approach taken there had quite a few issues that couldn't be worked around. This approach now uses a clutter actor to block all interaction. This is also more future proof since we can more easily use this for other dialogs that aren't spawned by the daemon, e.g. portal dialogs, etc.

@leolost2605 leolost2605 requested review from danirabbit and a team March 22, 2024 12:39
@leolost2605
Copy link
Member Author

A modal system dialog currently blocks all shortcuts not sure whether we should (or even can lol) allow things like screenshot, etc.?

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

Successfully merging this pull request may close these issues.

None yet

1 participant