After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 683465 - display confusion when resuming suspended boxes
display confusion when resuming suspended boxes
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
3.5.x (unsupported)
Other Linux
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks: 686781
 
 
Reported: 2012-09-06 07:29 UTC by Christophe Fergeau
Modified: 2016-03-31 13:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libvirt-machine: Make start() method cancellable (2.64 KB, patch)
2013-03-28 01:47 UTC, Zeeshan Ali
committed Details | Review
machine: Make connecting process cancellable (3.64 KB, patch)
2013-03-28 01:47 UTC, Zeeshan Ali
committed Details | Review
app: Cancel connection on going to COLLECTION view (911 bytes, patch)
2013-03-28 01:47 UTC, Zeeshan Ali
committed Details | Review

Description Christophe Fergeau 2012-09-06 07:29:10 UTC
- Start 2 boxes
- Exit Boxes
(the 2 running boxes will get suspended to disk)
- Restart Boxes
- Start one of the suspended box
- Wait until it's resumed and Boxes connects to its display
- Go back to the collection view
- Click on the second box
- While it's restoring, go back to the collection view, and connect to the first box
- When the 2nd box is done resuming, the 1st box display will be replaced by the 2nd's
Comment 1 Zeeshan Ali 2013-03-28 00:35:07 UTC
Seems this bug is not as bad as it used to be anymore. Now the display is replaced in the end for only a brief period of time (<=1sec here), at least in my tests so far.
Comment 2 Zeeshan Ali 2013-03-28 01:47:02 UTC
Created attachment 240004 [details] [review]
libvirt-machine: Make start() method cancellable
Comment 3 Zeeshan Ali 2013-03-28 01:47:08 UTC
Created attachment 240005 [details] [review]
machine: Make connecting process cancellable
Comment 4 Zeeshan Ali 2013-03-28 01:47:12 UTC
Created attachment 240006 [details] [review]
app: Cancel connection on going to COLLECTION view

Cancel in-progress connection to currently selected item when going back
to COLLECTION view.
Comment 5 Zeeshan Ali 2013-03-28 01:47:48 UTC
These patches fixes the problem for me.
Comment 6 Zeeshan Ali 2013-04-05 16:30:43 UTC
Attachment 240004 [details] pushed as 426b2d1 - libvirt-machine: Make start() method cancellable
Attachment 240005 [details] pushed as dffb512 - machine: Make connecting process cancellable
Attachment 240006 [details] pushed as 993952e - app: Cancel connection on going to COLLECTION view

Rebased and tested before pushing.