https://bugs.kde.org/show_bug.cgi?id=505934
Bug ID: 505934
Summary: Installed scripts can't register screen edge listeners
Classification: Plasma
Product: kwin
Version First 6.4.0
Reported In:
Platform: NixOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: scripting
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
After upgrading to 6.4.0, Kwin scripts requesting readConfig("BorderActivate",
"") now receive "" instead of a usable value (on my system running 6.3.5, at
least, this was "0"). This means that scripts cannot register screen edge
listeners, at least as far as I am able to determine. (The documentation on
this is very sparse.)
The included Minimize All plugin still works correctly, but if I make an exact
copy of it (changing the script ID and nothing else) and install that manually,
it is no longer able to register a listener.
STEPS TO REPRODUCE
1. Run a Kwin script with the following code:
> console.log(readConfig("BorderActivate", ""))
2. Observe the log output
Alternatively:
1. Install https://www.pling.com/p/2136524/
2. Enable the script
3. Go to screen edge listener settings, and notice that it is not one of the
available options
OBSERVED RESULT
There is (to my understanding) no mechanism for installed scripts to register
screen edge listeners.
EXPECTED RESULT
The old method (from 6.3 and below) should be fixed, or a new method should be
documented.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS unstable 25.11 (commit 08f22084e608)
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0
--
You are receiving this mail because:
You are watching all bug changes.