INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Spotlight and other Embedded Browser Pages Don't Scale with View->Size  (Read 1043 times)

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5171
  • "Linux Merit Badge" Recipient

So I was kicking the tires on Spotlight, and it looked pretty cool in concept, but everything was very small for some reason.  I have JRiver set to scale 200% under the View-->Size option, but the spotlight window contents appears at 100% so everything is very small.  I don't use the embedded browser much, but clicking around, it looks like I have the same issue with all the pages that rely on the embedded browser (cloudplay, streaming, etc.). 

Not sure if there's a setting somewhere, but I couldn't find any way to trick it into scaling appropriately.  I don't recall this being an issue with the embedded browser in Windows, so I figured I should report it here.  Let me know if I should take it over to the main Spotlight thread instead.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71324
  • Where did I put my teeth?

Try clicking in the browser window, then doing ctrl +.  That should increase the font size.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5171
  • "Linux Merit Badge" Recipient

Try clicking in the browser window, then doing ctrl +.  That should increase the font size.

Thanks for the idea, Jim, but it didn't work for me with the embedded browser here on Linux.  Ctrl + does work in my normal browser (outside of MC), but it doesn't seem to do anything in the embedded browser windows in MC.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7357
  • The color of Spring...

Thinking about it, I'm not sure if MC's view sizes can be applied to the embedded browsers, since they're a separate thing.

Odd that CTRL + doesn't seem to work though, maybe it's a quirk of the embedded browsers? I guess if all else fails there's potential workarounds, like perhaps embedding into the Spotlight webpage a drop down menu or something to adjust the font size?
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC | Edifier R2000DB Bookshelf Speakers

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5171
  • "Linux Merit Badge" Recipient

Odd that CTRL + doesn't seem to work though, maybe it's a quirk of the embedded browsers? I guess if all else fails there's potential workarounds, like perhaps embedding into the Spotlight webpage a drop down menu or something to adjust the font size?

I suspect that it's a quirk of the Linux implementation of the embedded browser.  Also to be clear, it's not just the fonts, the images are also quite small. When I use Ctrl + in an external browser to change the zoom level, images also seem to increase in size, so if MC implemented a fix that relied on browser zoom it would probably work.

Given that chromium (and other browsers) have native zoom support, maybe the embedded browser code could just set the browser's own zoom level to match the View->Size setting when MC opens the browser?  I feel like an automatic setting based on the existing View->Size settings would be 90% of the value of creating a drop down, but I'm not sure what kinds of options are available for embedded browsers.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10704

On Windows, most of the time you would set your desktop scaling when you have a high DPI screen, and not touch the MC scaling much - windows desktop scaling automatically scales the browser, since it knows to apply the OS scaling.
If you were to use MC scaling, I wouldn't expect your browser to change. But I suppose we can look into applying the configured scale through the browser API.
Logged
~ nevcairiel
~ Author of LAV Filters

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5171
  • "Linux Merit Badge" Recipient

On Windows, most of the time you would set your desktop scaling when you have a high DPI screen, and not touch the MC scaling much - windows desktop scaling automatically scales the browser, since it knows to apply the OS scaling.
If you were to use MC scaling, I wouldn't expect your browser to change. But I suppose we can look into applying the configured scale through the browser API.

So on Linux, for me at least, MC completely ignores the OS desktop scaling.  For example, I have my Gnome desktop set to 200% scaling, but MC renders at 100% unless I also set MC to 200%, at which point the MC UI is the correct size.  The embedded browser remains at 100%, though, even though I have both the desktop scaling and the MC scaling set to 200%. 

That explains why other platforms aren't seeing the issue, as the OS scaling is "filing the gap."
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13487

So on Linux, for me at least, MC completely ignores the OS desktop scaling.  For example, I have my Gnome desktop set to 200% scaling, but MC renders at 100% unless I also set MC to 200%, at which point the MC UI is the correct size.  The embedded browser remains at 100%, though, even though I have both the desktop scaling and the MC scaling set to 200%. 

That explains why other platforms aren't seeing the issue, as the OS scaling is "filing the gap."
I'm pretty sure this has always been an issue with the embedded linux browser component for MC.
Logged
Pages: [1]   Go Up