[konsole] [Bug 373232] Horizontal lines with fractional HiDPI scaling

Lucas Pires Camargo bugzilla_noreply at kde.org
Fri Feb 14 15:22:30 GMT 2020


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

--- Comment #181 from Lucas Pires Camargo <lucaspcamargo at gmail.com> ---
Created attachment 126018
  --> https://bugs.kde.org/attachment.cgi?id=126018&action=edit
patch: expand background rendering by 1px

Here's the patch I whipped up in ten minutes. Rendering is no off by 1px around
all text with non-default background. But the annoying lines are gone.
#worksforme

Maybe there could be a way of calculating when Qt is going to screw up and
round down the rendered rectangle size. That would depend on the rectangle's
geometry, and would add a pixel of height or width only if that is necessary. 

If such a patch would be accepted, I'll put in the work. Otherwise, I'll just
stick to my patched kinda-works-but-not-technically-correct version.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list