Bug 958550
| Summary: | Killing first virt-viewer display (Main display in Windows) of 4 will result in no functionality of remaining 3 virt-viewer windows. | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Bill Sanford <bsanford> | |
| Component: | mingw-virt-viewer | Assignee: | Marc-Andre Lureau <marcandre.lureau> | |
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 3.2.0 | CC: | acathrow, cfergeau, cpelland, dblechte, iheim, marcandre.lureau, mkrcmari, pvine, vipatel | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | 3.3.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | spice | |||
| Fixed In Version: | mingw-virt-viewer-0.5.6-3.el6_4 | Doc Type: | Bug Fix | |
| Doc Text: |
When disabling the first display of a multi-display setup, remote-viewer would hide it, but not indicate to the guest that it was disabled. If the first display was the primary one for the guest, the start menu and windows on that display were hidden away.
To fix this, the monitor for the guest is disabled in addition to hiding the window. This will cause the guest to rearrange the first display content in the other visible displays.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 973660 (view as bug list) | Environment: | ||
| Last Closed: | 2014-01-21 14:45:33 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | Spice | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 953973, 961297, 973726 | |||
| Bug Blocks: | 973660 | |||
|
Description
Bill Sanford
2013-05-01 19:53:21 UTC
First, what is it that you call "no functionality"? The fact that the windows start menu and taskbar isn't visible? Or input is disabled? or display is frozen or black? When I disable the first display, the other displays are still functionnal. But there are 2 issues: 1) for legacy reasons, virt-viewer doesn't disable the monitor #0 (so the "main" guest display isn't updated to a visible/enabled one), this can trivially be changed in virt-viewer by removing the if (nth != 0) condition 2) agents don't support disabling first monitors very well. - Windows agent doesn't support sparse monitors: bug 953973 - Linux agent raises X error when disabling & enabling first monitor Since there is a workaround and this is not a main feature, and also because the extra display are still usable, I suggest the severity be lowered and the bug moved to 3.3 (In reply to comment #1) > First, what is it that you call "no functionality"? The fact that the > windows start menu and taskbar isn't visible? Or input is disabled? or > display is frozen or black? In my case, simply I lose primary monitor so I cannot see taskbar and the start menu indeed, as well as The primary monitor is not disabled so I lose all the windows placed on the monitor or anything which opens on primary monitor. > > When I disable the first display, the other displays are still functionnal. > > But there are 2 issues: > > 1) for legacy reasons, virt-viewer doesn't disable the monitor #0 (so the > "main" guest display isn't updated to a visible/enabled one), this can > trivially be changed in virt-viewer by removing the if (nth != 0) condition > > 2) agents don't support disabling first monitors very well. > - Windows agent doesn't support sparse monitors: bug 953973 > - Linux agent raises X error when disabling & enabling first monitor I get the same as Marian. That is why I said in expected behavior: "The main window (Windows config) should be switched over to the next usable screen. If it the only screen remaining, it should act like a File -> Exit." With Windows, you cannot "Disconnect this display" (The Main display) unless you make another display the main display. The fact that virt-viewer closes the first display without making another active display the "Main" display, is the issue here. (In reply to comment #5) > With Windows, you cannot "Disconnect this display" (The Main display) unless > you make another display the main display. The fact that virt-viewer closes > the first display without making another active display the "Main" display, > is the issue here. it's not the role of virt-viewer or spice to make a display "main", the agent/OS already guarantees that. You're right. However, it is virt-viewer's role to keep multi-display functional. Before you deselect the display (That is the main display in the OS), maybe v-v can check and error if you are trying to close the "Main display" of the OS? (In reply to comment #7) > You're right. However, it is virt-viewer's role to keep multi-display > functional. Before you deselect the display (That is the main display in the > OS), maybe v-v can check and error if you are trying to close the "Main > display" of the OS? It doesn't have this knowledge, not do I think it should have. This bug is all about the display 0 not being disabled by virt-viewer, imho. The fact that the display is main or not is irrelevant here, as it is more a guest concept than a hw config one. At the minimum, we need to get this to the Doc folks. I have set the flag for release note. patch sent to ML for case 1. https://www.redhat.com/archives/virt-tools-list/2013-May/msg00017.html Adding sparse monitor support bug dependency Adding 1st monitor crash linux vdagent bug dependency This bug is currently attached to errata RHEA-2013:15512. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag. Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information: * Cause: What actions or circumstances cause this bug to present. * Consequence: What happens when the bug presents. * Fix: What was done to fix the bug. * Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore') Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug. For further details on the Cause, Consequence, Fix, Result format please refer to: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks in advance. 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-0034.html |