Bug 478518 - Tries and fails to generate window thumbnails for launchers of non-running apps
Summary: Tries and fails to generate window thumbnails for launchers of non-running apps
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: master
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-14 17:56 UTC by Nate Graham
Modified: 2024-01-10 19:33 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2023-12-14 17:56:44 UTC
Plasma 6 Wayland, today's git master.


STEPS TO REPRODUCE
1. Have an Icons-Only Task Manager on your panel with multiple pinned launchers and no open apps
2. Rapidly move the cursor across the launcher icons


OBSERVED RESULT
journal log is filled with:

Dec 14 10:54:03 Liberator plasmashell[2272]: error creating screencast "Could not find window id 0"
Dec 14 10:54:03 Liberator plasmashell[2272]: error creating screencast "Could not find window id 0"
Dec 14 10:54:03 Liberator plasmashell[2272]: error creating screencast "Could not find window id 0"
Dec 14 10:54:03 Liberator plasmashell[2272]: error creating screencast "Could not find window id 0"


EXPECTED RESULT
No screencast is attempted to be created because the app isn't running, so clearly it has no windows to generate a screencast for
Comment 1 Bug Janitor Service 2023-12-14 18:20:01 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1930
Comment 2 Nate Graham 2023-12-15 15:18:20 UTC
Git commit 30523aa003d1cb543368b01d818db38c4e7c82ec by Nate Graham.
Committed on 15/12/2023 at 16:09.
Pushed by ngraham into branch 'master'.

applets/taskmanager: Don't load PipeWire stuff for launchers

If task is a launcher, we know it doesn't have any windows, which means
there's nothing to screencast and we can bail out early.
FIXED-IN: 6.0

M  +3    -2    applets/taskmanager/package/contents/ui/ToolTipInstance.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/30523aa003d1cb543368b01d818db38c4e7c82ec
Comment 3 David 2024-01-01 19:04:22 UTC Comment hidden (spam)
Comment 4 Nate Graham 2024-01-10 19:33:30 UTC Comment hidden (spam)