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

Repeatedly setting a widget style sheets has issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.3.2
    • 4.8.5, 5.3.0
    • Widgets: Style Sheets
    • None
    • 47b3ecf3f49933f2a7e3a9dd98f0641d513822bb

      The attached test program creates four frames with a background set via setStyleSheet() multiple times. In all four cases, the final background should be green (#00FF00).

      Running with Qt 4.8.5, I get "green, green, red, green"
      Running with Qt 5.3.0, I get "green, red, red, red"

      Both a wrong, but as you see, 5.3.0 has an additional regression.

        1. qtbug39427.zip
          1 kB
        2. qtbug39427.png
          qtbug39427.png
          17 kB
        3. main.cpp
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            andysh Andy Shaw
            cfeck Christoph Feck
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes