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

Window decorations missing from QMainWindow in XFCE when show() called before layout complete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.2.0, 5.2.1
    • Widgets: Main Window
    • None
    • 64-bit Linux (Debian Wheezy) running XFCE (GTK+)

      On XFCE (GTK+ issue?) a QMainWindow does not get window decorations if:

      a) show() is called before layout is completed
      b) layout results in resizing of a widget

      A small but complete (and documented) test project is attached with 4 conditions. Just change the test_case index and re-run to see the different conditions.

      When run on an identical system, but running the KDE desktop instead, the window decorations do appear. ie: not a problem on KDE.

      This problem did not exist with Qt4.

        1. hello.cpp
          1 kB
        2. hello.pro
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            russ_w Russell Warren
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes