[QT BUG] QColorDialog will not set the options i choose.
-
In the standdialogs example with code
@qDebug() << colorDialogOptionsWidget->value();
const QColorDialog::ColorDialogOptions options = QFlag(colorDialogOptionsWidget->value());
const QColor color = QColorDialog::getColor(Qt::green, this, "Select Color", options);@and "do not use native dialog" option unchecked, i get this colordialog and the output of 0
!http://i.imgur.com/rUV8PLR.png(1)!With the same EXACT code in my application
@QColorDialog::ColorDialogOptions options = QFlag(0);
QColor color = QColorDialog::getColor(Qt::green, this, "Select Color", options);@even if i put
@QFlag(QColorDialog::DoNotUseNativeDialog)@i always get this not native dialog:
!http://i.imgur.com/gygwcSL.png(2)!So confused on how to achive the native dialog.. :/
-
Hi,
Which linux flavor are you using ? What desktop environment ? (I would guess ubuntu/gnome)
-
[quote author="SGaist" date="1377517393"]Hi,
Which linux flavor are you using ? What desktop environment ? (I would guess ubuntu/gnome)[/quote]
Yes i am on Ubuntu 13.04
-
Did you took a look at the "bug report system":http://bugreports.qt-project.org/issues to see if it's something known ?
-
[quote author="SGaist" date="1377522343"]Did you took a look at the "bug report system":http://bugreports.qt-project.org/issues to see if it's something known ?[/quote]
"https://bugreports.qt-project.org/issues/?jql=text~"colordialog"
None.
I report this as a qt bug then
https://bugreports.qt-project.org/browse/QTBUG-33181