Bug 448419 - Cosmetic - Switching virtual desktops with extended display slides both desktops across screen
Summary: Cosmetic - Switching virtual desktops with extended display slides both deskt...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.23.5
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-14 00:04 UTC by Eric Edlund
Modified: 2022-04-15 00:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.25


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Edlund 2022-01-14 00:04:23 UTC
SUMMARY
With two monitors, switching between virtual desktops slides the entire screen area across both monitors. This is mildly disorienting.


STEPS TO REPRODUCE
1. Desktop switch animation set to slide
2. Two monitors, extended display
3. Switch virtual desktop (if your monitors are left or right, switch horizontally)

OBSERVED RESULT
The content of both desktops are slid across screen.

EXPECTED RESULT
Each display switches it's own desktop independantly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon 5.23 User Edition
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Can reproduce on xorg and wayland
On xorg, the sliding animation looks even more broken. My second monitor has a lower resolution and when it's dragged across my laptop screen the other desktop has a black bar beneath it to fill the space.
Comment 1 Eric Edlund 2022-02-12 23:34:39 UTC
I got you bro don't worry
Comment 2 Eric Edlund 2022-03-19 13:34:46 UTC
Git commit 3c557be70785a293d8d56a935530665fe4daf6ab by Eric Edlund.
Committed on 19/03/2022 at 13:19.
Pushed by ericedlund into branch 'master'.

rework of slide effect internals

Fixed a bunch of bugs and polished the slide effect.
Plugged the slide effect into the new VirtualDesktopManager interface desktopChanging() to allow for mac os style desktop switching.
Related: bug 401479

M  +291  -167  src/effects/slide/slide.cpp
M  +45   -11   src/effects/slide/slide.h

https://invent.kde.org/plasma/kwin/commit/3c557be70785a293d8d56a935530665fe4daf6ab
Comment 3 Nate Graham 2022-04-15 00:24:36 UTC
Git commit 003c820e0047337aaf714ea765f15b2b1e9a9d26 by Nate Graham, on behalf of Eric Edlund.
Committed on 15/04/2022 at 00:09.
Pushed by ngraham into branch 'master'.

rework of slide effect internals

Fixed a bunch of bugs and polished the slide effect.
Plugged the slide effect into the new VirtualDesktopManager interface desktopChanging() to allow for mac os style desktop switching.
Related: bug 401479

M  +267  -123  src/effects/slide/slide.cpp
M  +45   -11   src/effects/slide/slide.h
M  +1    -1    src/virtualdesktops.cpp

https://invent.kde.org/plasma/kwin/commit/003c820e0047337aaf714ea765f15b2b1e9a9d26