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

QMaemo5ValueButton fails to paint after setStyleSheet

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.6.2
    • (Inactive) Maemo 5
    • None

    Description

      If you change the "styleSheet" by calling "setStyleSheet" on the window that has a menu using "QMaemo5ValueButton" as a pickselector, the selector will stop rendering its contents (title and current selection). As far as I can tell it does not matter what the new stylesheet changes.

      To reproduce the error you only need to add one line to the example at: http://doc.qt.nokia.com/qt-maemo-4.6/maemo5-menu.html

      I added to the last line of the MainWindow constructor:

      setStyleSheet("QMainWindow

      {background-color: red;}

      ");

      Attached you will find the modified version of the example

      Attachments

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

        Activity

          People

            fernenge Harald Fernengel
            fcrochik Felipe Crochik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes