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

QTableWidget Palette Returns Wrong Alternate Row Color

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.4
    • None
    • macOS

    Description

      if alternate row color of a table widget or table view is requested through the palette attribute alternateBase, the value is is different than actual color.

      This happens dark mode as well in light mode. 

      it reports blatant lie, can be seen with example alternaterow-.zip OSX 10.14.6.

      In Other example with custom stylesheet this prints correct if ensurePolished is called.

       

      Attachments

        1. AlternateRow -.zip
          17 kB
        2. QTAltBaseColor.png
          QTAltBaseColor.png
          646 kB
        3. QTBUG80757.zip
          16 kB
        4. Screen Shot 2019-12-21 at 2.45.48 AM.png
          Screen Shot 2019-12-21 at 2.45.48 AM.png
          216 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            irfan.omair@digia.com Irfan Omair
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes