Hey guys,
Sorry this is a bit out of the blue, but Bug #386254 was infuriating me so much for the past few days that I patched it locally. I figured I may as well submit a code review in case my fix is what a plasma dev would end up doing anyway.
It seems that the Connections object wasn't actually connecting to the signals, preventing the sessionsModel from reloading. I'm not entirely sure why (maybe to do with when the component actually gets loaded?), I found 2 workarounds:
- moving the Connections object up to the parent scope
- creating the binding in JavaScript
Maybe I don't remember the QML identifier scoping rules super well, (or there was some other actual issue) but I got a ton of reference errors when attempting the first workaround. However, the second worked.