D7385: Compress size hint changes before releasing position and repositioning item.

Eike Hein noreply at phabricator.kde.org
Fri Aug 18 11:32:50 UTC 2017


hein created this revision.
Restricted Application added a project: Plasma.

REVISION SUMMARY
  https://phabricator.kde.org/D4204 / https://phabricator.kde.org/R119:d7621da69b9b4758b3e877f78545645bcb1c4305 introduced more elaborate handling of item size
  hint changes, releasing and repositioning an item for each change to
  the min/max hints on either axis. We have applets in which the x and
  y hints are coupled and update in turn, to implement aspect-ratio-
  preserving resize. This makes the value on an individual axis a
  useless temporary, wreaking havoc when followed.
  
  As a poor means to commit size hint changes atomically, a 100ms timer
  is used to compress size hint changes. The 100ms interval matches
  layoutTimer in main.qml.
  
  Not very happy with this.
  
  Together with https://phabricator.kde.org/D7384 this addresses:
  BUG:382759

REPOSITORY
  R119 Plasma Desktop

BRANCH
  Plasma/5.10

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

AFFECTED FILES
  containments/desktop/package/contents/ui/AppletAppearance.qml

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


More information about the Plasma-devel mailing list