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

            Bug ID: 408787
           Summary: "ReferenceError: workspace is not defined" in qdbus
                    interactive shell
           Product: kwin
           Version: 5.16.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: scripts
          Assignee: kwin-bugs-n...@kde.org
          Reporter: hi-an...@yandex.ru
  Target Milestone: ---

STEPS TO REPRODUCE
1. Run `qdbus org.kde.plasmashell /PlasmaShell
org.kde.PlasmaShell.showInteractiveKWinConsole`
2. Insert text `workspace.clientMaximizeSet.connect(function(client, h, v) {
});`
3. Press "Run"

OBSERVED RESULT

Output with the error:

    Error: ReferenceError: workspace is not defined at line 1

EXPECTED RESULT

No error in the output.

SOFTWARE/OS VERSIONS
Window API: X11
KDE Plasma Version: 5.16
KDE Frameworks Version: 5.59
Qt Version: 5.12.3

ADDITIONAL INFORMATION

Workaround: switch to "Plasma" tab, then back to "kwin" tab, and only then
click "Run". Then it works.

This may be related to this bug:
https://github.com/kwin-scripts/kwin-tiling/issues/162

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

Reply via email to