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

showMinimize() won't work with Frameless main window

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.0.0
    • GUI: Window management
    • None
    • Windows 7 x86 and Qt5

      I have a QMainWindow with those 3 hints:

      Qt::FramelessWindowHint | Qt::WindowMinimizeButtonHint | Qt::WindowSystemMenuHint

      If I try to minimize the window with "showMinimized()" the widget will stay visible, in the same position. The only thing that will changes is that the window stops receiving input events until I click on it a few times.

      There are no eventFilters nor anything else that might be causing this behavior.
      Also, showMaximized() works as expected.

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

            kleint Friedemann Kleint
            alexandernst Alexander Nestorov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes