Bug 453316

Summary: [Wayland only] Pager shows a window on 2 virtual desktops at once for windows with a window rule
Product: [Plasma] plasmashell Reporter: JacekJagosz <jacek.jagosz>
Component: Pager widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: hein, isma.af, jacek.jagosz, nate
Priority: NOR    
Version: 5.24.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description JacekJagosz 2022-05-02 18:51:43 UTC
SUMMARY
If a window has a window rule that specifies a virtual desktop, and you open the app on a different virtual desktop, it will move itself to the desired desktop as it is supposed to. And on X11 it will also show up in the correct virtual desktop on Pager. But on Wayland it will show up in Pager on both the desktop you opened it from, and on the target one. It will stay like that until you close the app, or move the app to the desktop you opened it from, and then back to a different one, only then you will have just one occurrence of an app in pager.

STEPS TO REPRODUCE
0. Be on Wayland session
1. Set an app/window rule that specifies a virtual desktop at app start.
2. Start an app from a different desktop than previously specified

OBSERVED RESULT
The app will appear in Pager on 2 virtual desktops

EXPECTED RESULT
It should appear in just the target one, where the app is actually opened. As it is showing up in the first virtual desktop but it is not actually there.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Solus 4.3
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Has been like that for a few months I think.
Comment 1 Ismael Asensio 2022-05-03 17:33:49 UTC

*** This bug has been marked as a duplicate of bug 452171 ***