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

"Index out of range" situation in QMainWindowLayout class

    XMLWordPrintable

Details

    • e6d85cf28 (dev), a884cf6e8 (tqtc/lts-6.5), 9557d1ca9 (6.6)

    Description

      qmainwindowlayout.cpp, line 1551:
      fixToolBarOrientation(widgetItem, currentGapPos.at(1)); << currentGapPos can be empty here

      to repeat this situation:
      create QDockWidget, using some existing QMainWindow object as parent.. execute the following methods of created QDockWidget: setFloating(true); setFeatures(0); setAllowedAreas(Qt::NoDockWidgetArea); show();
      then try to grag this QDockWidget onto QMainWindow and release mouse..

      Attachments

        For Gerrit Dashboard: QTBUG-35736
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            whiteman Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes