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

QTreeWidget child widgets are not moving when scrolled and stylesheets are applied on OSX

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 4.8.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      OsX 10.6.8
    • Platform/s:
      macOS

      Description

      Widgets set by QTreeWidget::setItemWidget are not moving when the widget is scrolled and if stylesheets are applied.
      Git bisecting the problem is in this commit: http://qt.gitorious.org/qt/qt/commit/5e5e16f/diffs?diffmode=sidebyside&fragment=1
      The stylesheet sets isOpaque to 0 and then it returns in if (!accelerateScroll)

      {...}

      without drawing the child widgets.
      THe problem can be that case when the widget is overlapped by child widgets is not handled.
      Please check the attachment for example to reproduce.

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            qtcomsupport Qt Support
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes