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

Menus have window type _NET_WM_WINDOW_TYPE_NORMAL instead of _NET_WM_WINDOW_TYPE_POPUP_MENU

    XMLWordPrintable

Details

    • Linux/X11
    • 29b076d61 (dev), 7864c01c7 (6.6), 78f628971 (tqtc/lts-6.2), 2e8a0b096 (6.5), bedacaec1 (tqtc/lts-5.15)

    Description

      This appears to a regression of https://bugreports.qt.io/browse/QTBUG-55558

      Qt sets window type NET_WM_TYPE_NORMAL on context menus.

      Steps to reproduce:
      1. Open a Qt 6 based application (I used qutebrowser).
      2. right click to open the context menu
      3. get xprop of the menu

      For the last 2 steps, what I did is to first run
      sleep 2 && xdotool search --name --onlyvisible '.*' | xargs -L 1 xprop -id
      And then open the context window within 2 seconds, and find the xprop output corresponding to the window by looking at the dimensions.

      The bug is found by the discussion here: https://github.com/qutebrowser/qutebrowser/issues/7856

       

      Attachments

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              ii41 Yihang Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: