2015-07-06 11:58:21 |
Michael Zanetti |
description |
Seems that since the change with the new header in the NoteView page, the user script in oxide isn't called all the time any more. Of about half the times I retry, the callback just isn't ever called. Closing the note and opening it again seems to make it recover (or break) in about half the times.
My suspicion is a race condition when building up the view, now that with the use of the locationBarController building it has gotten more expensive. |
Seems that since the change with the new header in the NoteView page, the user script in oxide isn't called all the time any more. Of about half the times I retry, the callback just isn't ever called. Closing the note and opening it again seems to make it recover (or break) in about half the times.
My suspicion is a race condition when building up the view, now that with the use of the locationBarController building it has gotten more expensive.
This is the user script:
http://bazaar.launchpad.net/~reminders-app-dev/reminders-app/trunk/view/head:/src/app/qml/ui/reminders-scripts.js
This is the place that installs the user script/listens for callbacks:
http://bazaar.launchpad.net/~reminders-app-dev/reminders-app/trunk/view/head:/src/app/qml/ui/NoteView.qml#L42 |
|