-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Mouse vanish bug fix #4744
Mouse vanish bug fix #4744
Conversation
This should be a workaround for the missing cursor, that happens on MacOS probably due to a missing release event in overload situations. lp196978 If this happens again, only one knob is affected instead of whole Mixxx and it heals itself by another mouse click because it is not longer stacking up.
src/util/scopedoverridecursor.h
Outdated
QApplication::setOverrideCursor(cursor); | ||
QApplication::processEvents(); | ||
QGuiApplication::setOverrideCursor(cursor); | ||
QGuiApplication::processEvents(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QCoreApplication::processEvents()?
There should be a compiler or linter flag for detecting these kinds of inconsistencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added this to the last commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Let's give it a try. LGTM
This PR aims to fix bugs:
https://bugs.launchpad.net/mixxx/+bug/1130794
https://bugs.launchpad.net/mixxx/+bug/1969278
It replace using to global cursor stack by using the widget cursor.
This should be a workaround for the missing cursor on MacOS, probably due to a missing release event in overload situations. If this happens again, only one knob is affected instead of whole Mixxx and it heals itself by another mouse click because it is not longer stacking up.