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

Each window in a window stack is shown seperately, but dragging moves the whole stack #41

Open
ids1024 opened this issue May 3, 2024 · 2 comments
Milestone

Comments

@ids1024
Copy link
Member

ids1024 commented May 3, 2024

I'm not sure how we want to handle window stacks. But presumably this is not the desired behavior.

The simplest change would be to make cosmic-comp remove windows from the stack when they are moved in cosmic-workspaces. If we want cosmic-workspaces to be aware of stacks, that will require changes to the Wayland protocols we're using.

@Drakulix
Copy link
Member

Drakulix commented May 6, 2024

I wonder how much changes the protocol would really need, as I feel like handling the stacks as a whole would make more sense.

Theoretically it would be enough to change cosmic-comp to just treat stacks as single cosmic-toplevel-handles, but that obviously breaks app-list and much more.

Perhaps a "stacked" and "suspended" (for non-active stacked windows) state would be enough? And change the toplevel-capture request to include a including_stack-boolean argument? And probably some window-management functions like move-to-workspace as well, though I wonder, if that should move the whole stack by default anyway.

@WatchMkr WatchMkr moved this to Alpha 5 in COSMIC Epoch 1 Dec 6, 2024
@WatchMkr WatchMkr added this to the alpha 5 milestone Dec 6, 2024
@WatchMkr
Copy link

WatchMkr commented Dec 6, 2024

The simplest change would be to make cosmic-comp remove windows from the stack when they are moved in cosmic-workspaces.

This is also the most sensible UX option.

@WatchMkr WatchMkr modified the milestones: alpha 5, alpha 7, alpha 6 Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Alpha 6
Development

No branches or pull requests

3 participants