Defer initial positions apply until listing is complete

Authored by hein on Jan 29 2019, 5:05 PM.

Description

Defer initial positions apply until listing is complete

Summary:
This fixes the infamous "desktop positions partially scramble on reboot"
bug that occurs when KDirLister completes listing in multiple model
transactions.

This also:

  • Disallows moves and drops while listing, for extra safety.
  • Cleans up wonky old defer-sometimes code that made little sense.
  • Removes a cache for lastRow() that was never actually used.

BUG:354802

Reviewers: Plasma, davidedmundson, chinmoyr

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
heinJan 30 2019, 9:43 AM
Differential Revision
D18598: Defer initial positions apply until listing is complete
Parents
R119:c6bab929ac25: [KRDB] Also try wildcard tooltip
Branches
Unknown
Tags
Unknown