D13602: Fix tooltip woes

Eike Hein noreply at phabricator.kde.org
Tue Jun 19 11:11:27 UTC 2018


hein added a comment.


  In D13602#279963 <https://phabricator.kde.org/D13602#279963>, @davidedmundson wrote:
  
  > > race condition
  >
  > a race between what?
  
  
  To be honest, I didn't fully figure it out. But when the assignment in Tasks.qml was an integer to the delegate, it meant that the DelegateModel in the delegate sometimes started out with an undefined rootIndex and therefore bad data - almost as if the binding never got evaluated. Always assigning a freshly-made model index directly in the mouse event handler fixed it, and I prefer it style-wise anyway.

REPOSITORY
  R119 Plasma Desktop

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

To: hein, broulik, davidedmundson, romangg
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180619/285a3faa/attachment-0001.html>


More information about the Plasma-devel mailing list