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

Reply via email to