Controlling screen resolution on web HTML 5 clients

Get help with troubleshooting issues
Post Reply
Robert
Posts: 20
Joined: Fri Mar 07, 2014 9:27 pm

Controlling screen resolution on web HTML 5 clients

Post by Robert » Mon Jul 07, 2014 5:48 pm

Hi,
When creating a TSplus windows/ java client, there is an option to set or fix screen resolution of the client. With HTML 5 clients, there does not appear to be any way to control the screen resolution of the client or color depth bits of the client. In TSplus version 7.30, the screen resolution appeared fixed and to us, the text was very readable. Although after client is started, resizing the browser window would not change the TSplus client screen and thus some of the client screen would only be accessible by the browsers scroll bars. After upgrading to TS 7.50, resizing the browser window would resize the client screen as well. Which is nice, but bigger problems are occurring. On some computers (those that are capable to show higher resolutions than desired) the initial resolution of the client screen is much higher than the resolution user’s current computer’s screen resolution, thus the fonts on the screen are very small and can be hard to read. Is there anyway to control or set a maximum resolution of the TSPlus HTML 5 client web page? Likewise, the applications that we are using do not need 32bits of color depth. We would like to use the small bandwith of a 16 bit colour depth. Is there anyway to set the HTML 5 client web page color depth? Windows will not let RDP clients change screen resolution or color depth.

Rob

More Information
OK, through experimentation, I found out that the resolution of the initial screen is kept in two cookies (xdW and xdH) on the client. And wherever the HTML 5 client was opened the initial screen resolution of client portion of the browser is stored. In my case, I have a notebook attached to a monitor with a much higher resolution than the notebook screen. I must have opened the browser for a TSPlus session on the monitor first. Then when I moved the browser to the notebook the RDP session resolution is still set at the monitor resolution and thus the font is very small. Clearing these cookies will allow the client screen resolution to be set at the current screen that the browser is on. However, since this resolution is kept, thus when starting as session on a browser window at a different size, the stored resolution is used. It would be nice to have control of the resolution used, or at least be able to set the expiry dates of the cookies to a day.

Thanks,
Rob.

jkuijt
Posts: 114
Joined: Sat Jan 04, 2014 1:41 pm

Re: Controlling screen resolution on web HTML 5 clients

Post by jkuijt » Tue Jul 08, 2014 1:57 pm

Hi Rob,

When we upgraded from 7.30 to 7.50 we also saw the "auto resizing" in the browser, which we don't like at all.
But to turn this off, edit the file:
...\TSplus\Clients\www\software\html5\settings.js

and set:
smartfit = false;

After that you have the behavior of version 7.30 and lower.

Best regards
Jeffrey

Robert
Posts: 20
Joined: Fri Mar 07, 2014 9:27 pm

Re: Controlling screen resolution on web HTML 5 clients

Post by Robert » Tue Jul 08, 2014 4:56 pm

Hello Jeffery,
Thank-you for your reply. This helps us.
Do you use HTML 5 Web Credentials? Is there any way to make incorrect "log on" display a message then return to front page like in version 7.30? In version 7.50 an incorrect "log on" with Web Credentials displays the Windows User Log on Screen which makes no sense.

Robert

jkuijt
Posts: 114
Joined: Sat Jan 04, 2014 1:41 pm

Re: Controlling screen resolution on web HTML 5 clients

Post by jkuijt » Tue Jul 08, 2014 5:56 pm

Hi Robert,

Sorry, can't help you with this, because we don't use the Web Credentials.
So I hope team TSplus wil fix this soon and I know they will, because their support rocks! :D

Best regards
Jeffrey

jamesrudy
Posts: 2
Joined: Sat Mar 28, 2015 7:13 am

Re: Controlling screen resolution on web HTML 5 clients

Post by jamesrudy » Sun Mar 29, 2015 1:34 am

Is there any way to fix the app running to the center of the browser so that a visitor to the page cannot move the application around like as if on a desktop?

Thank you!!

Post Reply