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

QMainWindow tabPosition bug

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.6.2, 5.8.0 RC
    • Widgets: Main Window
    • None

    Description

      When I use QDockWidget, I found a bug. The tabbar position is wrong. I set tab position to North, but when I move the large dock widget into the small dock widget, I got an wrong result.

      here is my code

      DockOptions options = dockOptions() | QMainWindow::GroupedDragging;
      QMainWindow::setDockOptions(options);
      QMainWindow::setTabPosition(Qt::AllDockWidgetAreas, QTabWidget::North);

      Please look at pictures.

      system: macOS 10.12.2

      Attachments

        1. qt_dockwidget_bug1.png
          qt_dockwidget_bug1.png
          83 kB
        2. qt_dockwidget_bug2.png
          qt_dockwidget_bug2.png
          94 kB
        3. qt_dockwidget_bug3.png
          qt_dockwidget_bug3.png
          79 kB
        4. qt_dockwidget_bug4.png
          qt_dockwidget_bug4.png
          76 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
            luyuji 宇机 卢
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes