Fast input method change when only two keyboards available
Voting for fast changing between keyboards if only two keyboards available. No need to show popup.
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Voting for fast changing between keyboards if only two keyboards available. No need to show popup.
[ 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)
}
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.
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2014-03-17 21:59:05 +0200
Seen: 442 times
Last updated: Mar 19 '14
Let me type dashes and spaces when editing the phone number in People
Keyboard layouts possible to provide in Jolla store?
User accessible place for keyboard layouts
German keyboard layout lacks umlaut ß [answered]
Hungarian keyboard layout [answered]
Polish keyboard layout bug [released]
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 +0200 )editDo 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 +0200 )editpopup is annoying
coderus ( 2014-03-17 22:36:34 +0200 )editSwitching 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 +0200 )edit