Bug 481201

Summary: On X11, taskbar icons visible even if "show icons from current desktop only" is activated
Product: [Plasma] plasmashell Reporter: kderocks38 <sourcework>
Component: Task Manager and Icons-Only Task ManagerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: fanzhuyifan, nate, qydwhotmail
Priority: NOR    
Version: 5.27.8   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description kderocks38 2024-02-11 09:53:37 UTC
SUMMARY
taskbar icons visible even if "show icons from current desktop only" is activated


STEPS TO REPRODUCE
0. Have multiple virtual desktops activated
1. Activate in the taskbar menu the option "show icons for current desktop only"


OBSERVED RESULT
Certain icons from certain applications are visible even though those applications are on another desktop(geany, whatsapp, filezilla, not the case with thunderbird, dolphin, konsole etc.)
!!If you click on them once, then they will not show anymore on the wrong desktop for the current session!!

EXPECTED RESULT
Icons from applications from other desktops should not show on the desktop where their application is not present

SOFTWARE/OS VERSIONS
Kubuntu 23.10
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 fanzhuyifan 2024-02-11 20:24:38 UTC
Thank you for your bug report! The behavior you mentioned sounds intentional -- the apps you mentioned probably set themselves in a need attention state, and thus the task manager shows them on all desktops. After you click on them clearing the needs attention state, they don't show on all desktops.
Comment 2 kderocks38 2024-02-11 21:03:53 UTC
(In reply to fanzhuyifan from comment #1)
> Thank you for your bug report! The behavior you mentioned sounds intentional
> -- the apps you mentioned probably set themselves in a need attention state,
> and thus the task manager shows them on all desktops. After you click on
> them clearing the needs attention state, they don't show on all desktops.

Filezilla, thunderbird, geany, don't ask for attention at the start of the session.

This behavior did not occur months ago, I cannot say which updated created this.
I can add as information, that all those apps are placed on virtual desktops automatically on their respective desktops at the start of the session thanks to the window behavior options
Comment 3 fanzhuyifan 2024-02-11 21:06:35 UTC
I see. Is this on x11 or wayland?
Comment 4 kderocks38 2024-02-11 21:15:48 UTC
(In reply to fanzhuyifan from comment #3)
> I see. Is this on x11 or wayland?

X11
Comment 5 kderocks38 2024-02-14 12:35:38 UTC
Hi,

I switched to wayland and don't have the issue anymore; I switched also because along with the issue mentionned in this thread somehow randomly the drag&drop function of the mouse would get activated with no reason when hovering over the taskbar or applications, random clicks and moves of the mouse also.

Thanks for the help anyway but I will stick with wayland on kubuntu
Comment 6 Nate Graham 2024-02-14 19:07:40 UTC
Unfortunately there are technical limitations in window behavior vis-a-vis virtual desktops and the task manager on X11 that don't exist on Wayland. Given that Wayland fixes it, and we've moved to Wayland by default for Plasma 6, I'm going to call this intentional for now. Thanks for reporting it anyway!