Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kwin marked as not working #30

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Conversation

Callen44
Copy link
Contributor

@Callen44 Callen44 commented Jul 22, 2023

Kwin, the KDE window manager and Wayland compositor, clearly does not work with this watcher when using it over Wayland. Further testing should be done to figure out more, I do not have the expertise required to figure out why, but it appears that Kwin does not support any of the protocols specified. As mentioned by @renyuneyun in ActivityWatch/activitywatch#92 it is possible to get the active window from kwin, but a great deal more work would be required to make this happen. It may be a bit different than just adding another protocol though as this dose not seem to be just a protocol that would be required.

@2e3s
Copy link

2e3s commented Sep 30, 2023

aw-watcher-window-wayland would need to be mostly rewritten for that, because KDE solution would need a completely separate KWin + DBus handler, also it uses an outdated Wayland crate with a very different interface.

I have implemented it for Wayland + KDE, but I was already aware of the issue and planned the code with independent adapters in mind.

@cjc7373
Copy link

cjc7373 commented Oct 26, 2023

@2e3s Is there any chance that your implementation can be merged into this repo?

@2e3s
Copy link

2e3s commented Nov 1, 2023

@cjc7373 not really, my code is not based on this repository at all, so there is nothing to merge. Also this is "aw-watcher-window-wayland" while I intended to cover all Linux which includes X11, and later other platforms.

@johan-bjareholt johan-bjareholt merged commit 1efcc20 into ActivityWatch:master Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants