Skip to content

Overlay window overview #2350

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
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

leolost2605
Copy link
Member

@leolost2605 leolost2605 commented Mar 29, 2025

The first commit now only allows opening the windowoverview with window ids (it was already deprecated and not used anywhere but the code was still in place) and therefore does a bunch of cleanup and fixes some visual bugs (e.g. when closing a window in the overview the destroy animation would play behind where the window is normally positioned).

The second commit includes some visual and ux changes:

  • all the windows that are shown are now raised so if you have two on a workspace but a window from another app above them and then select one (or no window) both will be on top now. This fixes some incosistencies where they animate back but then suddenly a third window appears in between them.
  • We don't hide other windows instead we are now on top (above the shell group) and just dim the whole background. This fixes some more incosistencies where other windows would just disappear and pop up again. Also the wingpanel and dock appeared interactable but weren't. It will now also make sense to show this while in the multitasking view (good for Initial support for keeping shellclients in the multitasking view  #2275).

Let me know what you think :)

@leolost2605 leolost2605 force-pushed the leolost/cleanup-window-overview branch 2 times, most recently from 3a8fe4a to 86e76d3 Compare March 29, 2025 14:55
@lenemter
Copy link
Member

it was already deprecated and not used anywhere but the code was still in place

It is not, in fact, deprecated and is still used for the 'expose-all-windows' shortcut (Super+A), which shows windows from all workspaces. The multitasking view can't show all windows, so I guess we still need to keep the old window overview.

@leolost2605 leolost2605 force-pushed the leolost/cleanup-window-overview branch 2 times, most recently from e88aff5 to 666145c Compare April 5, 2025 11:20
@leolost2605
Copy link
Member Author

It is not, in fact, deprecated and is still used for the 'expose-all-windows' shortcut (Super+A), which shows windows from all workspaces. The multitasking view can't show all windows, so I guess we still need to keep the old window overview.

Huh since #485 was closed and I thought I'd remembered that in there I somewhere read that the expose all windows can be removed I thought this was deprecated. Seems like I was wrong 😅
I added the expose all windows back while keeping the cleanup and visual changes.
New windows that appear while open are now still just added behind because I think the semantics here is you have your set of windows and choose one and not managing windows (that's what the multitasking view is for) but if really wanted we can change it that they get added to the spread (though if we want to do that, then I'd like to do it in a follow up since it's kind of broken in main as well).

@leolost2605 leolost2605 requested review from a team April 5, 2025 11:24
@leolost2605 leolost2605 force-pushed the leolost/cleanup-window-overview branch from 666145c to c5d7337 Compare April 5, 2025 11:24
@leolost2605 leolost2605 force-pushed the leolost/cleanup-window-overview branch from c5d7337 to 66e4852 Compare April 5, 2025 11:28
@@ -1,7 +1,7 @@
/*
* Copyright 2012 Tom Beckmann
* Copyright 2012 Rico Tzschichholz
* Copyright 2023 elementary, Inc. <https://elementary.io>
* Copyright 2025 elementary, Inc. <https://elementary.io>
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* Copyright 2025 elementary, Inc. <https://elementary.io>
* Copyright 2023-2025 elementary, Inc. <https://elementary.io>

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

Successfully merging this pull request may close these issues.

2 participants