unity8 is not crashing. Launching accounts from the system settings spawns this process:
/usr/bin/online-accounts-ui --desktop_file_hint=/usr/share/applications/online-accounts-ui.desktop
When pressing the back button, the window is closed but the process remains alive for a while and maybe this is causing the problem? I would imagine that is a unity-mir/window management bug
Instead of closing the window when pressing the back button, perhaps call Qt.openUrlExternally(application:///ubuntu-system-settings.desktop) first to switch back to the system-settings app. This should promote the system-settings if it's already running (which it will be).
In the system-settings app, you can also use Qt.openUrlExternally(application:///online-accounts-ui.desktop) to launch online-accounts and this will also promote it if it's already running.
running image 51 and this bug still exists.
unity8 is not crashing. Launching accounts from the system settings spawns this process: online- accounts- ui --desktop_ file_hint= /usr/share/ applications/ online- accounts- ui.desktop
/usr/bin/
When pressing the back button, the window is closed but the process remains alive for a while and maybe this is causing the problem? I would imagine that is a unity-mir/window management bug
Instead of closing the window when pressing the back button, perhaps call Qt.openUrlExter nally(applicati on:///ubuntu- system- settings. desktop) first to switch back to the system-settings app. This should promote the system-settings if it's already running (which it will be).
In the system-settings app, you can also use Qt.openUrlExter nally(applicati on:///online- accounts- ui.desktop) to launch online-accounts and this will also promote it if it's already running.