Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31998

Extra QColorDialog is painted on parent widget when QColorDialog is moved programmatically

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.1.0 Beta 1
    • None
    • Mac OS X 10.6.8
    • 785bc64f8e743ac269f15cbe7fecba93d3d507ac

    Description

      A call to QColorDialog::move() causes artifacts of an extra QColorDialog to appear (see attached screenshot).

      This code reproduces the problem:

      #include <QApplication>
      #include <QColorDialog>
      
      int main(int argc, char *argv[])
      {
      	QApplication a(argc, argv);
      	QWidget w;
      	w.show();
      	
      	QColorDialog colorDialog;
      	colorDialog.setParent(&w);
      	colorDialog.move(100, 200);
      	colorDialog.exec();
      	
      	return a.exec();
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            jlstrecker Jaymie Strecker
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes