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

[Regression] On Windows, there are missing repaints after combobox values are changed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.0.0 Beta 1
    • 5.0.0 Beta 1
    • None
    • Windows 7 Enterprise, 64bit, Service Pack 1
      Issue occurs on both real machine running the Classic style and a VirtualBox VM running the default win7 style.
      Issue does not occur for the corresponding Linux packages.
    • d728bfe79349ff8da2a811270f2af3f5cacc6f95

    Description

      While testing the http://releases.qt-project.org/qt5.0/beta-snapshots/2012-06-04_19-47-13/Qt-5.0-beta-offline-win-x86_msvc2010.exe binary installer, I noticed that various example applications were failing to repaint when combobox values were changed.

      Steps to demonstrate the issue:

      1. Launch the basic drawing example (C:\users\foo\QtSDK\Desktop\Qt\5.0.0\msvc2010\examples\painting\basicdrawing\debug\basicdrawing.exe if using the above installer).
      2. Observe that the "Shape" combobox is set to "Polygon".
      3. Click on the "Shape" combobox and select "Rectangle".
      4. Observe that the "Shape" combobox still displays "Polygon" and the widget above it still shows polygons.
      5. Maximize the window.
      6. Observe that the "Shape" combobox now displays "Rectangles" and the widget above it now show rectangles.

      The same problem is evident for the other comboboxes in this application, but not for the spinbox and the checkboxes (i.e. changing the Pen Width spinbox or the Transformation checkbox causes an immediate repaint).

      Other examples using comboboxes also had the same problem (e.g. examples/sql/books, examples/painting/painterpaths, examples/painting/transformation).

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes