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

macOS TouchBar support #102

Open
IonoclastBrigham opened this issue Dec 13, 2018 · 0 comments
Open

macOS TouchBar support #102

IonoclastBrigham opened this issue Dec 13, 2018 · 0 comments

Comments

@IonoclastBrigham
Copy link
Collaborator

This is a proposal to support the macOS TouchBar, as found on recent generation MacBooks. The most straight-forward approach would simply be to reproduce some or all of the toolbar buttons, which would allow for quicker access without having to move one's hands from the keyboard or mouse around to move the pointer.

The really cool thing about such a feature is that, like the Mac menu bar, the TouchBar is context-sensitive, so there could be different configurations for the main window, the search window, the tab browser, etc. You could even have different options depending on whether you were just looking at things in the main window, or actively editing your tags. For example, you could activate an emoji widget, auto-complete suggestions for tags, or anything else you could imagine.

Technical Challenges

It is dubious whether racket-gui will ever support this. And if it doesn't, the only alternative would be to write some Cocoa code in Swift and access it via FFI (perhaps with some C glue code). The Cocoa code itself looks like it'd be pretty simple, but I have no idea how hard it'd be to integrate it so it plays nicely with the existing windows and racket-gui's internal message dispatching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant