GNOME Bugzilla – Bug 787257
Usage doesn't work in multiple instances
Last modified: 2017-09-06 10:16:40 UTC
Opening gnome-usage multiple times simultaneously causes the first instance (window) to work properly and the other ones don't show plenty of the desired information. gnome-system-monitor didn't allow multiple instances of it, and it seems reasonable to import this behavior to gnome-usage, IMO. If we want to support multiple instances, the code will need some major decoupling regarding the Window object and other singletons that are instantiated at the GtkApplication level. For now the best solution seems to be just to prevent multiple instances from being launched.
Created attachment 359079 [details] [review] application: Make sure there's just a single Window instance
Review of attachment 359079 [details] [review]: Accepted.
I'll try to explore how big changes would be needed to support multiple instances.
Attachment 359079 [details] pushed as 309db9b - application: Make sure there's just a single Window instance Thanks Petr! (In reply to Petr Štětka from comment #3) > I'll try to explore how big changes would be needed to support multiple > instances. We could ask a designer whether this is desirable. There's no point in putting your time to this if it is not wanted.