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

            Bug ID: 486834
           Summary: The `desktop` property of a window always returns
                    `null`
    Classification: Plasma
           Product: kwin
           Version: 6.0.4
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: scripting
          Assignee: kwin-bugs-n...@kde.org
          Reporter: gr...@chilon.net
  Target Milestone: ---

The `desktop` property of `window` objects is always `null` under wayland.
Probably related to https://bugs.kde.org/show_bug.cgi?id=486831 where
`workspace.currentDesktop` returns `null`.

STEPS TO REPRODUCE
Write a kwinscript that uses the `desktop` property of a `window` (i.e. one of
the objects in the array returned by `workspace.windowList`)

OBSERVED RESULT

`null` is returned

EXPECTED RESULT

An integer representing the current virtual desktop should be returned.

SOFTWARE/OS VERSIONS
Linux:  Archlinux
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

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

Reply via email to