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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.6
    • Fix Version/s: None
    • Component/s: GUI: Window management
    • Labels:
      None
    • Environment:
      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

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

            Activity

              People

              • Assignee:
                srutledg Shawn Rutledge
                Reporter:
                srutledg Shawn Rutledge
              • Votes:
                3 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes