D9638: [effects] add 'Slide Desktops' effect

Vlad Zagorodniy noreply at phabricator.kde.org
Wed Jan 3 14:06:19 UTC 2018


zzag added a comment.
Restricted Application edited projects, added Plasma; removed KWin.


  I've made this effect because I am very disappointed with the Slide effect. Let me list some of the biggest problems with slide effect:
  
  - It's not intuitive
  
  - It has poor(like my English) visual feedback when switching between empty virtual desktops
  
  F5615540: slide-empty-desktops.mp4 <https://phabricator.kde.org/F5615540>
  I've just cycled through 4 virtual desktops, surprise!
  
  - Switching between virtual desktops with fullscreen windows is not pleasant
  
  F5615542: slide-fullscreen.mp4 <https://phabricator.kde.org/F5615542>
  Panels should not flick, should they?
  *Please note that "panel flickering" is not a bug.*
  
  Meet the 'Slide Desktops' effect
  ================================
  
  F5615545: slidedesktops-demo.mp4 <https://phabricator.kde.org/F5615545>
  
  Gorgeous!
  
  As you can see desktop background and panels ain't static anymore. They move together with virtual desktops, which is expected and intuitive. Also, you may have noticed gaps between virtual desktops. Their purpose is to make users feel like each virtual desktop is a separate entity. In addition to the purpose above, gaps are very useful when you have a plain color as the desktop background.
  
  If you don't like gaps, you can set them to 0.
  
  F5615546: options.png <https://phabricator.kde.org/F5615546>
  
  Demos
  =====
  
  Switching between empty virtual desktops:
  -----------------------------------------
  
  F5615550: slidedesktops-empty-desktops.mp4 <https://phabricator.kde.org/F5615550>
  
  *Now we see that we're switching between virtual desktops.*
  
  Switching between virtual desktops with fullscreen windows:
  -----------------------------------------------------------
  
  F5615551: slidedesktops-fullscreen.mp4 <https://phabricator.kde.org/F5615551>
  
  *Panels aren't flickering anymore!*
  
  Navigating a desktop grid:
  --------------------------
  
  F5615552: slidedesktops-grid.mp4 <https://phabricator.kde.org/F5615552>
  
  Move a window to another virtual desktop:
  -----------------------------------------
  
  F5615553: slidedesktops-moving-window.mp4 <https://phabricator.kde.org/F5615553>
  
  Slide Desktops on Wayland:
  --------------------------
  
  F5615554: slidedesktops-wayland.mp4 <https://phabricator.kde.org/F5615554>
  
  Switch virtual desktops on a setup with several screens:
  --------------------------------------------------------
  
  F5615556: slidedesktops-several-screens.mp4 <https://phabricator.kde.org/F5615556>
  
  *I don't really know why you need virtual desktops in this case.*
  
  Next steps
  ==========
  
  - Optimize it: Try to decrease a number of memory allocations during paint calls?
  - Simplify code?

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D9638

To: zzag, #vdg, #kwin, #plasma
Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180103/eec7ad53/attachment.html>


More information about the Plasma-devel mailing list