Skip to content

Fix for bug 428973: Draw frame outline at the outer edge, not a pixel further inside

This makes the border for a frame drawn using 'Helper::renderFrame' be positioned at the inner edge of the frame, not an additional pixel "further inside" (which as far as I understand seems to be mostly the case by incident for "historic reasons", s. commit message for details).

I came across this since there were bug reports that borders were not shown correctly in LibreOffice with the qt5/kf5 integration, s. https://bugs.documentfoundation.org/show_bug.cgi?id=138010 and https://bugs.documentfoundation.org/show_bug.cgi?id=138010. for details.

From how I understand it, borders were drawn incorrectly by the Breeze style, s. https://bugs.kde.org/show_bug.cgi?id=428973 for more details and a small sample program.

Merge request reports