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

WM_CLASS instance error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P4: Low
    • None
    • 6.7.2
    • QPA: X11/XCB
    • kde wayland plasma 6
    • Linux/X11

    Description

      when starting qtcreator with xcb, instance error in WM_CLASS

      1, start qtcreator -platform xcb&

      /usr/share/applications/org.qt-project.qtcreator.desktop

      _NET_WM_USER_TIME(CARDINAL) = 2551306
      _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
      _KDE_NET_WM_FRAME_STRUT(CARDINAL) = 2, 3, 42, 3
      _NET_FRAME_EXTENTS(CARDINAL) = 2, 3, 42, 3
      _NET_WM_DESKTOP(CARDINAL) = 0
      _KDE_NET_WM_ACTIVITIES(STRING) = "e776a35a-e57e-42aa-a906-89c8eed83d72"
      WM_STATE(WM_STATE):
      window state: Normal
      icon window: 0x0
      _NET_WM_STATE(ATOM) = _NET_WM_STATE_FOCUSED
      _NET_WM_ICON_NAME(UTF8_STRING) =
      _NET_WM_ICON(CARDINAL) =
      XdndAware(ATOM) = BITMAP
      WM_NAME(STRING) = "Qt Creator"
      _NET_WM_NAME(UTF8_STRING) = "Qt Creator"
      _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x7e, 0x0, 0x0
      _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
      _KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 2549134
      _XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
      WM_CLIENT_LEADER(WINDOW): window id # 0x1e00016
      WM_HINTS(WM_HINTS):
      Client accepts input or input focus: True
      window id # of group leader: 0x1e00016
      WM_CLIENT_MACHINE(STRING) = "archlinux"
      _NET_WM_PID(CARDINAL) = 9056
      _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 31457301
      _GTK_APPLICATION_ID(UTF8_STRING) = "org.qt-project.qtcreator" //  correct app_id
      _KDE_NET_WM_DESKTOP_FILE(UTF8_STRING) = "org.qt-project.qtcreator"  //  correct app_id
      WM_CLASS(STRING) = "qtcreator", "QtCreator" // error app_id
      WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
      WM_NORMAL_HINTS(WM_SIZE_HINTS):
      user specified size: 2520 by 1400
      program specified minimum size: 1138 by 790
      program specified resize increment: 2 by 2
      window gravity: Static

       

      2, start google-chrome

      /usr/share/applications/google-chrome.desktop

      _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
      _KDE_NET_WM_FRAME_STRUT(CARDINAL) = 0, 0, 42, 0
      _NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 42, 0
      _NET_WM_DESKTOP(CARDINAL) = 0
      _KDE_NET_WM_ACTIVITIES(STRING) = "e776a35a-e57e-42aa-a906-89c8eed83d72"
      WM_STATE(WM_STATE):
      window state: Normal
      icon window: 0x0
      _NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_FOCUSED
      _NET_WM_USER_TIME(CARDINAL) = 2731545
      WM_NORMAL_HINTS(WM_SIZE_HINTS):
      program specified location: 1785, 42
      program specified minimum size: 750 by 183
      window gravity: Static
      _NET_WM_OPAQUE_REGION(CARDINAL) = 0, 0, 2880, 1692
      _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x1, 0x0, 0x0
      XdndAware(ATOM) = BITMAP
      _NET_WM_ICON(CARDINAL) = Icon (128 x 128):
      (not shown)

      _NET_WM_BYPASS_COMPOSITOR(CARDINAL) = 2
      WM_NAME(UTF8_STRING) = "New Issue · wlroots / wlroots · GitLab - Google Chrome"
      _NET_WM_NAME(UTF8_STRING) = "New Issue · wlroots / wlroots · GitLab - Google Chrome"
      WM_WINDOW_ROLE(STRING) = "browser"
      WM_CLASS(STRING) = "google-chrome", "Google-chrome" // google-chrome is app_id
      _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
      _NET_WM_PID(CARDINAL) = 8572
      WM_CLIENT_MACHINE(STRING) = "archlinux"
      WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, _NET_WM_PING, _NET_WM_SYNC_REQUEST
      _KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 2416740

      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
              yaobingxiao Michael Aaron
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes