Review Request 126778: Ignore check if just one part of size is zero in compactRepresentationCheck
David Rosca
nowrep at gmail.com
Sun Jan 17 17:06:36 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126778/
-----------------------------------------------------------
(Updated Jan. 17, 2016, 5:06 p.m.)
Status
------
This change has been marked as submitted.
Review request for Plasma.
Changes
-------
Submitted with commit 11937533e83659dc4dab6f7e8e6019863a28ddae by David Rosca to branch master.
Bugs: 358039
http://bugs.kde.org/show_bug.cgi?id=358039
Repository: plasma-framework
Description
-------
When debugging the linked bug, it looks like for item geometry change eg. from 0x0 to 100x100, geometryChanged may be called twice, first with 100x0 and then finally with 100x100.
This was not issue before, because we used timer to call compactRepresentationCheck. This changes compactRepresentationCheck to earyl return also with just one part of item size is zero.
Fix regression from 344dbeb938
Diffs
-----
src/plasmaquick/appletquickitem.cpp ec2ed24
Diff: https://git.reviewboard.kde.org/r/126778/diff/
Testing
-------
Fixes the bug.
Thanks,
David Rosca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160117/06e4cf18/attachment.html>
More information about the Plasma-devel
mailing list