disable resizing when browser is resized

134 views
Skip to first unread message

Tiggy

unread,
Apr 27, 2012, 10:08:17 AM4/27/12
to AndroidRemote
Hi there,

I am currently demo-ing your html5 spark gateway. Every time the
browser is re-sized, it will kick you out of the session and you will
have to enter your credentials again or it will reinitialize the login
sequence. This is an undesired feature for us. Is there a way to
disable this feature (auto resizing)?

Thanks for your help,
Gene

Support Remote

unread,
Apr 27, 2012, 1:32:05 PM4/27/12
to androi...@googlegroups.com
Hi Gene,

Please set rdp.reconnectOnResize = false on the client side (the javascript library).

Walter


--
You received this message because you are subscribed to the Google Groups "AndroidRemote" group.
To post to this group, send email to androi...@googlegroups.com.
To unsubscribe from this group, send email to androidremot...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/androidremote?hl=en.


gkl...@gmail.com

unread,
Apr 30, 2012, 10:26:57 AM4/30/12
to androi...@googlegroups.com
Walter,

Do you mean to do the following

In the file html/appcfg.js , there is a directive that I changed from true to false
reconnectOnResize: false

If so, it does not seem to prevent the resizing.

Thanks in advance for any additional help.
 -Gene



On Friday, April 27, 2012 1:32:05 PM UTC-4, Support Remote wrote:
Hi Gene,

Please set rdp.reconnectOnResize = false on the client side (the javascript library).

Walter
On Fri, Apr 27, 2012 at 8:08 AM, Tiggy <gkl...@gmail.com> wrote:
Hi there,

I am currently demo-ing your html5 spark gateway.  Every time the
browser is re-sized, it will kick you out of the session and you will
have to enter your credentials again or it will reinitialize the login
sequence.  This is an undesired feature for us.  Is there a way to
disable this feature (auto resizing)?

Thanks for your help,
Gene

--
You received this message because you are subscribed to the Google Groups "AndroidRemote" group.
To post to this group, send email to androi...@googlegroups.com.
To unsubscribe from this group, send email to androidremote+unsubscribe@googlegroups.com.

Support Remote

unread,
Apr 30, 2012, 12:12:17 PM4/30/12
to androi...@googlegroups.com
Hi Gene,

You can do it directly in rdp.html, rdpdirect.html, like:

r.onerror = function(e){
console.log(e.name + ":" + e.message);
};
        r.reconnectOnResize = false;
r.run();

You can also do it in appcfg..js, but you must make include this file in your html page.

Regards,

Walter

To view this discussion on the web visit https://groups.google.com/d/msg/androidremote/-/lPBBfvpKt_0J.

To post to this group, send email to androi...@googlegroups.com.
To unsubscribe from this group, send email to androidremot...@googlegroups.com.

SparkUser

unread,
Nov 17, 2012, 4:05:29 PM11/17/12
to androi...@googlegroups.com, sup...@toremote.com
Is this a bug or not? I'm also seeing users get kicked from the gateway when resizing windows. Rather than turn it off in the code, is this bug being fixed?
To unsubscribe from this group, send email to androidremot...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/androidremote?hl=en.

--
You received this message because you are subscribed to the Google Groups "AndroidRemote" group.

Walter Wang

unread,
Nov 17, 2012, 5:14:03 PM11/17/12
to androi...@googlegroups.com
This reconnect on resize is a feature, not a bug. With this, the user can reconnect to same session with a new resolution (current Windows size).

You can disable it if you don't want it, actually most of the users love this feature.

Walter

To view this discussion on the web visit https://groups.google.com/d/msg/androidremote/-/gkB_0I6dS0EJ.
Reply all
Reply to author
Forward
0 new messages