Summary: | Only minimize windows on the current virtual desktop and activity | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Timothy <accounts.kdebugs> |
Component: | Show Desktop/Minimize All | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kesslerdupont55, nate, qydwhotmail |
Priority: | NOR | ||
Version: | 5.27.8 | ||
Target Milestone: | 1.0 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/48c27d32b9ccb78a3ddc5a1ece1e2dea482e0927 | Version Fixed In: | 6.2.0 |
Sentry Crash Report: |
Description
Timothy
2023-10-12 09:11:21 UTC
Maybe it should just always do this; minimizing even windows on other desktops that aren't visible doesn't make a lot of sense IMO. Looks like this is feasible to change in MinimizeAllController.qml since it uses data from the libtaskmanager to perform the minimization, and libtaskmanager also knows about virtual desktops. I was glad to hear this makes sense and looks like a straightforward change. Do you think there's much chance of somebody picking this up? For people with setups like mine, I think it would be a pretty good QoL improvement and I'm afraid I haven't the background/time to give this a shot myself. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2383 *** Bug 480097 has been marked as a duplicate of this bug. *** Git commit 48c27d32b9ccb78a3ddc5a1ece1e2dea482e0927 by Nate Graham, on behalf of Christoph Wolk. Committed on 27/08/2024 at 16:11. Pushed by ngraham into branch 'master'. applets/showdesktop: limit Minimize All by desktop/activity The Minimize All widget currently minimizes all windows on all virtual desktops, which is likely not what the user intended. The same, perhaps even more counterintuitively, is true for activities. I have changed this so that the widget now tracks the active state and the lists of windows that it minimized (if any) separately per activity/desktop combination. A user can now press Minimize All, do all sorts of other things on other activities/desktops, come back to the original desktop in the original activity, press the button again, and have their windows restored. I think this is a significant QoL upgrade over the existing version, where restoring will not work if the user activated any window, even if it was on another activity or desktop. This is a change in default behavior with no configuration option. I think it's enough to do the right thing and not clutter up the UI with irrelevant options; see also comment 1 in BUG: 475507. If desired, I can make the behavior optional later. FIXED-IN: 6.2.0 M +38 -18 applets/showdesktop/package/contents/ui/MinimizeAllController.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/48c27d32b9ccb78a3ddc5a1ece1e2dea482e0927 |