https://bugs.kde.org/show_bug.cgi?id=399280

--- Comment #5 from lizhu...@outlook.com ---
(In reply to Christoph Feck from comment #3)
> 1920/1.4 = 1371.43, which is rounded down to 1371
> 1371*1.4 = 1919.4, which is again rounded down to 1919.
> 
> If you are able to set it to 1.41 in the config files, you should be able to
> work around this issue:
> 
> 1920/1.41 = 1361.70, which is rounded up to 1362
> 1362*1.41 = 1920,42, which is rounded down to 1920.
> 
> I doubt this can be fixed in Qt. It would internally have to store
> window/widget sizes as fractions.

I manually set the scaling factor to 1.41, and yes, it fixes my problem, though
the computation behind the scene is still unclear to me.

I simply put a command into /usr/bin/startkde:
export QT_SCREEN_SCALE_FACTORS="${QT_SCREEN_SCALE_FACTORS//1\.4/1\.41}"

After restarting, the gap disappears.

Thanks for your suggestion!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to