UriHandler doesn't emit onOpened if the app needs to be started
Bug #1391689 reported by
Michael Zanetti
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Notes app |
Fix Released
|
High
|
Michael Zanetti | ||
Ubuntu UI Toolkit |
Invalid
|
Undecided
|
Unassigned | ||
reminders-app (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Having this in the QML code:
Connections {
target: UriHandler
onOpened: {
...
}
}
and registering the according click hooks, it works fine if the app is already running when the url is dispatched. However, if the app needs to be started, it will start, but the onOpened handler is never called.
Related branches
lp://staging/~notes-app-dev/reminders-app/uriHandler
- David Planella: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Michael Zanetti (community): Needs Fixing
-
Diff: 381 lines (+146/-37)8 files modifiedCMakeLists.txt (+2/-2)
manifest.json.in (+2/-1)
reminders.url-dispatcher (+5/-0)
src/app/main.cpp (+31/-25)
src/app/qml/reminders.qml (+101/-3)
src/app/qml/ui/NotebooksPage.qml (+2/-2)
src/app/qml/ui/TagsPage.qml (+2/-2)
tests/autopilot/reminders/tests/__init__.py (+1/-2)
Changed in reminders-app: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in reminders-app: | |
status: | Triaged → In Progress |
assignee: | nobody → Michael Zanetti (mzanetti) |
Changed in ubuntu-ui-toolkit: | |
status: | New → Invalid |
Changed in reminders-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
bzr branch lp:~liu-xiao-guo/debiantrial/launchmyapp /code.launchpad .net/~liu- xiao-guo/ debiantrial/ myapp
https:/
The above two examples demonstrated how it works
Blog at http:// blog.csdn. net/ubuntutouch /article/ details/ 40538643
Unfortunately, it is in Chinese.