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

fix!: Rename accesskit_winit::Adapter::on_event to process_event #307

Merged
merged 1 commit into from
Nov 4, 2023

Conversation

DataTriny
Copy link
Member

Closes #300

The name on_event suggests that this function won't have side effects, which is not the case.

We received strong push-back from developers who don't want AccessKit to filter events. We previously agreed on keeping the mechanism around even though we didn't use it for keyboard events on Unix. Even though we might need it in the future for other features, this is not currently the case, therefore it is hard to convince people to use it. I propose to remove it for now.

@DataTriny
Copy link
Member Author

The two same tests are failing again. Looks like #306 didn't change anything afterall.

@mwcampbell
Copy link
Contributor

OK, we'll revisit event filtering if and when we actually implement a self-voicing adapter.

@mwcampbell mwcampbell merged commit 6fbebde into main Nov 4, 2023
5 checks passed
@mwcampbell mwcampbell deleted the winit-process-events branch November 4, 2023 18:00
@mwcampbell mwcampbell mentioned this pull request Nov 4, 2023
@alice-i-cecile
Copy link

Thanks, y'all rock <3

@mwcampbell
Copy link
Contributor

@alice-i-cecile What are Bevy's plans for updating to winit 0.29? I was just wondering if we need to backport this fix to another accesskit_winit release that still uses winit 0.28.

@alice-i-cecile
Copy link

We'll be upgraded to 0.29 by the next Bevy release. It's a complex migration, but hotly desired. @Vrixyz has been leading those efforts

@mwcampbell
Copy link
Contributor

OK, then I gather it's not necessary to backport this API fix for winit 0.28.

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

Successfully merging this pull request may close these issues.

access_kit_winit Adapter::on_event is confusingly named and undocumented
3 participants