Skip to content

Try removing all the _process_events calls and see what happens - #14227

Merged
larsoner merged 6 commits into
mne-tools:mainfrom
wmvanvliet:process-events
Aug 26, 2026
Merged

Try removing all the _process_events calls and see what happens#14227
larsoner merged 6 commits into
mne-tools:mainfrom
wmvanvliet:process-events

Conversation

@wmvanvliet

Copy link
Copy Markdown
Contributor

Manually processing QT events inside an event handler wreaks havoc when having multiple event handlers attached to the same event. The first event handler "steals" all the events this way.

@larsoner and I were wondering whether these explicit calls to _process_events are actually necessary.

This PR removes a lot of them and adds unit tests to see if anything breaks.

@larsoner
larsoner disabled auto-merge August 26, 2026 13:31
@larsoner
larsoner enabled auto-merge (squash) August 26, 2026 13:40
@larsoner
larsoner disabled auto-merge August 26, 2026 14:28
@larsoner
larsoner enabled auto-merge (squash) August 26, 2026 14:28
@larsoner
larsoner merged commit 939b4d0 into mne-tools:main Aug 26, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants