[Development] QtQuick Dialogs Widgets fallback

EXT Mitch Curtis mitch.curtis at qt.io
Fri Aug 25 10:43:48 CEST 2023


> -----Original Message-----
> From: Kai Uwe Broulik <kde at privat.broulik.de>
> Sent: Thursday, August 24, 2023 7:38 PM
> To: EXT Mitch Curtis <mitch.curtis at qt.io>; development at qt-project.org
> Subject: Re: [Development] QtQuick Dialogs Widgets fallback
> 
> Hi,
> > Which style are you referring to here?
> 
> The default QML one, none Fusion/Material/etc substyles.

The default depends on which platform you're on. You can check which style is in use by setting QT_LOGGING_RULES to qt.quick.controls.style=true.

> > If there's a way we can improve our desktop-based fallbacks, it would be
> good to know about that.
> 
> First of all, they suffer from the same issue as most of QtQuick Controls 2,
> being in the same scene, which is fine for embedded or mobile but not how
> desktops work.
>
> It means the dialog doesn't have title bar, not the proper shadow around it,
> cannot be moved out of the way, cannot exceed the scene's bounds, etc.

Indeed, this is a larger issue, and is tracked by https://bugreports.qt.io/browse/QTBUG-69558.

> More importantly, though, the dialog's size seems fixed to 320x160. If you
> add three buttons (Save Changes? Apply / Discard / Cancel), the
> DialogButtonBox already gets too wide on most locales.
> 
> They also cannot have an icon (error icon, exclamation mark, question mark),
> which you would expect from a message box.

Would you be willing to create bug reports for these? 

> Cheers
> Kai Uwe


More information about the Development mailing list