[konsole] [Bug 430182] Thickness of URL underlines is not rounded to be pixel-aligned when using fractional scaling

Nate Graham bugzilla_noreply at kde.org
Wed Dec 9 16:17:21 GMT 2020


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

Nate Graham <nate at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
            Summary|Underlines below the urls   |Thickness of URL underlines
                   |                            |is not rounded to be
                   |                            |pixel-aligned when using
                   |                            |fractional scaling
             Status|REPORTED                    |CONFIRMED
                 CC|                            |nate at kde.org

--- Comment #1 from Nate Graham <nate at kde.org> ---
This is a scaling artifact. By using a 125% scale factor, you told Konsole to
make everything 125% bigger, but the physical pixels in your screen didn't
become 125% bigger. As a result, everything that was previously
pixel-aligned--like the underline--can no longer be pixel-aligned.

If we rounded the line's thickness to always be pixel-aligned, then when using
a 125% scale factor, it would be rounded down and appear thinner than
originally intended, but it would be pixel-aligned again. When using a 175%
scale factor, it would be rounded up and appear thicker than originally
intended. When using a 150% scale factor... what would it do? Become
substantially thinner or thicker than expected? Which one? I guess we would
have to choose one.

An argument can be made that rounding to be thicker or thinner than intended
may be better than letting the system do what it's currently doing and varying
based on pixel positioning.

Perhaps we can look into it.

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


More information about the konsole-devel mailing list