We have moved to a new Sailfish OS Forum. Please start new discussions there.
22

Fast input method change when only two keyboards available

asked 2014-03-17 21:59:05 +0300

coderus gravatar image

Voting for fast changing between keyboards if only two keyboards available. No need to show popup.

edit retag flag offensive close delete

Comments

Agreed, I suppose not many people need more than two keyboard layouts directly available all the time. This would be very useful e.g. when switching between normal and emoji keyboard.

nthn ( 2014-03-17 22:02:51 +0300 )edit
2

Do note that with two layouts enabled, the other one is preselected on the popup. Just need to press, hold, release.

Pekka Vuorela ( 2014-03-17 22:11:07 +0300 )edit
2

popup is annoying

coderus ( 2014-03-17 22:36:34 +0300 )edit

Switching keyboards on the N9 was done by swiping keyboard to the sides. It worked with more than 2 keymaps. I had 3 languages and Swype.Very quick. It changed the keymap and dictionary.

Nilux ( 2014-06-10 11:21:13 +0300 )edit

2 Answers

Sort by » oldest newest most voted
3

answered 2014-03-17 22:53:30 +0300

coderus gravatar image

updated 2014-03-17 22:54:09 +0300

[ fast fix ] /usr/share/maliit/plugins/com/jolla/KeyboardBase.qml

line 102:

replace

    if (canvas.layoutModel.enabledCount > 1) {
        var point = ActivePoints.findByKeyId(Qt.Key_Space)
        languageSelectionPopup.show(point)
    }

with

    if (canvas.layoutModel.enabledCount == 2) {
        for (var i = 0; i < canvas.layoutModel.count; i++) {
            if (i !== canvas.activeIndex && canvas.layoutModel.get(i).enabled) {
                canvas.layoutRow.switchLayout(i)
                break
            }
        }
    }
    else if (canvas.layoutModel.enabledCount > 2) {
        var point = ActivePoints.findByKeyId(Qt.Key_Space)
        languageSelectionPopup.show(point)
    }
edit flag offensive delete publish link more
0

answered 2014-03-19 08:12:42 +0300

I think the best way of switching keyboard is to toggle between last recent used so it can be done for more than 2 languages, while do showing menu in case you want other option, it's how it works on blackberry 10 and really comfortable. E.g.: you have 3 langs Y,X,Z. If switched from X to Z and long press again, it would switch back to X and bring pop up with choices, do if you need Y you choose it and in case you don't - just let the hold and pop up will disappear.

edit flag offensive delete publish link more

Comments

can you show small video for this behaviour?

coderus ( 2014-03-19 08:16:04 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2014-03-17 21:59:05 +0300

Seen: 428 times

Last updated: Mar 19 '14