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

--- Comment #15 from Tobias Leupold <t...@stonemx.de> ---
After some investigation, I found that not only QLabel is affected, but also
QFrame as a base class.

QLabel inherits QFrame, and the paintEvent calls drawFrame(), which calls
style()->drawControl(QStyle::CE_ShapedFrame, &opt, p, this).

Looking at qcommonstyle.cpp, for QFrame::Box and QFrame::Panel, direct Qt
functions seem to be called (qDrawPlainRect(), qDrawShadeRect() or
qDrawShadePanel()), whereas for QFrame::StyledPanel,
style()->drawPrimitive(QStyle::PE_Frame, ...) is invoked. QFrame::Box and
QFrame::Panel frame shapes are visible, both if set for a plain QFrame as well
as for a QLabel.

Looking at breezestyle.cpp, in drawControl(), drawPrimitive() is called and
from there drawFramePrimitive(). And here, I'm out of ideas, because
drawFramePrimitive() is char by char identical with the KF5/Qt5 version, where
the QFrame::StyledPanel shape (combined with the Raised or Sunken state) still
was displayed correctly.

I fear somebody with more insight of this would have to look into this :-(

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

Reply via email to