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

QXcbWindow::show() unsets Sticky state from _NET_WM_STATE (Regression)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.0.0 Beta 1, 5.0.0
    • Fix Version/s: 5.6.1
    • Labels:
      None
    • Environment:
      qtbase 4350054ab86b03b2a4e6641238b762fd80a3c5dd
      Using xcb platform plugin
      Xorg 1.12.2
    • Commits:
      e4cea305ed2ba3c9f580bf9d16c59a1048af0e8a

      Description

      Calling QWindow::show() may remove a hint from the _NET_WM_STATE window property previously set by the programmer. The reason for this is that QXcbWindow::setNetWmStates ignores hints not supported by Qt (i.e. sticky).

      This is a regression from Qt 4, which declares in dist/changes-4.3.1:

      QWidget now merges any existing _NET_WM_STATE property together with its own state.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                nowrep David Rosca
                Reporter:
                dpalacio David Palacio
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes