Skip to content

AbstractImageView: Use scene devicePixelRatio

Instead of using the one from QApplication, use the one from the window, which can be different under Wayland.


Fixes rendering images with fractional scaling under Wayland:

Before (at 175% scale):

Screenshot_20230922_093455

After:

Screenshot_20230922_093500

Merge request reports