Bug 445664

Summary: Cannot move tasks to activities from the panel
Product: [Plasma] plasmashell Reporter: Szőts Ákos <szotsaki>
Component: Task Manager and Icons-Only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED WORKSFORME    
Severity: normal CC: allo, nate, plasma-bugs, purderaf
Priority: NOR    
Version: 5.23.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: KDE activity move bug

Description Szőts Ákos 2021-11-17 23:07:25 UTC
STEPS TO REPRODUCE
1. Have a non-KDE/CSD window (like a browser) open
2. Have multiple activities available
3. Right click on the task manager entry of that window and choose "Show on activity", then choose a different activity to current one

OBSERVED RESULT

Nothing happens, when you right click again, the tick mark remains next to the same activity name as before and the window didn't get moved to the selected activity.

Interestingly, it works for KDE/non-CSD windows when the same is tried from the title bar.

EXPECTED RESULT

Can move a CSD window to the selected activity.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20211111
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.6-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION

Btw. I like the non-CSD title-bar solution much better because the local menu stays open during activity manipulation.
Comment 1 Nate Graham 2021-11-23 21:39:05 UTC
Done in Plasma 5.24! See https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/231
Comment 2 Nate Graham 2021-11-23 21:40:52 UTC
*** Bug 419225 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2021-11-23 21:41:13 UTC
*** Bug 401437 has been marked as a duplicate of this bug. ***
Comment 4 Alex 2021-11-24 14:31:41 UTC
I am not sure if Bug 419225 is fixed. It was about the consistency of the menu behavior in different places, i.e., taskbar and title bars and not about the bug of it not working.
Comment 5 Szőts Ákos 2022-02-20 10:10:08 UTC
I tested it in 5.24.1, but unfortunately even with the new menu structure this issue still remains.

I cannot move an activity to another one from the task manager either by using the checkboxes or the "Move to ..." menu entry. The window stays on the current activity and the checkboxes don't get changed either.
Comment 6 Nate Graham 2023-04-11 21:34:55 UTC
This is definitely fixed now as of Plasma 5.27.4.
Comment 7 Alex 2023-04-11 21:37:46 UTC
Also works for me in 5.27.2

Also the title bar and panel menus are more consistent now, but the panel menu has no icons next to activities and the title bar menu has icons. I need to have a look if the related bug is still open.
Comment 8 Szőts Ákos 2023-04-13 05:34:48 UTC
Created attachment 158060 [details]
KDE activity move bug

I upgraded to 5.27.4 from 5.26 and unfortunately, the same issue remains. Moving any (KDE or non-KDE) window to a new activity in the title bar works, but not in the panel.

I created a short video about it. Sorry, it's in Hungarian, but hopefully you can see the point.
Comment 9 Nate Graham 2023-04-14 17:43:58 UTC
Ok so there may be a bit of confusion here. Clicking the checkboxes doesn't move the window to that activity, it makes the window *also* be on that activity. If you want to *move* a window to a different activity so that it's not on the current activity, you have to use the "Move to [activity name]" menu item that exists now. Unfortunately it's broken; see Bug 465423. We'll try to get that fixed ASAP.