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 1009513 - [remote-viewer] New display opens in fullscreen
Summary: [remote-viewer] New display opens in fullscreen
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-viewer
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jonathon Jongsma
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1009648 1022426
TreeView+ depends on / blocked
 
Reported: 2013-09-18 14:56 UTC by Tomas Jamrisko
Modified: 2014-10-14 06:29 UTC (History)
12 users (show)

Fixed In Version: virt-viewer-0.6.0-1.el6
Doc Type: Bug Fix
Doc Text:
Connecting to a server with --fullscreen=auto-conf, leaving fullscreen and then opening another display results in the second display opening in fullscreen. After this change, the new display will open in window mode after leaving fullscreen, as expected.
Clone Of:
: 1022426 (view as bug list)
Environment:
Last Closed: 2014-10-14 06:29:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1379 0 normal SHIPPED_LIVE virt-viewer bug fix update 2014-10-14 01:05:43 UTC

Description Tomas Jamrisko 2013-09-18 14:56:17 UTC
Description of problem:

Connecting to a RHEL6.5 x86 guest with --fullscreen=auto-conf (or from RHEVM with fullscreen enabled), leaving fullscreen and then opening another display results in the second display opening in fullscreen. 

Client had two physical monitors

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

How reproducible:
Always

Steps to Reproduce:
1. Connect to a guest with fullscreen
2. leave fullscreen
3. Open a second display

Actual results:
The new window gets open in fullscreen

Comment 2 Marc-Andre Lureau 2013-09-21 14:46:05 UTC
What's wrong about that behaviour? What would you expect instead?

Comment 3 Tomas Jamrisko 2013-09-24 10:36:21 UTC
Well, maybe it's just me, but there's usually a reason for leaving fullscreen -> it feels like we're forcing the user to a state he doesn't want to be in. I'd expect the additional open displays to mirror the previous ones (windowed -> windowed, fullscreen -> fullscreen) instead of mixing them.

This obviously needs input from more people...

Comment 4 Marc-Andre Lureau 2013-09-24 10:54:44 UTC
(In reply to Tomas Jamrisko from comment #3)
> Well, maybe it's just me, but there's usually a reason for leaving
> fullscreen -> it feels like we're forcing the user to a state he doesn't
> want to be in. I'd expect the additional open displays to mirror the
> previous ones (windowed -> windowed, fullscreen -> fullscreen) instead of
> mixing them.
> 
> This obviously needs input from more people...

Sorry, I missed you said after "leaving fullscreen". Right, that looks like a bug then.

Comment 5 CongDong 2013-10-23 09:19:10 UTC
I can reproduce this with:
virt-viewer-0.5.6-8.el6.x86_64

Steps to Reproduce:
1. Connect to a guest with fullscreen
2. leave fullscreen
3. Open a second display

Result:
The new window gets open in fullscreen.

Comment 6 Jonathon Jongsma 2013-11-08 16:10:01 UTC
Patch sent upstream to fix this: https://www.redhat.com/archives/virt-tools-list/2013-November/msg00028.html

Comment 7 Jonathon Jongsma 2013-11-13 16:12:44 UTC
patch applied upstream

Comment 10 zhoujunqin 2014-06-09 09:54:13 UTC
Prepare a client has two physical monitors.

I can reproduce with package: virt-viewer-0.5.6-10.el6.x86_64
with following steps:
1. Connect to a guest with fullscreen
# virt-viewer sound -f
2. leave fullscreen
3. click View---->Display(We can see Display 1 and Display 2 are checked auto.)-----> uncheck Display 2 (only left 1 display).
4. close virt-viewer, and run Step 1 again.
the guest shows with 1 display.
5. leave fullscreen
6. Open a second display (View---->Display----->check Display 2)
Results: the new window (Display 2) gets open in fullscreen.

but when i try to verify this bug with new build: virt-viewer-0.6.0-5.el6.x86_64, met some issue.

After step4, the guest always showing with two display together, so i cannot verify the bug.

So Jonathon Jongsma, is this the expected result, please help me have a look, thanks.

Comment 11 Jonathon Jongsma 2014-06-09 15:51:06 UTC
It is expected that starting virt-viewer with -f will always do auto-conf (enable both displays) in 0.6.0.  To verify this bug, you can simply try to open one additional display (e.g. display 3) and see if that opens in fullscreen.

Comment 12 zhoujunqin 2014-06-12 05:07:41 UTC
Thanks for Jonathon Jongsma's help, i verified with build virt-viewer-0.6.0-5.el6.x86_64 again.

steps:
Prepare a client has two physical monitors.

1. prepare a running guest.
# virsh dominfo sound
Id:             1
Name:           sound
UUID:           31df9b0e-1883-758a-118e-72590803ed12
OS Type:        hvm
State:          running
CPU(s):         1
CPU time:       91.5s
Max memory:     1048576 KiB
Used memory:    1048576 KiB
Persistent:     yes
Autostart:      disable
Managed save:   no
Security model: selinux
Security DOI:   0
Security label: system_u:system_r:svirt_t:s0:c18,c272 (enforcing)

2. setup the environment for open only 1 display when you start in fullscreen.
2.1 close virt-viewer/remote-viewer
2.2 add the following content to file ~/.config/virt-viewer/settings, save and exit.

[31df9b0e-1883-758a-118e-72590803ed12]----->>>UUID of your guest
monitor-mapping=1

3. connect to a guest with fullscreen
# virt-viewer sound -f

4. leave fullscreen 

5. open a second display (View---->Display----->check Display 2)
result: display 2 opens in window mode.
so changed from ON_QA to verified.

Comment 13 errata-xmlrpc 2014-10-14 06:29:54 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.

http://rhn.redhat.com/errata/RHBA-2014-1379.html


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