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 1377260

Summary: Guest console has a larger area of black background in virt-manager after opening 4 display for guest using virt-viewer
Product: Red Hat Enterprise Linux 7 Reporter: mxie <mxie>
Component: virt-managerAssignee: Pavel Hrdina <phrdina>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: juzhou, mzhan, tzheng, xiaodwan
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-08 17:02:18 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:
Attachments:
Description Flags
virt-manager-multiple-display.log
none
screenshot none

Description mxie@redhat.com 2016-09-19 10:31:07 UTC
Created attachment 1202421 [details]
virt-manager-multiple-display.log

Description of problem:
Guest console has a larger area of black background in virt-manager after opening 4 display for guest using virt-viewer

Version-Release number of selected component (if applicable):
virt-viewer-2.0-12.el7.x86_64
spice-gtk3-0.31-6.el7.x86_64
virt-manager-1.4.0-2.el7.noarch
qemu-kvm-rhev-2.6.0-25.el7.x86_64
libvirt-2.0.0-9.el7.x86_64



How reproducible:
100% 

Steps to Reproduce:
1.Prepare a linux guest with spice+qxl mode and service spice-vdagentd is running in guest
# virsh dumpxml rhel6.7withcdrom
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0' state='connected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <graphics type='spice' port='5902' autoport='yes' listen='127.0.0.1'>
      <listen type='address' address='127.0.0.1'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>



2.Open guest's console via virt-viewer and open 4 display by view-> displays
# virt-viewer rhel6.7withcdrom

3.Close virt-viewer of guest via ctrl+c command directly (keep 4 displays of virt-viewer for guest)

4.Open the guest console in virt-manager and find that guest console has a larger area of black background(area of black background =area of 3 displays)and you need to pull the scroll bar to see the graphic, pls refer to screenshot

5.Adjust the console of guest in virt-manager by "view->Scale Display->Auto resize VM with window" option, but use virt-viewer to reconnect vm again, only 1 display showing.


Actual results:
As above description

Expected results:
Guest console which is opened in virt-manager should not be influenced by  multiple displays


Additional info:

Comment 1 mxie@redhat.com 2016-09-19 10:31:43 UTC
Created attachment 1202422 [details]
screenshot

Comment 2 Pavel Hrdina 2017-02-08 17:02:18 UTC
That's because virt-manager doesn't support multiple monitors.

*** This bug has been marked as a duplicate of bug 1339289 ***