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

[Idea] Raise the keyboard on long devices

asked 2020-01-07 23:14:34 +0300

JacekJagosz gravatar image

updated 2020-01-08 13:02:19 +0300

I have just moved to Xperia 10 form Jolla 1 and Xperia XZ1 Compact - wonderful, 4,5" blocky phones. And I can't stand that I have to move my hand and loose proper grip, just to access interface parts or gestures. You can mostly go around them, but the biggest hurdle is the keyboard, which is very problematic. What if the keyboard was higher up? You would loose screen area, but it was fine with other phones, and this would mean you could have both big screen AND comfort of not having to move your hand. I think iOS did that to a lesser extend when they made the screen longer on iPhone X. I would be extremely grateful for an option or a patch like that. image description image description

edit retag flag offensive close delete


You want the keyboard to move further up the screen?

Spam Hunter ( 2020-01-08 12:55:43 +0300 )edit

Yes, right now it is too low and I have trouble with holding the phone

JacekJagosz ( 2020-01-08 13:01:34 +0300 )edit

Okay, not sure how it will pan out in reality but give this a try, assuming you're not afraid to use terminal.

Navigate to devel-su nano +96 /usr/share/maliit/plugins/com/jolla/KeyboardBase.qml here you will see the line looks like this;

height: layout ? layout.height : 0

change that line to look like this;

height: layout ? layout.height*1.25 : 0

This also has a dire effect on the keyboard in landscape view, more so as you increase the 1.25 figure

You can use systemctl --user restart maliit-server.service to restart the keyboard.

I did this with Messages open and a half written text, this way you can see the changes you make quite quickly.

It's not perfect, but is somewhere near what you are asking for.

Here's how it looks on Jolla1

image description

Spam Hunter ( 2020-01-08 17:18:27 +0300 )edit

@Edz This is exactly what I wanted, thank you! You should post it as an answer. One more thing, is there a way to set it only for vertical layout? Because in horizontal the keyboard covers most of the screen.

JacekJagosz ( 2020-01-08 21:02:11 +0300 )edit


As I already stated, it has an unwanted effect on the keyboard in landscape.

There probably is a way to prevent it, I'll take a look at some point and if I work it out, I'll post it here.

Spam Hunter ( 2020-01-08 21:34:16 +0300 )edit

3 Answers

Sort by » oldest newest most voted

answered 2020-01-11 19:07:07 +0300

Ralf gravatar image

updated 2020-01-11 19:08:21 +0300

Now had make ichthyosaurus a special patch for it. Thanks on ichthyosaurus!

look here

edit flag offensive delete publish link more

answered 2020-01-09 20:20:09 +0300

dirksche gravatar image

updated 2020-01-09 20:21:36 +0300

Did you try the higher keyboard rows patch by ichthyosaurus? I don't know if it works with this special keyboard of yours.

edit flag offensive delete publish link more

answered 2020-01-08 00:58:31 +0300

atlochowski gravatar image

updated 2020-01-08 00:59:36 +0300

@JacekJagosz Is it always looks like this on your Xperia 10? image description

For me it looks like a bug. On my Jolla 1 and Jolla C it looks good.

edit flag offensive delete publish link more


It is caused by the font I'm using, the Nokia Pure font (Openrepos) is slightly wider. With Sailfish one they almost touch (less than one letter of space), with this one they overlap. I haven't noticed it anywhere else

JacekJagosz ( 2020-01-08 01:20:18 +0300 )edit

thanks [10chars]

atlochowski ( 2020-01-08 01:26:10 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2020-01-07 23:14:34 +0300

Seen: 548 times

Last updated: Jan 11 '20