Start a new topic

Zoom chagnes in Chrome tabs

 I have a strange one.


When I have a tab open to say an Admin Web UI.  2 I use often are vSphere vCenter and Nutanix Prism Elements.


If I am logged in everything is fine.  If however the page times out the zoom changes.  I can't tell exactly how zoom but looks like maybe 120%.


If can fix it by either closing and reopening the tab, or if I right click the tab and choose reconnect.  Then zoom goes back to normal.


Other than being a little annoying not a big deal, just wondering if anyone else has seen this.  I have the latest version, and this didn't used to be a thing.  It started happening in the last couple weeks.  No settings changes to application.


Thanks.


Hi James,


that's indeed a strange one. I personally haven't seen this behavior and I'm also not sure how to reproduce it.


Do you have a public website where this behavior can be observed?

Also, are you running Royal TS on a high DPI screen or multiple screens with different DPI settings?


I've double checked our code and I can't really find anything which can cause this, so I guess this is related to the Chromium engine we use. If we can reproduce the issue, we can file a report with the vendor to look into it.


Regards,
Stefan

I don't have a public website, but I can attach some images here.


I found that I can do a page refresh as well using the button at the top and the page zoom returns to normal.


Thinking more on it, I think I remember how it started.  I was using zoom for something else and I believe I accidentally changed window focused onto Royal TS and then zoomed the page. I did a CTRL+0 to return the window to normal as the CTRL+Scrollwheel method was difficult to realize when it was back to 100%.


Here are a couple screen shots of before and after on two different pages.


image


After a page refresh:

image


Here is a Citrix Cloud login page as well.  This is before:

image


And this is after I refreshed the page:

image


I think I just figured something out.  There appears to be a mismatch between what Royal TS thinks is 100% and what is really 100% zoom.  I noticied on this vshpere login page that zoomed in.  So I attemtped to use CTRL+0 to reset and that didn't seem to have any effect.


I then used CTRL+(SCROLLWHEEL) and noticed at the bottom that Royal TS was telling me what the Zoom factor was set at.  Notice in this screenshot it says Set to 100% but it is larger than 100%!


image


Then I did a page refresh again and the page did return back to the real 100% zoom.

image


Are you running Royal TS on a high DPI screen or multiple screens with different DPI settings by any chance?

Ah, sry missed answering that question.  I do have 3 screens. The laptop appears to be high DPI as it is set to 150% scale.  The others are 100%.


I don't put Royal TS on that screen, but on one of the 1080p external monitors.  Although I believe a month or so ago when I was traveling, I did bring up Royal TS on that screen as it was the only one I had.

Can you check the User Interface settings:

https://docs.royalapps.com/r2023/royalts/reference/options.html#display-scaling


Try to set it to "per monitor aware" if not already set.

It was set to "per monitor aware" already.


I did change it, then change it back.  This did not seem to have any affect.  However, I do believe you are onto the issue.


I changed the DPI scale of the laptop monitor to 100% after attempting the above and this did fix the issue. Now every time I go to a site in RoyalTS it appears at the proper zoom.


Ideas?  Is there a corrupted setting maybe?  Should I uninstall and then install over?

Since we are using WinForms, mixed DPI settings are always a hassle. For WinForms itself there are a couple of tricks at our disposal. Since the Chromium Engine we use is a closed source commercial product, I'm not sure we can do anything about it. My suspicion is that the engine is not gathering the correct DPI in all the cases. I can report this to the vendor but without repro steps which consistently produce the error, I have little hope that EO can fix the issue.

I understand.  I don't know if it will reproduce it, but a plausible way to try to reproduce it would be to have a laptop with external monitors.  Install Royal TS on the laptop and launch it on the external monitors with lower DPI.  Close the app.  Undock so you only have the laptop.  Now boot the laptop and start the program.


Since I wasn't really paying attention the first time it happened, I can't say this is what did it.  However, it does now seem to be tied to the DPI of the laptop screen where it wasn't before.  However, it only seems to be tied in the specific instance.  The initial launch of the browser in RoyalTS works and continues working. So initially doesn't exhibit the same behavior. Only when the page times out/logs me out does it show itself.


Not a big deal, just a bit annoying.  I am sure you have bigger things to fix than this niche case.  I am living with just scaling the laptop screen to 100%.


I am a Citrix Admin, and DPI in screens has been a hard thing for us to deal with as well over the last few years.  So I feel the pain.


Feel free to close the ticket, as there is no evident solution.


Thanks for the help!

Login or Signup to post a comment