Frank Kobzik has uploaded a new change for review.

Change subject: userportal: Workaround for console resolution adjustment
......................................................................

userportal: Workaround for console resolution adjustment

Spice browser plugin client doesn't adjust screen resolution to client's
settings if adminConsole flag is set to false.

This workaround sets the flag to true.

It should be also safe for future browser plugin clients since they
ignore beforementioned flag.

Change-Id: I1492071a8b94c936baefc4c139826da10792e10c
Bug-Url: https://bugzilla.redhat.com/1069735
Signed-off-by: Frantisek Kobzik <fkob...@redhat.com>
---
M 
frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/uicommon/UserPortalConfigurator.java
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/37/25337/1

diff --git 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/uicommon/UserPortalConfigurator.java
 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/uicommon/UserPortalConfigurator.java
index 9cb9dc4..c6586b5 100644
--- 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/uicommon/UserPortalConfigurator.java
+++ 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/uicommon/UserPortalConfigurator.java
@@ -53,7 +53,10 @@
 
         // This means that it is UserPortal application.
         setIsAdmin(false);
-        setSpiceAdminConsole(false);
+
+        // Setting this is to true workaround for spice browser plugin (if the 
value is true it prevents browser plugin
+        // from adjusting resolution according to client's resolution in 
fullscreen mode).
+        setSpiceAdminConsole(true);
 
         // Add event listeners
         spiceVersionFileFetchedEvent.addListener(this);


-- 
To view, visit http://gerrit.ovirt.org/25337
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1492071a8b94c936baefc4c139826da10792e10c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Frank Kobzik <fkob...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to