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

Suggestion: make Penc operate on the window under the mouse cursor #3

Closed
rsanchezsaez opened this issue Aug 15, 2018 · 8 comments
Closed

Comments

@rsanchezsaez
Copy link

Suggestion: make Penc operate on the window under the mouse cursor, even if that window is not active.

I think that would be a more useful default behavior, rather than operating on the active window. Or at least, consider adding an option for it.

@dgurkaynak
Copy link
Owner

That would be interesting, I will definitely try it out.

@dgurkaynak
Copy link
Owner

Hey guys, after struggling with macOS's accessibility api for almost a week, I finally managed to implement this feature. Window selection setting is added to preferences, you can update the app to v0.4.0. Love to hear your feedbacks.

screen shot 2018-08-22 at 19 02 37

@rsanchezsaez
Copy link
Author

Thanks for doing this, that was quick!

Unfortunately, it doesn't work for me at all. If I select that option, Penc stops working. Can I send you any information to help you debug the issue?

@dgurkaynak
Copy link
Owner

Hmmm, but focused window mode is still working right? I think I will prepare a special build with improved logging and send you.

Anyone else experiencing same issue?

@rsanchezsaez
Copy link
Author

Yeah, focused window mode still works. I've tried without connecting an external monitor, same result. I'm on macOS High Sierra 10.13.6 (17G65).

@dgurkaynak
Copy link
Owner

It's weird, we have same os version. I've already tried with and without external monitor, it works for me. Anyway, I will prepare a debug build and let you know @rsanchezsaez, probably in weekend. Thanks 👍

@dgurkaynak
Copy link
Owner

Hey @rsanchezsaez, I think I found the problem. I am using the dock with auto-hide setting on, when dock is always visible, it confuses the window selection algorithm. I assume your dock is always visible? Anyway I refined it and released 0.4.1 version. Can you please update the app and try again?

@rsanchezsaez
Copy link
Author

@dgurkaynak Yeah, my dock is always visible. It works now, thank you very much!

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

No branches or pull requests

2 participants