linuxmint / pix

Image management application
GNU General Public License v2.0
214 stars 43 forks source link

Images are rendered at low resolution (blocky) on a HiDPI display #172

Open 5p4k opened 1 year ago

5p4k commented 1 year ago
 * Pix version: 2.8.9
 * Distribution: Mint 21.1

Issue When used on a HiDPI display, the user interface of Pix is correctly rendered at the right DPI resolution, but the pictures themselves, only use the "logical" pixel resolution (at any zoom level). On my 4K display, with a user interface scaling of 2x, each rendered image pixel is a single 2x2 block of monitor pixels, effectively dropping the display resolution to a half.

Steps to reproduce Set user interface scaling to 2x, and open any image.

Expected behaviour The resolution of the display canvas should match the monitor pixel density, not the logical pixel size.

Other information Perhaps is not super easy to see, but I measured the pixels in the image and the canvas is definitely blocky compared to the rest of the interface.

This image was displayed as 1:1, and the pixel are rendered as 2x2 blocks: 1:1 sized image rendering at half the resolution

I then zoomed back the same image several times (so that for sure it would have enough pixels to render at higher resolution), but it remains at half the resolution: zoomed-back image still rendering at half the resolution