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

QMdiArea::TabbedView leaves artifacts if horizontal scrollbar is set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P4: Low P4: Low
    • None
    • 4.8.4, 5.0.1
    • Widgets: Main Window
    • None
    • Widows, osx

      If tabbed view and horizontal scrollbar policy is set in MDI application and multiple windows are created It leaves painting artifacts
      To reproduce it add following line of code in mdi example.

      MainWindow::MainWindow()
      {
      mdiArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
      mdiArea->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
      mdiArea->setViewMode(QMdiArea::TabbedView);
      ....
      }

      Steps to reproduce:
      1. run the app
      2. select "file", "new" repeatedly until the scroll (arrows) indicators
      appear
      3. Observe the white blob at the far left i.e. at first tab.

      This is reproducible in windows and osx

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

            Unassigned Unassigned
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes