Bug 484219 - Launchers pinned to specific activity move different launchers on other activities
Summary: Launchers pinned to specific activity move different launchers on other activ...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 6.0.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-22 08:42 UTC by gudvinr+kde
Modified: 2024-08-09 20:17 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 gudvinr+kde 2024-03-22 08:42:28 UTC
SUMMARY

I have different sets of launchers on icons-only task manager pinned to different activities.

If I change their order, launchers on different activities also move around.
This happens even if I try to move launchers that only pinned to single activity.

STEPS TO REPRODUCE
1. Create multiple activities
2. Create panel with task manager
3. Pin launchers. Some available to all activities, some only for specific ones

OBSERVED RESULT
When launchers moved on a specific activity panel, other launchers also affected.

EXPECTED RESULT
Other task manager instances not affected.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 TraceyC 2024-08-09 20:17:38 UTC
I am able to reproduce this on 6.1.3 as well as  on git-master
While testing this, I also noticed that trying to drag an icon that is pinned to one activity in between icons pinned on all activities briefly shows an icon pinned to a different activity.

Detailed testing steps on git-master
Setup:
1. 3 activities configured
2. Icons-only task manager is in the panel
3. Pinned launchers in icons-only task manager to certain activities
System Settings only on activity 1
Discord, NeoChat only on Activity 2
Cuda Text only on Activity 3
Firefox, Thunderbird and others on all activities

Testing:
1. Moved one launcher icon in the task manager on an activity
Note: When I drag and drop an icon, it disappears from the task manager until I switch away from the activity and back. This happened almost every time I moved an icon, in 6.1.3 and git-master. It always heppened when moving an icon to the leftmost position
2. Looked at pinned icons on task manager on all activities

Icons pinned:
Firefox, Dolphin - all
1 - Discover, System Settings
2 - Kate
3 - Emoji Selector

Task manager icons per activity before any changes: 
1 Settings, Disco, Dolphin, FF
2 Dolphin, FF, Kate
3 Dolphin, FF, Emoji Selector

On Activity 1, moved Settings to right most - OK

After: 
1 Disco, Dolphin, FF, Settings
2 Dolphin, FF, Kate
3 Dolphin, FF, Emoji Selector

On Activity 2, moved Kate to left most - not OK

After: 
1 Dolphin, FF, Disco, Settings (Discover moved)
2 Kate, Dolphin, FF
3 Dolphin, FF, Emoji Selector

On Activity 3, moved Emoji Selector to the middle - not OK

It moved to the left of Firefox after I dropped it to the right of Firefox.
I tried to move it again, between Firefox and Dolphin. After dropping the icon, it was replaced by the System Settings icon.
After switching to another activity and back to 3, the correct Emoji Selector icon was shown again.

After: 
1 FF, Settings, Dolphin, Disco (Dolphin and Settings moved)
2 FF, Dolphin, Kate (the order is reversed, FF and Kate moved)
3 FF, Settings, Dolphin (before switching from Activity 3)
3 Emoji Selector, FF, Dolphin (after switching away from and back to Activity 3