https://bugs.kde.org/show_bug.cgi?id=363423
Bug ID: 363423 Summary: widget misalignment with the "Macintosh" native platform theme Product: frameworks-kguiaddons Version: unspecified Platform: Compiled Sources OS: OS X Status: UNCONFIRMED Severity: major Priority: NOR Component: general Assignee: kdelibs-b...@kde.org Reporter: rjvber...@gmail.com There is a longstanding bug somewhere in Qt or a KDE component that causes misalignment of certain widgets on OS X, when the native platform theme/style is used. With KDE4 this was so frequent that we (MacPorts) strongly suggested using QtCurve as the default theme, something which was then still possible with an unpatched Qt. We did report the issue, but it was never addressed. It has become less frequent with KF5, but it still exists. The best showcase we found in KDE4, kcalc, is still affected, but it can also be seen in Kate's search & replace panel. Symptoms are: - overlapping widgets - widgets that are not large (high, usually) enough for the text Affected widgets include buttons and comboboxes but I cannot exclude the possibility others are concerned too. There may be a link with font family or font size: KDE applications using a standard Qt and the native platform theme usually get end up using the same typeface (Lucida Sans 13) for almost everything because that's how Qt initialises the fontroles KDE uses. Clearly the buttons in kcalc do not use that typeface. I'm filing this under kguiaddons, but I actually have no idea where the bug might be - it could even be in individual applications, but I wouldn't be surprised if it's in Qt itself. It is *not* purely in Qt's cocoa QPA plugin. One can build Qt for use under X11 on OS X, and install the resulting xcb qpa + dependencies in a normal build for cocoa. One can then launch, say, `kcalc5 -platform xcb -style macintosh` and it won't load the cocoa qpa but still have access to and use the Macintosh widget style. You get the same rendering glitches, which is why I expect the bug might be in Qt's drawing routines that render the "native" widgets (scoop: they're not rendered with "official" SDKs, there's no NSButton instance hiding behind a QButton). Reproducible: Always Actual Results: See the screenshot I'll be attaching. -- You are receiving this mail because: You are watching all bug changes.