Bug 1449572

Summary: Progress bar: progress is not smooth while copying multiple files
Product: Red Hat Enterprise Linux 7 Reporter: Radek Duda <rduda>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.4CC: dblechte, mzhan, pgrunt, rbalakri, spice-qe-bugs, tzheng, victortoso, xiaodwan
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-viewer-5.0-4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 15:06:41 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:

Description Radek Duda 2017-05-10 09:44:19 UTC
Created attachment 1277592 [details]
Screen cast while xfer files

Description of problem:
The purpose of file xfer progress bar is to show how much data were already transmitted from client to guest. Progress of the bar should always have increasing tendency - no data are erased from the guest while transferring files. Nevertheless I found it does not behave correctly when xfer multiple, relatively bigger, files of different size. Progress of the bar in this case is not smooth and sometimes drops to lower value.

Version-Release number of selected component (if applicable):
client (rhel7.4):
spice-gtk3-0.33-3.el7.x86_64

guest (rhel7.4):
spice-vdagent-0.14.0-14.el7.x86_64
also reproducible on Win guests



How reproducible:
almost always - depends on how much differs files in size. Not reproducible with files of the same size

Steps to Reproduce:
1. drag&drop several files of different size from client to guest (recommended size in range (1MB to ~500MB) to have most vivid result)
2.
3.

Actual results:
Progress of the bar is jerky and sometimes drops to the lower values (are we erasing something back?). See attached screen cast.

Expected results:
Progress is smooth and have only increasing tendency.

Comment 2 Victor Toso 2017-05-10 12:39:00 UTC
Could you please check if this is a regression from 7.3?

Proposed fix: https://www.redhat.com/archives/virt-tools-list/2017-May/msg00052.html

Comment 3 Radek Duda 2017-05-11 09:42:11 UTC
Yes I remember there are more progress bars - each for one transferred file back in rhel7.3, so it must be a regression.

Comment 6 Xiaodai Wang 2017-05-22 03:32:10 UTC
I can reproduce it with virt-viewer-5.0-2.el7.x86_64.

then i verified it with virt-viewer-5.0-4.el7.x86_64, the progress bar is smooth now.

so move the bug from ON_QA to VERIFIED.

Comment 7 errata-xmlrpc 2017-08-01 15:06:41 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://access.redhat.com/errata/RHBA-2017:1849