-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Maximize Character Gesture Behaves Differently on Two Machines #19
Comments
Update: The Chrome issue gets weirder; I can use the maximize gesture on blank new windows/tabs. But as soon as I go to any website or open a settings pane, I can no longer use the maximize gesture 🤔 |
Hmm, yeah I do see the second issue - resize gestures aren't working on Chrome after navigating to a new site. The character gesture itself seems to be detected. It's possible Jitouch is getting the wrong window with getForemostApp(). On my 2021 MBP I don't see a smooth animation, just snapping. It may be OS-determined behavior, based on this call to |
Hello, Any solution for resized gestures aren't working on Chrome? Thanks |
tl;dr: To get gestures working on Chrome for now, go to chrome://accessibility and check the boxes "Native accessibility API support" and "Web accessibility". This may need to be done after every relaunch. So my Google Chrome wasn't working with the Maximize gestures, but then I navigated to chrome://accessibility and the gestures started working. The issue was Therefore, I suspect Google Chrome may have been hiding itself from the accessibility API by default. See this stackoverflow answer for another instance of this behavior. Just visiting the accessibility page seems to have fixed it for me, and now I can't get gestures to stop working, even if I uncheck all the accessibility features. Let me know if that fixes things for you. Edit: reinstalling Chrome made gestures stop working, and going to chrome://accessibility alone didn't fix them. They only started working when I checked both "Native accessibility API support" and "Web accessibility". Annoyingly, I'm not sure that Google Chrome remembers these settings after a relaunch. However, those permissions are required for Jitouch to do its job with the APIs it currently uses, so there's no way around them other than rewriting the window control code using some other API. Edit 2: It looks like Chrome turns on accessibility support only when the |
The gesture works after checking the boxes "Native accessibility API support" and "Web accessibility" but after restarting the browser the checkings are gone and also gesture stops working. Is there any way to save the checking after relaunch? |
It looks like actually a simple fix, I'll include it in the next beta. |
Beta now released at https://github.com/aaronkollasch/jitouch/releases/tag/v2.82-beta.2. Let me know if it works. |
It's now working very well even after relaunching the browser. Well done. Thank you very much. |
Awesome! |
So glad to see Jitouch back! 🎉. Thank you for working on this 🙏🏻.
I just installed Jitouch on my work and home laptops, and am seeing different behavior on them. On my home laptop, a MacBook Pro 15-inch, 2016, when I use the character gestures to maximize windows left or right, they snap instantly. And frustratingly, the gesture doesn’t work on Chrome windows.
However, on my work laptop, a 16-inch 2019 MacBook Pro, when I use the gestures, windows smoothly animate to their new position, and Chrome windows work just fine. What’s the expected behavior here? Are windows expected to smoothly transition between maximize states?
The text was updated successfully, but these errors were encountered: