Support having multiple surfaces per process

Bug #1223881 reported by Alberto Mardegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QtMir
Triaged
Medium
Unassigned

Bug Description

Filing the bug as suggested today in #ubuntu-app-devel, not to forget about this use case.

The Online Accounts UI can be invoked by applications in order to ask for the creation of an account or for authorization to use an existing account, and according to the design:
1) the Online Accounts window must be modal to the calling application, and
2) if multiple instances are opened at the same time, they should be able to communicate to each other (so that we can prevent creating the same account in two different apps)

The way I decided to implement this is to have a D-Bus service, com.canonical.OnlineAccountsUi, which is activated upon client requests, creates the needed windows (QQuickView) and sets them as modal on the client. Then the service would exit after a few seconds of inactivity.

For the time being, apart from the modality feature which is not implemented, things work reasonably well; but I'm told that this use-case (having a process create multiple windows) was not considered and keeping it working with the next iteration of unity-mir/unity8 might require some more consideration.

Revision history for this message
kevin gunn (kgunn72) wrote :

right, i think this is what the mir team is tracking in blueprints under "parent/child surface relationships"
so this bug would not be for phone v1

Changed in unity-mir:
importance: Undecided → Medium
status: New → Triaged
Gerry Boland (gerboland)
Changed in qtmir:
status: New → Triaged
importance: Undecided → Medium
no longer affects: unity-mir
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.