Bug 491752 - Second taskbar briefly ignores 'Show only tasks: From current screen'
Summary: Second taskbar briefly ignores 'Show only tasks: From current screen'
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 6.1.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2024-08-15 15:17 UTC by madness742
Modified: 2024-08-16 22:16 UTC (History)
3 users (show)

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


Attachments
A video showcasing the bug. Pay close attention to the taskbar of the left monitor. The applications are being launched on the main monitor (right). (1.09 MB, video/mp4)
2024-08-15 15:17 UTC, madness742
Details

Note You need to log in before you can comment on or make changes to this bug.
Description madness742 2024-08-15 15:17:02 UTC
Created attachment 172648 [details]
A video showcasing the bug. Pay close attention to the taskbar of the left monitor. The applications are being launched on the main monitor (right).

SUMMARY
When there are multiple taskbars across two or more screens, the option  'Show only tasks: From current screen' will not behave correctly. It will briefly show the application from a different screen before disappearing. 

STEPS TO REPRODUCE
1. Create a new default panel on a second monitor.
2. Right click on the task manager 
3. Select  Configure Icons-only Task Manager / Configure Icons-and-Text Task Manager (depending on the style, bug is visible on both)
4. Select behaviour.
5. Enable 'Show only tasks: From current screen'.

OBSERVED RESULT
The second taskbar is showing an application from the main taskbar for a brief second before disappearing. 

EXPECTED RESULT
The second taskbar should not show anything when  'Show only tasks: From current screen' is enabled and the application is launched on the main taskbar.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
This was tested on a Wayland session. The problem also occurs on openSUSE Tumbleweed.
Comment 1 TraceyC 2024-08-16 22:16:09 UTC
I can reproduce this reliably on 6.1.4 using the given steps
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2


Unfortunately, I can't try to reproduce on master right now. Clicking Configure for either task manager results in SIGSEGV (unrelated to this bug)