RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1496356 - RFE: improve error dialog when file transfer fail
Summary: RFE: improve error dialog when file transfer fail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: virt-viewer
Version: 8.1
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Kevin Pouget
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-27 07:38 UTC by Xiaodai Wang
Modified: 2020-11-14 11:42 UTC (History)
8 users (show)

Fixed In Version: virt-viewer-7.0-7.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 21:22:11 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
dialog of file transfter failed (380.04 KB, image/png)
2017-09-27 07:41 UTC, Xiaodai Wang
no flags Details
a better error dialog example which can hide the detailed information (96.90 KB, image/png)
2017-09-27 07:42 UTC, Xiaodai Wang
no flags Details
error window overflowing with too many files (647.17 KB, image/png)
2019-08-01 15:09 UTC, Kevin Pouget
no flags Details
screenshot for verification (1.99 MB, image/png)
2019-08-20 09:51 UTC, zhoujunqin
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3478 0 None None None 2019-11-05 21:22:28 UTC

Description Xiaodai Wang 2017-09-27 07:38:40 UTC
Description of problem:
when too many files fail to be transferred, a long list of those file names display in the dialog. It's better to fold those detailed error information as virtmanager does.

Version-Release number of selected component (if applicable):
virt-viewer-5.0-7.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Disable file transfer function in xml.

    <graphics type='spice' autoport='yes' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
      <filetransfer enable='no'/>
    </graphics>
2. Drag 20 files into the guest.
3. Check the error dialog.

Actual results:
All failed filenames are list and make the dialog becomes very high.

Expected results:
It's better to fold detailed error information.

Additional info:
Please see the screenshots of virt-viewer and virt-manager for reference.

Comment 3 Xiaodai Wang 2017-09-27 07:41:40 UTC
Created attachment 1331332 [details]
dialog of file transfter failed

Comment 4 Xiaodai Wang 2017-09-27 07:42:40 UTC
Created attachment 1331333 [details]
a better error dialog example which can hide the detailed information

Comment 5 David Blechter 2018-12-10 17:05:28 UTC
RFE is moving to rhel 8, where it will be triaged and prioritized

Comment 6 Kevin Pouget 2019-08-01 15:09:36 UTC
Created attachment 1598072 [details]
error window overflowing with too many files

problem confirmed, the file list might grow bigger than the screen when a lot of files are transfered

Comment 7 Kevin Pouget 2019-08-02 08:55:06 UTC
Patch posted on the virt-tools mailing list:

> https://www.redhat.com/archives/virt-tools-list/2019-August/msg00000.html

Comment 8 Kevin Pouget 2019-08-09 07:11:41 UTC
Patch merged upstream:

> https://pagure.io/virt-viewer/c/a2a372ac2d33893cf1bc76aa0dc0612ebc950d77?branch=master

Comment 9 zhoujunqin 2019-08-20 09:50:21 UTC
Reproduce with:
virt-viewer-7.0-6.el8.x86_64

Steps:

Steps to Reproduce:
1. Disable file transfer function in xml.

    <graphics type='spice' port='5900' autoport='yes' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
      <filetransfer enable='no'/>
    </graphics>

2. Drag about 50 files into the guest.
3. Check the error dialog.

Result:
All failed file names are listed and file list grew bigger than the screen.

Verify with:
virt-viewer-7.0-7.el8.x86_64
libgovirt-0.3.4-9.el8.x86_64

Steps as above:
After step3, all failed transferred files list are inserted inside a scrollable widget, the title is 'Transfer error'.
It is as expected.
Details please see verification.png attachment, thanks.

Comment 10 zhoujunqin 2019-08-20 09:51:08 UTC
Created attachment 1606031 [details]
screenshot for verification

Comment 12 zhoujunqin 2019-08-21 13:37:20 UTC
I move this bug from ON_QA to VERIFIED based on Comment 9 testing, thanks.

Comment 14 errata-xmlrpc 2019-11-05 21:22:11 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-2019:3478


Note You need to log in before you can comment on or make changes to this bug.