Bug 473190 - Icons for auto-started applications forced using window rules onto into a second virtual desktop will appear on the Task Manager on the first virtual desktop
Summary: Icons for auto-started applications forced using window rules onto into a sec...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 5.27.7
Platform: Other Other
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-09 05:30 UTC by Kalcifer
Modified: 2025-01-13 17:09 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalcifer 2023-08-09 05:30:43 UTC
SUMMARY
If you open an application into, for example, a second desktop when you are on the first desktop, an icon for that application will show on the first desktop, with a yellow "new window coloring", until you switch to the other desktop, focus that window, and switch back, despite having "show taskbar icons only for current desktop" enabled.


STEPS TO REPRODUCE
1. Enable only the following: `Right click on taskbar>Configure Icons-only Task Manager Settings>Behaviour>Show only tasks>From current desktop`
2. For that application, configure the following in "Configure Special Application Settings":
  - Virtual Desktops, Apply Initially, <some second desktop>
  - Focus Stealing Prevention, Force, Extreme
3. reboot, and login

OBSERVED RESULT
When you first login, the autostarted applications that get launched onto the second desktop will show their icons on the taskabar, with a yellow/orange highlight, on the first desktop despite the setting that says otherwise. The icons only go away when you then switch to the second desktop and focus the newly launched applications, and then switch back. 

EXPECTED RESULT
I expect that the "Show only taskbar icons from current desktop" setting does exactly as it describes: that it only shows icons from the current desktop, no matter the state that the application may be in.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Arch Linux, Kernel v6.4.8-arch1-1
KDE Plasma Version: 5.27.7
KDE Frameworks Version:  5.108.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
none
Comment 1 Nate Graham 2025-01-09 22:26:55 UTC
This was fixed in Plasma 6.2.0.
Comment 2 Kalcifer 2025-01-11 05:44:36 UTC
(In reply to Nate Graham from comment #1)
> This was fixed in Plasma 6.2.0.

I still have the issue, and I am on Plasma 6.2.5.
Comment 3 Kalcifer 2025-01-11 05:46:03 UTC
So this issue should not be marked as resolved/fixed.
Comment 4 Nate Graham 2025-01-13 17:09:24 UTC
Ah, I missed the fact that it only happens for auto-started apps. Can reproduce now.