[KDE/Mac] layout issues with the "Macintosh (Aqua)" theme?

René J.V. Bertin rjvbertin at gmail.com
Tue Jan 20 17:16:08 UTC 2015


Hello,

Have there been reports about layout issues with the native OS X "Aqua" style, whether they use style (.ui) sheets or not?

We have been seeing layout errors in KDE applications when they use the Aqua style, but not when they use any of the other installed style (KDE or Qt).
We were hoping that this issue would disappear with Qt5 in KF5 applications (along with a few other glitches), but it is unchanged as the attachments to the BKO report show (see forwarded message below).

What is different between the Aqua and all the other styles that causes the layout to be so wrong that numerous application interfaces become almost unusable? I am of course not referring to internal differences but to differences in, say, the information returned about button dimensions (which seem to be to small).
Note that the application in that bug report, kcalc, uses style sheets. The main sheet that signs for the window as shown in the screenshots is kcalc.ui (http://quickgit.kde.org/?p=kcalc.git&a=blob&h=7511ffebd2a571a11ea94ac3660a3c804673c9b9&f=kcalc.ui&o=plain)

When opening kcalc.ui in KDE's kuiviewer, I get the following warnings:
"QFormBuilder was unable to create a custom widget of the class 'KCalcDisplay'; defaulting to base class 'QFrame'." 
"QFormBuilder was unable to create a custom widget of the class 'KCalcBitset'; defaulting to base class 'QWidget'." 
"QFormBuilder was unable to create a custom widget of the class 'KCalcButton'; defaulting to base class 'QPushButton'." 
snip
"QFormBuilder was unable to create a custom widget of the class 'KCalcConstButton'; defaulting to base class 'QPushButton'." 
snip

I'll be uploading screenshots of kcalc.ui shown in the Qt4 and Qt5 Designer, with the native (Aqua), QtCurve and Fusion styles.


BTW, is that theme still called Aqua with the latest Qt versions? I think Apple hasn't been using that name to refer to its UI style for more than just a few OS versions now...

Thanks,
R.

On Tuesday January 20 2015, Marko Käning wrote regarding "[kcalc] [Bug 339670] KCalc's GUI layout glitch"

>https://bugs.kde.org/show_bug.cgi?id=339670
>
>--- Comment #19 from Marko Käning <mk-lists at email.de> ---
>Created attachment 90536
>  --> https://bugs.kde.org/attachment.cgi?id=90536&action=edit
>KF5's kcalc with the default "Macintosh (aqua)" style
>
>


More information about the kde-mac mailing list