Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KWin KWin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 51
    • Issues 51
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 124
    • Merge requests 124
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Plasma
  • KWinKWin
  • Merge requests
  • !1980

Slide effect improvements

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Eric Edlund requested to merge ericedlund/kwin:SlideEffectImprovements into master Feb 07, 2022
  • Overview 51
  • Commits 3
  • Pipelines 43
  • Changes 9

Implement Mac OS like Desktop switching:

  • Add desktopChanging() interface to VirtualDesktopManager
  • Configure SlideEffect to use it for animations
  • Change swipe behavior from "next desktop" to "desktop in direction of swipe"
  • Reserve all 3 finger swipes for desktop switching in 4 directions

Slide Effect Polish:

  • On multi monitor, both desktops are not dragged across the screen on switch
  • Wrapping doesn't slide across entire grid, instead dark magic is used

BUG: 448419 BUG: 401479 BUG: 185710

Testing:

  • I've changed a lot of code in the slide effect.
  • Check that the slide effect doesn't clash with other effects.
  • Multi monitor setups shouldn't drag both desktops across screen
  • Wrapping should feel magical
  • I know that if you spam switch desktop right quickly enough, animation will switch direction. It falls behind where it's supposed to be and is taking the fastest path to the correct desktop. This is an uncommon case that doesn't ultimately matter very much and fixing it would require a lot of hard math I don't want to do.
Edited Mar 16, 2022 by Eric Edlund
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: SlideEffectImprovements