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

Linux, WindowStaysOnTopHint does not work.

XMLWordPrintable

    • Linux/X11
    • f9e4402ffeef791e66b7b2f2cc332000df7f5cd4 f302a224fa (qt/tqtc-qtbase/6.3) ecfcb72756 (qt/tqtc-qtbase/6.2) 290b405872 (qt/qtbase/5.15)

      setting the flag Qt::WindowStaysOnTopHint at runtime does not always work if it works then unsetting same flag still shows windows on top. 

      Some time the widget will not stay on top, although the flag is set.  It will disappear when click outside the application, or can be overlapped (z-order) by another widgets. 

      This can be easily reproducible with Qt's windowflags example:

      https://doc.qt.io/qt-5/qtwidgets-widgets-windowflags-example.html 

        1. QTBUG-69515.diff
          8 kB
          Viktor Arvidsson
        2. stay on top issue.mp4
          375 kB
          Viktor Arvidsson
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            paeglis Gatis Paeglis
            irfan.omair@digia.com Irfan Omair
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: