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

keyboard doesn't work properly in landscape #15

Open
jmlich opened this issue Sep 28, 2021 · 2 comments
Open

keyboard doesn't work properly in landscape #15

jmlich opened this issue Sep 28, 2021 · 2 comments

Comments

@jmlich
Copy link
Member

jmlich commented Sep 28, 2021

The glacier-browser have enabled landscape mode. The keyboard is up side down.

20210823214052

20210823213824

The same issue is also in fingerterm which doesn't use maliit.

@jmlich
Copy link
Member Author

jmlich commented Mar 4, 2022

It consist of two parts: keyboard is separate window in maliit-server process which overlaps the application it self which renders the keyboard [1]. The application it self reduces the size of canvas [2]. It seems the detection of orientation of ApplicationWindow wasn't finished during some rework. The [2] seems to be the right place to fix the issue.

[1] https://github.com/nemomobile-ux/maliit-nemo-keyboard/blob/master/qml/nemo-keyboard.qml
[2] https://github.com/nemomobile-ux/qtquickcontrols-nemo/blob/master/src/controls/qml/ApplicationWindow.qml#L243

@jmlich
Copy link
Member Author

jmlich commented Mar 25, 2022

Additionally, it sees that behavior is different when are following properties set

    contentOrientation: Screen.orientation
    allowedOrientations:  Qt.PortraitOrientation | Qt.LandscapeOrientation | Qt.InvertedLandscapeOrientation | Qt.InvertedPortraitOrientation

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

No branches or pull requests

1 participant