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

final fix for screen touch/pointer event with qt6 #1603

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

janbar
Copy link
Contributor

@janbar janbar commented Sep 17, 2024

On platform without mouse pointer, touch events should be accepted and processed without translations.

It closes the workaround introduced in the commit 256b2a4.
Qt5 is not affected by this fix, even if it would work with Qt >= 5.10. So I don't change the previous behavior for qt5, as it works as expected with the mouse event translation.
With qt6, it is no longer possible to translate properly a mouse event to touch event, and we have to handle touch events without any translations.

Tested with qt5 & qt6 on Desktop (Linux), and mobile devices (Android 12 & 14).

On platform without mouse pointer, touch events should be accepted and processed without translations.
Copy link

@Framstag Framstag merged commit 9410226 into Framstag:master Sep 17, 2024
19 checks passed
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.

2 participants