| Summary: | Minimized window thumbnails show both icon and content | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | tromzy |
| Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Eike Hein <hein> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aleixpol, bugseforuns, nate, plasma-bugs-null, vlad.zahorodnii |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | 5.19.90 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/250efd62ef5c4a121d775498b73d01e5f7b01975 | Version Fixed/Implemented In: | 5.20 |
| Sentry Crash Report: | |||
| Attachments: | The thumbnail show both icon and content | ||
I can confirm this bug on Arch Linux. Classic task manager is also affected. Operating System: Arch Linux KDE Plasma Version: 5.19.90 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1 heh oops! Fixing it might be as simple as something like this:
diff --git applets/taskmanager/package/contents/ui/ToolTipInstance.qml applets/taskmanager/package/contents/ui/ToolTipInstance.qml
index 24d131a92..0a0b51011 100644
--- applets/taskmanager/package/contents/ui/ToolTipInstance.qml
+++ applets/taskmanager/package/contents/ui/ToolTipInstance.qml
@@ -230,7 +230,7 @@ ColumnLayout {
source: thumbnailSourceItem.isMinimized && !albumArtImage.visible && Number.isInteger(thumbnailSourceItem.winId) ? icon : ""
animated: false
usesPlasmaTheme: false
- visible: valid
+ visible: valid && !pipeWireLoader.active
}
ToolTipWindowMouseArea {
I'll test soon.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/168 Git commit 5a049e833c611b1d57c6b7a3b9a7a60ed99ccad7 by Nate Graham. Committed on 30/09/2020 at 14:13. Pushed by ngraham into branch 'master'. [applets/taskmanager] Don't show icons on top of thumbnails on Wayland FIXED-IN: 5.20 M +1 -1 applets/taskmanager/package/contents/ui/ToolTipInstance.qml https://invent.kde.org/plasma/plasma-desktop/commit/5a049e833c611b1d57c6b7a3b9a7a60ed99ccad7 Git commit 250efd62ef5c4a121d775498b73d01e5f7b01975 by Nate Graham. Committed on 30/09/2020 at 14:24. Pushed by ngraham into branch 'Plasma/5.20'. [applets/taskmanager] Don't show icons on top of thumbnails on Wayland FIXED-IN: 5.20 (cherry picked from commit 5a049e833c611b1d57c6b7a3b9a7a60ed99ccad7) M +1 -1 applets/taskmanager/package/contents/ui/ToolTipInstance.qml https://invent.kde.org/plasma/plasma-desktop/commit/250efd62ef5c4a121d775498b73d01e5f7b01975 |
Created attachment 131988 [details] The thumbnail show both icon and content SUMMARY In Plasma Wayland 5.19.90, when a window is minimized, the thumbnail show both its icon and its content (see attached screenshot). I think it should show only the icon. STEPS TO REPRODUCE 1. Open an app in a Wayland session 2. Minimize it 3. Put mouse pointer on its icon in Icon-only task manager OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.19.90 KDE Frameworks Version: 5.74 Qt Version: 5.15.1 ADDITIONAL INFORMATION