HiDPI rendering in flatpak sandbox looks blurry
Flatpaked GTK applications rendering on a high pixel density monitor (with a scale factor greater than 1) look 'blurry':
Filesfrom the host renders perfectly:
Builderin a Flatpak sandbox renders poorly:
It seems like GTK renders at a lower scale factor and that the compositor then scales up the pixel buffer in order to match the monitor's configuration. GTK inspector seems to indicate such a problem: from the display section of the
Filesfrom the host, rendering OK:
Geometry 748 x 409 @ 2 at 0,0.
Builderin the sandbox, rendering KO:
Geometry 1456 x 819 at 0,0.
My computer is a laptop with a HiDPI monitor configured with
Resolution 2560 x 1440 and