https://bugs.kde.org/show_bug.cgi?id=382759

Eike Hein <h...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/pla
                   |                            |sma-desktop/3e3f0decc983049
                   |                            |49c1f7cbb196bdf0686e75a08
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Eike Hein <h...@kde.org> ---
Git commit 3e3f0decc98304949c1f7cbb196bdf0686e75a08 by Eike Hein.
Committed on 18/08/2017 at 11:32.
Pushed by hein into branch 'Plasma/5.10'.

Compress size hint changes before releasing position and repositioning item.

Summary:
D4204 / d7621da69b9b 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 D7384 this addresses:

Reviewers: #plasma, mart

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D7385

M  +18   -16   containments/desktop/package/contents/ui/AppletAppearance.qml

https://commits.kde.org/plasma-desktop/3e3f0decc98304949c1f7cbb196bdf0686e75a08

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to