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

jumpapp fails to find Blender windows #6

Closed
klayman opened this issue Jan 17, 2015 · 4 comments
Closed

jumpapp fails to find Blender windows #6

klayman opened this issue Jan 17, 2015 · 4 comments
Labels

Comments

@klayman
Copy link

klayman commented Jan 17, 2015

I'm having trouble with switching to already running Blender window. Both WM_CLASS and WM_NAME are Blender, but I get the error Error: found running process for 'blender', but found no window to jump to.

@mkropat
Copy link
Owner

mkropat commented Jan 17, 2015

Weird. I'm going to try installing Blender myself and see if I can reproduce.

@mkropat mkropat added the bug label Jan 17, 2015
@mkropat
Copy link
Owner

mkropat commented Jan 17, 2015

I can reproduce the issue.

The reason it's not working is that Blender isn't setting the WM_CLIENT_MACHINE property. That property is necessary to match by PID, but it's not necessary to match by WM_CLASS. Unfortuantely there's a bug in jumpapp's logic, where it requires a WM_CLIENT_MACHINE machine to match on WM_CLASS, which again, is a bug in jumpapp.

Let me see if I can put together a fix.

mkropat added a commit that referenced this issue Jan 17, 2015
@mkropat
Copy link
Owner

mkropat commented Jan 17, 2015

@klayman I pushed a fix for this. It may take an hour or two for the PPA to be updated (if you've installed it that way).

I'm pretty sure it fixes the issue, but give it a try and let me know if it works.

@klayman
Copy link
Author

klayman commented Jan 19, 2015

Yes, it works! ) Thank you very much.

@klayman klayman closed this as completed Jan 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants