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

cannot create a "sticky" window via QWindow flags (_NET_WM_STATE_STICKY)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.6
    • None
    • Linux X11
    • Linux/X11

    Description

      http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#idm140200472615568

      A "sticky" window is one that stays in the same location on all desktops. This is one missing feature which makes it hard to write something like conky (or any kind of desktop widget) in pure QML. Rendering directly to the root window is obsolete: the modern way would be to have a transparent window which is stuck to the root window, assuming one has a compositing window manager. So I think we need to have another window flag alongside Qt::WindowStaysOnBottomHint etc.

      But it requires some research whether this feature can be supported on any platform other than X11.

      The _NET_WM_STATE_STICKY flag is not found anywhere in Qt source code, neither in qtbase nor in qtx11extras.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-50458
          # Subject Branch Project Status CR V

          Activity

            People

              vestbo Tor Arne Vestbø
              srutledg Shawn Rutledge
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change