Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1021350

Summary: Remote-Viewer: Remove Unnecessary Warning Log
Product: Red Hat Enterprise Linux 7 Reporter: tingting zheng <tzheng>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: cfergeau, codong, dblechte, dyuan, jjongsma, marcandre.lureau, mzhan, rbalakri, tzheng, vipatel
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: virt-viewer-0.6.0-1.el7 Doc Type: Bug Fix
Doc Text:
Cause: Consequence: A meaningless warning was printed to the console when exiting the application by disabling the last display Fix: Remove warning Result: No warnings when exiting the application
Story Points: ---
Clone Of: 1007494 Environment:
Last Closed: 2015-03-05 13:38:13 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: 1007494    
Bug Blocks:    

Description tingting zheng 2013-10-21 07:04:12 UTC
The bug can also be reproduced on rhel7,so cloned the bug.

+++ This bug was initially created as a clone of Bug #1007494 +++

Description of problem:
When closing out a remote-viewer window by selecting View->Displays->Display 1 menu option, remote viewer closes out as expected; however, it prints an unnecessary warning logging message (to stdout):

(remote-viewer:12475): remote-viewer-WARNING **: (virt-viewer-app.c:346):virt_viewer_app_window_set_visible: code should not be reached.

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

How reproducible:
100%

Steps to Reproduce:
1. connect to a VM using remote-viewer spice://<host>:<port>
2. close the rv window by selecting View->Displays->Display 1
3.

Actual results:
warning log displayed:
(remote-viewer:12475): remote-viewer-WARNING **: (virt-viewer-app.c:346):virt_viewer_app_window_set_visible: code should not be reached.

Expected results:
no logs

Additional info:

--- Additional comment from RHEL Product and Program Management on 2013-09-12 11:22:59 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 tingting zheng on 2013-10-21 02:58:31 EDT ---

I can reproduce this bug with:virt-viewer-0.5.6-8.el6.x86_64

Comment 1 CongDong 2013-11-21 03:19:09 UTC
I can reproduce this with:
virt-viewer-0.5.7-2.el7.x86_64

Steps:
1. connect to a VM using remote-viewer spice://<host>:<port>
2. close the rv window by selecting View->Displays->Display 1

Result:
warning log displayed:
(remote-viewer:3106): remote-viewer-WARNING **: (virt-viewer-app.c:354):virt_viewer_app_window_set_visible: code should not be reached

Comment 2 Marc-Andre Lureau 2013-11-21 10:25:05 UTC
sent patch:
https://www.redhat.com/archives/virt-tools-list/2013-November/msg00089.html

Comment 3 Jonathon Jongsma 2014-07-10 02:35:33 UTC
fixed by rebase to 0.6.0

Comment 5 tingting zheng 2014-07-22 05:41:49 UTC
I can reproduce this bug with:
virt-viewer-0.5.7-7.el7.x86_64

Tested pass with:
virt-viewer-0.6.0-1.el7.x86_64

Steps are refer to the description,since no such warning info shows,move the bug to VERIFIED.

Comment 7 errata-xmlrpc 2015-03-05 13:38:13 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-2015-0295.html