Bug 410084

Summary: [Wayland] A window moved to another virtual desktop backs to the previous one when minimized via "Minimize all windows" widget or un-minimized
Product: [Plasma] kwin Reporter: Patrick Silva <bugseforuns>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.16.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=417888
https://bugs.kde.org/show_bug.cgi?id=404826
https://bugs.kde.org/show_bug.cgi?id=411007
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2019-07-21 20:57:46 UTC
SUMMARY
Virtual desktops feature is broken on Wayland, I found two ways to reproduce the same result. I can reproduce this behavior on both Arch and Neon unstable edition, only on Wayland session. Make sure "Show only tasks from the current desktop" is unchecked in task manager settings. I use 4 virtual desktops, 2 rows.

1. add "Minimize all windows" widget to Plasma panel
2. open Dolphin and Kate
3. right click on Kate's entry in the task manager, hover over "Move to desktop", select "2. Desktop 2"
4. click on "Minimize all windows" widget placed in Plasma panel
5. right click on Kate's entry in the task manager, hover over "Move to desktop"

1. open Dolphin and Kate
2. minimize Kate and Dolphin
3. right click on Kate's entry in the task manager, hover over "Move to desktop", select "2. Desktop 2"
4. unminimize Kate by clicking on its entry in the task manager
5. right click on Kate's entry in the task manager, hover over "Move to desktop"

Result: both "1. Desktop 1" and "2. Desktop 2" radio buttons are checked

SOFTWARE/OS VERSIONS

Operating System: Arch Linux 
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.16.80
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.3
Comment 1 Patrick Silva 2019-09-19 19:16:39 UTC
Still reproducible with the first steps.

Operating System: Arch Linux 
KDE Plasma Version: 5.16.90
KDE Frameworks Version: 5.62.0
Qt Version: 5.13.1
Comment 2 Patrick Silva 2020-03-15 17:12:17 UTC
Reproducible on Neon unstable. Bug 417888 seems related.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1
Comment 3 Patrick Silva 2022-01-15 16:44:24 UTC
Cannot reproduce.

Operating System: Arch Linux
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Graphics Platform: Wayland