bismuth
bismuth copied to clipboard
[DEV]: Remove the necessity to restart KWin to test newer version of the script
Summary
KWin caches the script and, because of that, it does not load a newer version once it's installed. Either we need to:
- Fix this issue in the upstream
- Find a way to work around the issue
Additional info
No response
Would qdbus-qt5 org.kde.KWin /KWin reconfigure work in that case?
Would
qdbus-qt5 org.kde.KWin /KWin reconfigurework in that case?
Our KCM unloads Bismuth and then loads all the enabled KWin scripts again, calling KWin DBus methods. What I tried:
- Change the sources, so that a new random string is printed on script launch.
- Disable Bismuth KWin Script part from KCM.
- Enable it from there.
Result: no new string is printed.
- Same
- Disable Bismuth from KCM
- Call the "reconfigure" KWin method
- Enable Bismuth from KCM
Result: no new string is printed.
- Same
- Call the "reconfigure" KWin method
- Disable Bismuth from KCM
- Enable Bismuth from KCM
Result: no new string is printed.
So, the conclusion is that this approach does not work.
Reported an issue upsteam: https://bugs.kde.org/show_bug.cgi?id=445839