Bug 504687 - With translucency of inactive windows enabled, the effect is reapplied but never removed on minimize/restore, leading to invisible windows
Summary: With translucency of inactive windows enabled, the effect is reapplied but ne...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: 6.4.80
Platform: Ubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-23 06:17 UTC by Kurt Bärtschi
Modified: 2025-06-09 14:08 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.6
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Bärtschi 2025-05-23 06:17:33 UTC
**

SUMMARY


STEPS TO REPRODUCE
1.  Actvate transparency in system settings activities and setup the transparency to 50%
2. Open then some Apps on the Desktop 
3. In the Panel on the right set it to "Minimize al Windows"


OBSERVED RESULT
4. The more you minimize an open again the Windows, the more the transparency increase


EXPECTED RESULT
5. The transparency should not increase more by every restore all the windows


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 cwo 2025-05-26 17:34:02 UTC
Thanks for the bug report! I can reproduce, but it does not just happen with the Minimze All panel applet, but also the Minimize All kwin script, or just regular minimization with the task manager (and minimize single windows enabled) or just the minimize window button.

I suspect this is an issue in the translucency effect and its handling of minimization in general.
Comment 2 Bug Janitor Service 2025-05-27 07:38:04 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7690
Comment 3 Vlad Zahorodnii 2025-05-27 16:26:19 UTC
Git commit 6119e813bb3471a9f91f8aa640c5a292b15d34f6 by Vlad Zahorodnii.
Committed on 27/05/2025 at 16:07.
Pushed by vladz into branch 'master'.

plugins/translucency: Fix unsetting animations for minimized windows

cancelAnimations() needs a window.

M  +1    -1    src/plugins/translucency/package/contents/code/main.js

https://invent.kde.org/plasma/kwin/-/commit/6119e813bb3471a9f91f8aa640c5a292b15d34f6
Comment 4 Vlad Zahorodnii 2025-06-09 07:20:31 UTC
Git commit 8805ced364439606931dabb6b24a61c602097c8a by Vlad Zahorodnii.
Committed on 09/06/2025 at 07:06.
Pushed by vladz into branch 'Plasma/6.3'.

plugins/translucency: Fix unsetting animations for minimized windows

cancelAnimations() needs a window.


(cherry picked from commit 6119e813bb3471a9f91f8aa640c5a292b15d34f6)

Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>

M  +1    -1    src/plugins/translucency/package/contents/code/main.js

https://invent.kde.org/plasma/kwin/-/commit/8805ced364439606931dabb6b24a61c602097c8a
Comment 5 Vlad Zahorodnii 2025-06-09 07:22:16 UTC
Git commit 6117e0602de14c8059d2fc78e83432eaec944bcf by Vlad Zahorodnii.
Committed on 09/06/2025 at 07:06.
Pushed by vladz into branch 'Plasma/6.4'.

plugins/translucency: Fix unsetting animations for minimized windows

cancelAnimations() needs a window.


(cherry picked from commit 6119e813bb3471a9f91f8aa640c5a292b15d34f6)

Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>

M  +1    -1    src/plugins/translucency/package/contents/code/main.js

https://invent.kde.org/plasma/kwin/-/commit/6117e0602de14c8059d2fc78e83432eaec944bcf