Bug 1069735 - guest not resized on entering full-screen after upgrade to RHEV 3.3
Summary: guest not resized on entering full-screen after upgrade to RHEV 3.3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: mingw-virt-viewer
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 3.4.0
Assignee: Marc-Andre Lureau
QA Contact: Desktop QE
URL:
Whiteboard: spice
: 1038727 (view as bug list)
Depends On: 1009648
Blocks: 1072968
TreeView+ depends on / blocked
 
Reported: 2014-02-25 15:11 UTC by Luca Villa
Modified: 2019-04-28 10:45 UTC (History)
15 users (show)

Fixed In Version: mingw-virt-viewer-0.5.6-21.el6_5
Doc Type: Bug Fix
Doc Text:
Previously, upgrading a VDI infrastructure to RHEV 3.3, launching the client using Internet Explorer, and setting the display to full-screen caused unexpected behavior. The display did not resize to full-screen. After fixing the problem, the screen resizes properly.
Clone Of:
: 1072968 (view as bug list)
Environment:
Last Closed: 2014-06-09 12:51:52 UTC
oVirt Team: Spice
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
quick fix (1.86 KB, patch)
2014-02-26 11:37 UTC, Marc-Andre Lureau
jjongsma: review+
Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 767313 0 None None None Never
Red Hat Product Errata RHBA-2014:0644 0 normal SHIPPED_LIVE rhevm-spice-client bug fix and enhancement update 2014-06-09 16:49:53 UTC
oVirt gerrit 25337 0 None ABANDONED userportal: Workaround for console resolution adjustment Never

Comment 9 Marc-Andre Lureau 2014-02-26 11:37:26 UTC
Created attachment 867938 [details]
quick fix

Comment 11 Jonathon Jongsma 2014-02-26 17:13:27 UTC
Comment on attachment 867938 [details]
quick fix

ACK.  It looks correct, and I've verified that it fixes the problem.

Comment 16 Michal Skrivanek 2014-03-04 15:04:52 UTC
the pre-3.3 behavior from RHEV is to always send admin_console==true (whereas in 3.3 the behavior is to send true for webadmin and false for user portal)

The relevant piece of code from xpi plugin does the following:

SendValue(CONTROLLER_FULL_SCREEN,
     (m_fullscreen == PR_TRUE ? CONTROLLER_SET_FULL_SCREEN : 0) |
     (m_admin_console == PR_FALSE ? CONTROLLER_AUTO_DISPLAY_RES : 0));

as confirmed with Jonathon it should be fine for RHEV 3.3 client and upstream SPICE client to again always send admin_console==true (fixes the bug for rhev client, and on upstream spice client the auto_display_res part is being ignored anyway)

This should be verified on all client variations...just to be sure:)

Comment 17 Michal Skrivanek 2014-03-04 15:59:34 UTC
alright, tested the behavior with Marian it doesn't seem as an option anymore

The problem is that by reverting the above change the feature of fullscreen opening on multiple displays breaks.

to summarize the behavior:
REHV 3.3/oVirt, current RHEL/Fedora or Win client:
current - UP - opens on 2 screen, resize doesn't change resolution (this bug)
          WA - opens on 1 screen, resize works
proposed - essentially UP would behave as WA


RHEV 3.3/oVirt, testing scratch build client:
current - UP - opens on 2 screen, resize works
          WA - opens on 1 screen, resize works


So it seems the proposed change would cause another regression and the only option is to ship/release the fixed client by Marc-Andre

Comment 18 David Blechter 2014-03-04 17:41:40 UTC
(In reply to Michal Skrivanek from comment #17)
> alright, tested the behavior with Marian it doesn't seem as an option anymore
> 
> The problem is that by reverting the above change the feature of fullscreen
> opening on multiple displays breaks.
> 
> to summarize the behavior:
> REHV 3.3/oVirt, current RHEL/Fedora or Win client:
> current - UP - opens on 2 screen, resize doesn't change resolution (this bug)

This is exactly how it was in rhevm 3.2, and we should should keep it this way. 

>           WA - opens on 1 screen, resize works
> proposed - essentially UP would behave as WA
> 
> 
> RHEV 3.3/oVirt, testing scratch build client:
> current - UP - opens on 2 screen, resize works
>           WA - opens on 1 screen, resize works
> 
> 
> So it seems the proposed change would cause another regression and the only
> option is to ship/release the fixed client by Marc-Andre

We want exact the same behavior connecting to both rhevm 3.2 and rhevm 3.3.
No regressions, no improvements.

Comment 22 Marc-Andre Lureau 2014-03-05 13:11:06 UTC
mingw-virt-viewer-0.5.6-20.el6_5 ready, now needs .cab update

Comment 24 David Jaša 2014-03-12 13:56:03 UTC
*** Bug 1038727 has been marked as a duplicate of this bug. ***

Comment 27 errata-xmlrpc 2014-06-09 12:51:52 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-0644.html


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