Bug 1326518

Summary: RFE: add progress bar for drag-and-drop copying.
Product: Red Hat Enterprise Linux 7 Reporter: Jonathon Jongsma <jjongsma>
Component: spice-gtkAssignee: Default Assignee for SPICE Bugs <rh-spice-bugs>
Status: CLOSED ERRATA QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: astepano, dblechte, jjongsma, lmiksik, marcandre.lureau, pgrunt, rbalakri, rduda, tpelka, virt-bugs
Target Milestone: rcKeywords: FutureFeature, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spice-gtk-0.31-2.el7 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1324521 Environment:
Last Closed: 2016-11-04 01:17:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1324521, 1329973, 1332180    
Bug Blocks:    

Description Jonathon Jongsma 2016-04-12 21:05:11 UTC
+++ This bug was initially created as a clone of Bug #1324521 +++

As you know, Spice protocol supports drag-and-drop files from client to guest. This is very cool feature. It would be really cool to have a progress bar for copying process. Files can be very big in size. As a user release mouse's  button file immediately appears on VM. But, it is not very clear when copying process is finished. The time for copying greatly depends on network's condition. User can start using file before it is actually copied. I am not sure where to show this progress bar, as remote-viewer can consume whole client's display. Maybe, it can be shown not by remote-viewer, but by spice-vdagent.

--- Additional comment from Marc-Andre Lureau on 2016-04-06 10:21:29 EDT ---

(In reply to Andrei Stepanov from comment #0)
> I am not sure where to show this progress bar, as remote-viewer can consume
> whole client's display. Maybe, it can be shown not by remote-viewer, but by
> spice-vdagent.

even better, by the guest OS/desktop itself by implementing proper drag and drop (not a "fake dnd" / copy files).

--- Additional comment from RHEL Product and Program Management on 2016-04-06 10:34:52 EDT ---

Since this bug report was entered in bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

--- Additional comment from Jonathon Jongsma on 2016-04-08 13:58:48 EDT ---

There is a patch series posted here that adds a progress dialog to virt-viewer: https://www.redhat.com/archives/virt-tools-list/2016-April/msg00013.html

Comment 1 Jonathon Jongsma 2016-04-12 21:09:01 UTC
The required functionality was added to spice-gtk 0.31. Alternately, we would probably need to backport the following spice-gtk patches:

2c26ee3c37691f51e1746d9d1004635dd356c28a
401275b10abcf6c9fbbc426b40629eac2202044f
df331737d1c9ab5e680dfb3fd91897f3179cf4b6
4da4d9201cc3f86e38f00388cdd6157fe70e3328

Comment 2 Pavel Grunt 2016-05-03 08:30:01 UTC
Due to the rebase the patches are in the latest build.

Comment 7 errata-xmlrpc 2016-11-04 01:17:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2229.html