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

Deal with a dissapearing cursor on windows #2028

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

baconpaul
Copy link
Collaborator

I was calling spawn_miniedit_text modally inside an already modal
loop so the modal loops unwound improperly in some cases not restoring
cursor. This meant controller name on windows would eat the cursor

Fix it by haing the menu defer the call in a VSTGUI::Call::later

did a quick review and the other spots with miniedit are already
deferred it seems or are called from different parts of the event
loop

Closes #1465

I was calling spawn_miniedit_text modally inside an already modal
loop so the modal loops unwound improperly in some cases not restoring
cursor. This meant controller name on windows would eat the cursor

Fix it by haing the menu defer the call in a VSTGUI::Call::later

did a quick review and the other spots with miniedit are already
deferred it seems or are called from different parts of the event
loop

Closes surge-synthesizer#1465
@baconpaul baconpaul merged commit 250cc29 into surge-synthesizer:master Jun 4, 2020
@baconpaul baconpaul deleted the cursor-modal-1465 branch June 8, 2020 17:55
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.

Mouse pointer does not reappear after renaming assignable controllers
1 participant