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

Some Linux windows do not have a PID connected to them and fail window detection #72

Closed
kmteras opened this issue Dec 31, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@kmteras
Copy link
Owner

kmteras commented Dec 31, 2019

Describe the bug
Some Linux windows do not have a PID connected to them and fail window detection.

To Reproduce
Application that behave like this: Steam, KeyPass 2

Expected behavior
The windows and their process is supposed to be detected normally.

Desktop:

  • OS: Linux
  • Version v0.2.0
@kmteras kmteras added the bug Something isn't working label Dec 31, 2019
@kmteras kmteras self-assigned this Dec 31, 2019
@kmteras
Copy link
Owner Author

kmteras commented Dec 31, 2019

Added a workaround in 994d355. The window can still be detected and time can be allocated to it but the owner of the window will be "unknown".

This happens because all windows are not given a PID on creation.
Some linked issues/threads:
Someone trying to get the window id from PID - There is a mailarchive with a codesnippet for a LD_PRELOAD that supposedly gives all windows a PID upon creation.
Someone trying to kill a window with no PID

@kmteras kmteras closed this as completed Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant