Bug 434592 - slide effect: Switch virtual desktop also slides windows in two adjacent VDs
Summary: slide effect: Switch virtual desktop also slides windows in two adjacent VDs
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2021-03-18 17:40 UTC by Ismael Asensio
Modified: 2022-06-07 17:16 UTC (History)
1 user (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 Ismael Asensio 2021-03-18 17:40:00 UTC
SUMMARY

When switching between virtual desktop, windows that are pinned to All Desktops are kept in a fixed position, while the desktop and the rest of the windows slide in/out.

In Wayland a window can be pinned to several VDs but not necessarily all of them. When switching between VDs, those windows will slide out wind the old VD and reappear again on the new VD, giving the impression that there are two similar windows (not just one on two VDs).

STEPS TO REPRODUCE
1. Pin a window to two adjacent desktops (1 and 2) 
2. Switch from desktop 1 to desktop 2

OBSERVED RESULT
The window slides out with desktop 1 and reapears back with desktop 2.

EXPECTED RESULT
The window doesn't move while the sliding is going on between desktops.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu
KDE Plasma Version: 5.22 (git master)
KDE Frameworks Version: 5.81 (git master)
Qt Version: 5.15.3
Comment 1 Bug Janitor Service 2021-03-18 18:51:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/790
Comment 2 postix 2022-05-23 10:10:08 UTC
Can you still reproduce it? For me it looks fine on 5.24.5
Comment 3 Bug Janitor Service 2022-06-07 04:35:43 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Ismael Asensio 2022-06-07 17:00:53 UTC
This is still happening as it has not been addressed. 

A fix was submitted (https://invent.kde.org/plasma/kwin/-/merge_requests/790), but there was not consensus that this is indeed a bug and the proposed change could be confusing, so it got closed.

In the lack of a better UI alternative to indicate that a window is in several VDs (but not "pinned to all desktops"), I'd consider this as intentional, so closing for now.
Comment 5 postix 2022-06-07 17:10:15 UTC
(In reply to Ismael Asensio from comment #4)
> This is still happening as it has not been addressed. 

You are right as I had overlooked this part of the OT, when I tried to reproduce it:
> In Wayland a window can be pinned to several VDs but not necessarily all of them.
Comment 6 Ismael Asensio 2022-06-07 17:16:11 UTC
(In reply to postix from comment #5)
> (In reply to Ismael Asensio from comment #4)
> > This is still happening as it has not been addressed. 
> 
> You are right as I had overlooked this part of the OT, when I tried to
> reproduce it:
> > In Wayland a window can be pinned to several VDs but not necessarily all of them.

Yes, it is a new possibility that opens a new can of bugs and, as it's so different  to the X11 experience, there's not really that many user (and dev) experience on use cases and how to address them, so it's yet uncharted territory :)