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

[qtmozembed] Avoid sending orientation signal on scene changes. Fixes JB#57688 #42

Merged
merged 1 commit into from Mar 7, 2022

Conversation

llewelld
Copy link
Member

@llewelld llewelld commented Mar 7, 2022

Emitting an orientationChange signal when the QuickMozView is added to a scene can cause a segmentation fault, because the QML engine isn't ready to be activated.

This change ensures the orientation is set correctly, but without emitting the signal.

@rainemak
Copy link
Member

rainemak commented Mar 7, 2022

Nice catch @llewelld !

… JB#57688

Emitting an orientationChange signal when the QuickMozView is added to a
scene can cause a segmentation fault, because the QML engine isn't ready
to be activated.

This change ensures the orientation is set correctly, but without
emitting the signal.
@llewelld llewelld merged commit 5c671a5 into sailfishos:master Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants