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

Christoph Cullmann bugzilla_noreply at kde.org
Wed Oct 2 23:22:51 BST 2019


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

--- Comment #120 from Christoph Cullmann <cullmann at kde.org> ---
Modifying what it is done here:

 // if the characters on the line are different in the old and the new _image
        // then this line must be repainted.
        if (updateLine) {
            dirtyLineCount++;

            printf ("update line %d %d\n", tLy, y);

            // add the area occupied by this line to the region which needs to
be
            // repainted
            QRect dirtyRect = QRect(_contentRect.left() + tLx -1,
                                    _contentRect.top() + tLy + _fontHeight * y
-1,
                                    _fontWidth * columnsToUpdate +2,
                                    _fontHeight+2);

            qDebug() << "dirty line" << dirtyRect;

            dirtyRegion |= dirtyRect;
        }

has direct effect on the remaining artifacts, thought my tries to just pad the
stuff a bit just lead to different white artifacts, which is strange ;)

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


More information about the konsole-devel mailing list