QColorDialog bug I wish to post, but Jira won't allow login from my QT Account tied to markjamescapella.proton.me
-
I've found a QColorDialog bug I wish to post, but Jira won't allow login from my QT Account tied to markjamescapella.proton.me
It looks like a regression from a recent change.
-
Hi and welcome to devnet,
Did you follow the suggestions of this pinned post ?
-
I wrote the email you suggested and no response.
I tried to use a duckduck account and that doesnt work either (I don't prefer a gmail account) so perhaps I'll drop the bug quick:
ColorPicker "Crosshairs" don't reflect color on drag when BLACK due to isNull() regression here:
https://github.com/qt/qtbase/blame/v6.12.0-beta1/src/widgets/dialogs/qcolordialog.cpp#L817Video "Steps to reproduce" from my Dropbox:
https://www.dropbox.com/scl/fi/upl1g7w8mofoli1ew1y1g/QT6bug.mkv?rlkey=u04njublm9si74hptnp3h4y34&st=qxc081uz&dl=0 -
To
jira-admin (at) qt-project.org?
That is pretty strange... Can you try again ?
Do you have a minimal buildable reproducer that shows your issue ? -
Hi @SGaist ,
@markjamescapella has demonstrated the error in the second link (https://www.dropbox.com/scl/fi/upl1g7w8mofoli1ew1y1g/QT6bug.mkv?rlkey=u04njublm9si74hptnp3h4y34&st=qxc081uz&dl=0).
The error mentioned also occurs in my applications using this dialog (VS2026 C++17, QT 6.11.00). -
Hi @SGaist ,
@markjamescapella has demonstrated the error in the second link (https://www.dropbox.com/scl/fi/upl1g7w8mofoli1ew1y1g/QT6bug.mkv?rlkey=u04njublm9si74hptnp3h4y34&st=qxc081uz&dl=0).
The error mentioned also occurs in my applications using this dialog (VS2026 C++17, QT 6.11.00).@Helmut.Jakoby I saw the video. I am requesting a minimal example to ensure everybody works from the same start.
Since you reproduced the same issue, can you open a ticket on the bug report system providing that minimal sample and indications ?
-
It seems I do not have sufficient permissions to open a ticket in the bug reporting system.
All that is likely missing is a minimal example:
#include <QtWidgets/QApplication> #include <QtWidgets/QColorDialog> #include <QtCore/QDebug> int main(int argc, char *argv[]) { QApplication app(argc, argv); // Opens the color dialog with black as the initial color. // Note that the HTML value and the corresponding color display // do not change while the mouse button is held down and moved // within the color field. QColor selectedColor = QColorDialog::getColor(Qt::black, nullptr, "Select color"); if (selectedColor.isValid()) { qDebug() << "Selected color:" << selectedColor.name(); } else { qDebug() << "Selection cancelled."; } return 0; }Perhaps someone with sufficient permissions can use this—along with the details provided by @markjamescapella—to open a ticket in the bug reporting system.
-
Since all is calculated from HSV and V is 0, the behavior is correct.