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

Mouse vanish bug fix #4744

Merged
merged 3 commits into from
May 10, 2022
Merged

Mouse vanish bug fix #4744

merged 3 commits into from
May 10, 2022

Conversation

daschuer
Copy link
Member

@daschuer daschuer commented May 5, 2022

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.

daschuer added 2 commits May 5, 2022 17:40
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.
@github-actions github-actions bot added the ui label May 5, 2022
@daschuer daschuer changed the base branch from main to 2.3 May 5, 2022 17:00
QApplication::setOverrideCursor(cursor);
QApplication::processEvents();
QGuiApplication::setOverrideCursor(cursor);
QGuiApplication::processEvents();
Copy link
Contributor

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.

Copy link
Member Author

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.

@daschuer daschuer modified the milestones: 2.3.2, 2.3.3 May 10, 2022
Copy link
Contributor

@uklotzde uklotzde left a 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

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

Successfully merging this pull request may close these issues.

2 participants