| Summary: | b6dfe0b33ee2a2c5c8c227b3054dfbbbb0bf0d46 occasionally makes grouped tasks do nothing when clicked | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Nate Graham <nate> |
| Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Grégori MIGNEROT <gregori.mignerot> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | gregori.mignerot, qydwhotmail |
| Priority: | NOR | Keywords: | regression |
| Version First Reported In: | 6.5.80 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/27057aef0c8a3abcac9e698d894273b2a250de5f | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Nate Graham
2025-12-06 19:25:55 UTC
Could reproduce it, when a window has never been focused its lastActivated time is undefined, so when none of the windows in the group were ever focused it can't find a top one. — Reproducible more easily by restarting a running plasmashell Git commit 27057aef0c8a3abcac9e698d894273b2a250de5f by Nate Graham, on behalf of Grégori Mignerot. Committed on 07/12/2025 at 15:54. Pushed by ngraham into branch 'master'. applets/taskmanager: Fix last-used task selection The LastActivated property is undefined until a task is activated at least once. So when no task in the group was ever activated, it can't find the top one using LastActivated. This regression was introduced by !3307, and can be reproduced by clicking on a grouped task right after restarting a running plasmashell. To fix this, default to StackingOrder in that case. M +44 -25 applets/taskmanager/package/contents/ui/code/tools.js https://invent.kde.org/plasma/plasma-desktop/-/commit/27057aef0c8a3abcac9e698d894273b2a250de5f |