Mosaic icon indicating copy to clipboard operation
Mosaic copied to clipboard

HiDPI/4K screen support

Open hellocatfood opened this issue 2 years ago • 3 comments

I'm running 0.6.6 on Ubuntu 23.04 on a Dell XPS 15 machine with a 3840 x 2600 screen. When I open Mosaic the interface and all of the menus are small and almost unreadable.

Screenshot from 2023-10-12 22-53-58

Can support be added for high resolution screens?

hellocatfood avatar Oct 13 '23 12:10 hellocatfood

Hi, i'm testing some stuff for now, imgui still have some quirks with this issue...

could you please test this app:

HiDPI-test.zip

and send me a screenshot?

Is just an empty OF app container with GLFW calls to obtain info about screen resolution scaling

For example, this is my result:

Screenshot from 2023-10-13 18-09-04

It's an appimage, just open it and the window will appear

d3cod3 avatar Oct 13 '23 16:10 d3cod3

On my ubuntu 22.04 laptop with 2256x1504:

image

Monitor content scale: 1.25 Pixel scale: 1

Note: I have Gnome Large text accessibility on (to help with various text too small issues);

Here is with it off:

image Monitor content scale: 1 Pixel scale: 1

Font size is large in both cases. I generally run with no scaling and Large Text as that seems to work best for most apps.

Here is with fraction 125% scaling and no large text:

image Monitor content scale: 2 Pixel scale: 1

Ran into some problems installing the latest Mosiac so can't provide a screenshot of Mosiac atm and unfortunately my 4k monitor just died so can't test that. :/

RKelln avatar Oct 13 '23 16:10 RKelln

Thanks for the info, i'll write an empty app with an imgui menu, to simulate the Mosaic menu, with some code to fix the HiDPI stuff, then i'll share it here for you to test it, and everyone with 4k + monitors, and with the results i'll publish a new Mosaic release with this issue fixed!

Soon the testing app...

d3cod3 avatar Oct 13 '23 18:10 d3cod3