https://bugs.kde.org/show_bug.cgi?id=391034

            Bug ID: 391034
           Summary: KWin fails querying root window property
                    _NET_CURRENT_DESKTOP
           Product: kwin
           Version: 5.12.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: bharadwaj.raju...@gmail.com
  Target Milestone: ---

When a program queries KWin for the root window property _NET_CURRENT_DESKTOP,
fails to respond correctly.

According to the FreeDesktop spec on "Extended Window Manager Hints",
specifically the section "Root Window Properties (and related messages)", at
https://specifications.freedesktop.org/wm-spec/1.3/ar01s03.html, window
managers _must_ return an integer between 0 and (num_desktops - 1) in response
to a query for this property.

Expected Behaviour:

  $ xdotool get_desktop
  0

Actual Behaviour:

  $ xdotool get_desktop
  XGetWindowProperty[_NET_CURRENT_DESKTOP] failed (code=1)
  -1

Notes:

  If one switches workspaces/desktops and tries again, it begins to work.
However, after a reboot or just waiting for some time, it agains starts
failing.

  Getting the _NET_NUMBER_OF_DESKTOPS property works:

    $ xdotool get_num_desktops
    4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to