nemomobile-ux / main

Main repo for docs and issues of Nemomobile
7 stars 0 forks source link

keyboard doesn't work properly in landscape #15

Open jmlich opened 2 years ago

jmlich commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

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