retext icon indicating copy to clipboard operation
retext copied to clipboard

HiDPI problems under Linux

Open KAMiKAZOW opened this issue 6 years ago • 5 comments

All icons are blurry under Linux with a HiDPI screen.

I tried fixing the problem myself by applying the common Qt one-line trick from C++ to Python but that didn't help much: https://github.com/KAMiKAZOW/retext/commit/929a5f39068e9c78f81f9c45ec95ee1709dceb3e

Screenshot_20190629_143502

The upper screenshot it the status quo (see esp. the undo/redo buttons), the lower one with my crappy attempt at a fix (the close tab button is sharper but cut off).

KAMiKAZOW avatar Jun 29 '19 13:06 KAMiKAZOW

Can you try if it is better when you set QT_AUTO_SCREEN_SCALE_FACTOR=0 environment variable?

mitya57 avatar Jun 29 '19 20:06 mitya57

No difference

KAMiKAZOW avatar Jun 29 '19 22:06 KAMiKAZOW

cc @guoyunhe

KAMiKAZOW avatar Feb 23 '20 23:02 KAMiKAZOW

#496 is the same as my https://github.com/KAMiKAZOW/retext/commit/929a5f39068e9c78f81f9c45ec95ee1709dceb3e

Unless other things changed in the meantime, the result should render the same as shown in my screenshot.

KAMiKAZOW avatar Feb 25 '20 17:02 KAMiKAZOW

Ok, reopening then. Any suggestions for a better fix are welcome.

mitya57 avatar Feb 25 '20 18:02 mitya57