Summary: | Scripts do not get wayland clients | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Fabian Homborg <FHomborg> |
Component: | scripting | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | kde.org, tom |
Priority: | NOR | ||
Version: | 5.14.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Fabian Homborg
2018-11-22 16:44:11 UTC
*** Bug 401308 has been marked as a duplicate of this bug. *** Hi! Are you the author of https://github.com/faho/kwin-tiling? Yes, I am. Cool! I uploaded patches to expose wayland clients to the scripting api earlier today: * https://phabricator.kde.org/D17096 * https://phabricator.kde.org/D17097 In order to make your script work with wayland clients, you'll have to make the following checks X11-specific: * https://github.com/faho/kwin-tiling/blob/master/contents/code/tile.js#L215 * https://github.com/faho/kwin-tiling/blob/master/contents/code/tile.js#L283 * https://github.com/faho/kwin-tiling/blob/master/contents/code/tile.js#L300 How exactly would I do that? Is there some way to detect that we're running under wayland? Or that the client is a wayland one, given that I'd assume XWayland clients still have a basicUnit? (The "managed" check is pure defensive programming anyway, I've never seen that fail) This issue report is quite old and Vlad mentions, that he added some code to fix this issue. Can you please confirm, that it still persists with Plasma 5.23? Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |