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

[REG 5.5X.->5.6.0]: QTreeView selection highlight disappears in windowsvista-style when using StyleSheets

    XMLWordPrintable

Details

    • f1e0eedcf501936e6b4f77b6fe3ac4997d757d94

    Description

      When using (default) windowsvista style, updating style sheet of QPushButton control breaks the highlight of an item of QTreeView which was active when style sheet was changed.

      Steps to reproduce:

      • Run the attached program
      • Expand item "Text"
      • Select item "Text"
      • Select item "Text2"

      Expected result:
      Highlight of the "Text2"-item works

      Observed result:
      Highlight does not work, even when activating item "Text" again and reactivating "Text2".

      The same problem does not happen if after expanding the item "Text" the user selects "Text2" before "Text". This problem is also windowsvista style specific, it is not reproducible with other styles.

      Attachments

        1. qtbug52689_win560.jpg
          qtbug52689_win560.jpg
          16 kB
        2. qtbug52689_win561.jpg
          qtbug52689_win561.jpg
          16 kB
        3. qtbug52689.zip
          2 kB
        4. stylesheet_bug.zip
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            jussi_witick Jussi Witick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes