D22885: Add global animation speed slider to workspace options KCMGNU nano 4.3/tmp/edit.fd801hu0c34so8k8/new-commitModifiedAdd global animation speed slider to workspace options KCM

David Edmundson noreply at phabricator.kde.org
Thu Aug 1 23:39:25 BST 2019


davidedmundson created this revision.
davidedmundson added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
davidedmundson requested review of this revision.

REVISION SUMMARY
  Introduce a new config entry into kdeglobals AnimationSpeed that will
  control /all/ animation speeds in kwin and plasma themes and Qt styles
  and kirigami.
  
  The value stored is a multiplier.
  i.e 1 == normal speed, 0.5 = twice as fast, 2 = twice as slow.
  0 is a special value meaning "disable animations"
  
  The QML is a bit complex to represent a logarithmic slider that goes
  4x, 2x, 1x, 0.5x, 0.25x, 0.125x
  
  but still allowing a user to type arbitrary values into their config
  
  -----
  
  Note @kbroulik This is reversed it from what we coded together, because
  I decided it was confusing.
  
  Needs relevant patches through the rest of the stack before merging.
  Also kwin has some asserts on 0 speed animations that need addressing.
  
  You also need an up-to-date kconfig and qqc2-desktop-style for bugfixes

TEST PLAN
  Looked at config

REPOSITORY
  R119 Plasma Desktop

BRANCH
  master

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

AFFECTED FILES
  kcms/workspaceoptions/package/contents/ui/main.qml
  kcms/workspaceoptions/workspaceoptions.cpp
  kcms/workspaceoptions/workspaceoptions.h

To: davidedmundson, #plasma
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190801/eb0948ea/attachment-0001.html>


More information about the Plasma-devel mailing list