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

            Bug ID: 523729
           Summary: Improve capabilities of KWin scripts and effects
    Classification: Plasma
           Product: kwin
      Version First unspecified
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: scripting
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
KWin scripting and effects APIs are already capable enough for many purposes.
But several advanced features are non-existent, which are listed below along
with their use cases:

 ・ Inbound DBus messaging: Allow a script to listen for DBus messages, which
will allow detecting system states and acting accordingly. For example, a
script/effect can disable itself on low battery.
 ・ Create new DBus endpoints: For custom communication needs from an external
script.
 ・ Listen for inputs: Allow scripts/effects to listen for input device events,
which will allow implementing an on-screen key viewer for screen recording
purposes.
 ・ Synthesise input: Allow synthesising input events useful for building
accessibility tools. The desktop portal already has this functionality, but IMO
there is no way to do so from a script/effect. Paired with the input listener,
things such as mouse keys can be implemented separately from KWin core.
 ・ Interaction with the system: Allow some way to interact with the system,
such as accessing files, executing scripts, using external libraries, etc.
These may pose security risks, so they can be guarded by a set of permissions,
similar to browser extensions.
 ・ Allow temporary changes: Some things in KWin are persistent even when
modified from a script, which includes workspaces. It would be useful to have
separation of persistence from actions.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1

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

Reply via email to