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

QMainWindow::saveState/restoreState no longer works for QdockWidget widget, as of 4.7.0 release

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 4.7.0, 4.8.3, 5.0.0 Beta 1
    • Fix Version/s: 4.8.4, 5.0.0 RC 1
    • Component/s: Widgets: Main Window
    • Labels:
      None
    • Environment:
      Windows XP
      Ubuntu 12.04 64-bit
    • Commits:
      I8cda6a529d178f7467a59b780db80df0a44d4769 I5b912e80e99b1f8b7a6f2a9a3e541fac3455c3db

      Description

      Scenario: GUI contains QDockWidget widget which is in docked state. It has been resized by user of GUI application. Upon application closure, QMainWindow::saveState is invoked. QMainWindow::restoreState is invoked during next application start. However, QDockWidget does not resize to resized state. This occurs only if release build of Qt GUI 4.7.0 is used, debug version inhibits correct behavior.

        Attachments

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

          Activity

            People

            Assignee:
            mitch_curtis Mitch Curtis
            Reporter:
            spudar Srdjan Pudar
            Votes:
            14 Vote for this issue
            Watchers:
            21 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes