Frank Kobzik has uploaded a new change for review.

Change subject: frontend: force admin-console only on AdminPortal
......................................................................

frontend: force admin-console only on AdminPortal

In RHEV 3.1, the UserPortal discovered to force the AdminConsole which is not
expected behavior and will cause the 3.0 spice client to not auto-adjust to the
client's screen resolution.

Steps to Reproduce:
1. Install RHEV 3.1
2. Continue to use 3.0 spice-client
3. Open UserPortal
4. Connect to Spice console

Fixed by setting the AdminConsole flag in UserPortal properly.

Change-Id: I6a5cefd4ba86bdad46851381c1973141e19979ff
Signed-off-by: Frantisek Kobzik <fkob...@redhat.com>
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=905157
---
M 
frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/uicommon/UserPortalConfigurator.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/84/11484/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 abef553..546f799 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
@@ -52,6 +52,7 @@
 
         // This means that it is UserPortal application.
         setIsAdmin(false);
+        setSpiceAdminConsole(false);
 
         // Add event listeners
         spiceVersionFileFetchedEvent.addListener(this);


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6a5cefd4ba86bdad46851381c1973141e19979ff
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