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

Status bar rendered "inactive" after launching QMainWindow app (macOS)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 6.2.0
    • 5.15.5
    • None
    • macOS

    Description

      When launching a QWidget based (QMainWindow) application with a QStatusBar the status bar is rendered as if "inactive". As soon as a status message is printed the background colour under the rendered text turns from light-grey ("inactive") to a darker grey ("active"), but only starting from where the text rendering begins, leaving a "graphical glitch" at the bottom left (where parts of the status bar still remain light-grey/inactive).

      Resizing the window helps restoring the status bar rendering.

      Sometimes (when launching the application from within Qt Creator, closing it and immediatelly re-starting it) the entire QMainWindow appears "inactive" right after launching the app, that is the title bar including the window buttons (close, maximise) is rendered "inactive", too.

      Clicking into the QMainWindow area doesn't help in this case, nor does resizing the window help: the title bar remains inactive (and so does the status bar). If that happens the only thing which helps is to switch to another application (CMD + TAB) and switch back: the title bar becomes "active" again, but the status bar still doesn't - until the window is resized again.

      Attachments

        Activity

          People

            con Eike Ziller
            till213 Oliver Knoll
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: