Bug 506734 - Minimize All Windows widget does not work on x11
Summary: Minimize All Windows widget does not work on x11
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Show Desktop/Minimize All widgets (other bugs)
Version First Reported In: 6.4.2
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression, X11-only
Depends on:
Blocks:
 
Reported: 2025-07-07 20:08 UTC by evgeniyharchenko.dev
Modified: 2025-07-10 17:04 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.4.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description evgeniyharchenko.dev 2025-07-07 20:08:45 UTC
SUMMARY
Minimize All Windows does not work on x11. On wayland it works. Peek at Desktop works without problem.

STEPS TO REPRODUCE
1. Start x11 session.
2. Open some windows.
3. Click widget "Minimize All Windows"

OBSERVED RESULT
Nothing. Widget becomes highlighted.

EXPECTED RESULT
Visible windows become minimized.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0
Graphics Platform: X11

ADDITIONAL INFORMATION
Problem is connected to this commit:
https://invent.kde.org/plasma/plasma-desktop/-/commit/48c27d32b9ccb78a3ddc5a1ece1e2dea482e0927
Comment 1 Marco Martin 2025-07-10 14:06:26 UTC
I can reproduce
Comment 2 Bug Janitor Service 2025-07-10 14:33:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3104
Comment 3 Marco Martin 2025-07-10 16:20:21 UTC
Git commit 15ce3505b0de5dcd600c2f56837a502cb1ba31b8 by Marco Martin.
Committed on 10/07/2025 at 16:20.
Pushed by mart into branch 'master'.

applets/showdesktop: fix minimizeAll

Minimizeall logic was a bit broken: used bitwise AND and was
checking for currentdesktop and currentActivity without managing the
case for "all activities" and "all desktops"
with the case for "all desktops" being different between wayland and X11

M  +7    -3    applets/showdesktop/package/contents/ui/MinimizeAllController.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/15ce3505b0de5dcd600c2f56837a502cb1ba31b8
Comment 4 Marco Martin 2025-07-10 16:20:59 UTC
Git commit 34eede4f331b5eb500a158a0f38d745d6ac3589f by Marco Martin.
Committed on 10/07/2025 at 16:20.
Pushed by mart into branch 'Plasma/6.4'.

applets/showdesktop: fix minimizeAll

Minimizeall logic was a bit broken: used bitwise AND and was
checking for currentdesktop and currentActivity without managing the
case for "all activities" and "all desktops"
with the case for "all desktops" being different between wayland and X11


(cherry picked from commit 15ce3505b0de5dcd600c2f56837a502cb1ba31b8)

073e6471 applets/showdesktop: fix minimizeAll
11a23a79 remove dead code

Co-authored-by: Marco Martin <notmart@gmail.com>

M  +7    -3    applets/showdesktop/package/contents/ui/MinimizeAllController.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/34eede4f331b5eb500a158a0f38d745d6ac3589f