D17700: [kcmkwin/desktop] Add back switching animation setting

Eike Hein <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
hein added a comment.


  In D17700#379803 <https://phabricator.kde.org/D17700#379803>, @zzag wrote:
  
  > Would it be feasible to create a model for virtual desktop switching animations instead of hard coding them?
  
  
  I'm not sure. Keep in mind this code is mostly out of the old KCM (the benefit: it's tested already), and I haven't checked if the Effects KCM is similarly hardcoded or not. Thoughts:
  
  - The code currently uses hard-coded enumeration of built-in effects. Is there an API to get built-in effects by category?
  - The code currently used hard-coded enumeration the fadedesktop effect. Is there an API to get installed effects by category?
  
  If the enumeration has to be done hard-coded anyway, then a model wrapper would just be a fake improvement. Maybe the internal Effects APIs in KWin should support some of this management boilerplate to make a model easier.

REPOSITORY
  R108 KWin

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

To: hein, mart, ngraham, #kwin
Cc: kwin, zzag, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.