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

QSplitter widgets returns more than just the widgets added to it.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 4.7.3
    • Windows 7 64-bit
      MSVC2010

    Description

      If you have a QSplitter and you make any widget a child of that QSplitter, that QSplitter will count that widget with QSplitter::count and return that widget in its QSplitter::widget even though that child widget was never added with QSplitter::addWidget or QSplitter::insertWidget. This is bad behavior. QSplitter's behavior should be to only account for widgets which were properly put under its control, not all widgets which may have been made children of it, such as tool windows and other popups, etc. (This bug could possibly affect other container widgets such as QTabSplitter as well.)

      Attachments

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

        Activity

          People

            bothorsen Bo Thorsen
            arah Arah J. Leonard
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes