Accomplishments viewer should use single instance
Bug #994696 reported by
Rafał Cieślak
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Accomplishments Lens |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Currently launching accomplishments
Ideally one window would be used to display that information. That would mean that running accomplishments
Changed in ubuntu-accomplishments-viewer: | |
status: | New → Confirmed |
tags: | added: bitesize |
Changed in ubuntu-accomplishments-viewer: | |
assignee: | nobody → Alessandro Losavio (alo21) |
status: | Confirmed → In Progress |
affects: | ubuntu-accomplishments-viewer → unity-lens-trophies |
To post a comment you must log in.
I have no idea if there is some standard approach for that-like bugs, maybe there is something pre-programmed in one of the standard libraries (I failed to find it, though).
However, I think it may be a good idea to send D-Bus message to another instance. If it fails, then it means there is no other instance running, so we continue normally. If it is sent successfully, then we quit immediately, as there must be some other instance of the Viewer running (the receiver). The other instance should react on that D-Bus message by showing accomplishment, whose ID was passed in this message.
Does that make sense?