Compress calls to `updateSize`

Authored by hein on Nov 19 2018, 7:22 AM.

Description

Compress calls to updateSize

Summary:
Repeater+Flow has no reliable way to transactionize/batch insertion,
e.g. Flow.positionCompleted is useless in a function that can change
the Flow's size, and transition events like populated and similar
aren't available. Refactoring this to be a ListView isn't appealing
because it would mean the code loses the property of being reused for
both the bar and the popup, and therefore is well-tested already.

This brings down the number of updateSize calls when opening the
dialog for a group of five from five to one.

BUG:400364

Reviewers: Plasma, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
heinNov 19 2018, 9:40 AM
Differential Revision
D17006: Compress calls to `updateSize`
Parents
R119:5d253b018cf4: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown