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

QMainWindow: The restored state for QToolbars is not always correct if actions are hidden.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.6.0
    • 4.4.1
    • Widgets: Main Window
    • None

      When using QSettings to store the state of a QMainWindow, the toolbars might not be restored correctly if some actions are hidden.
      For every time the application is run, the leftmost toolbars shrink gradually until they are no longer visible.
      Resizing the toolbars works in some cases, sometimes it gives an assert, but if the app is run to many times, then the toolbars can no longer be resized as the handle is invisible.
      Resizing the mainwindow does not make a difference.

      There is also a case reported where this happens even when the actions are not hidden, so it could be caused by other factors.

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

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes