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

[Idea] Raise the keyboard on long devices

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

JacekJagosz gravatar image

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

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

Comments

You want the keyboard to move further up the screen?

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

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

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

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 +0200 )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 +0200 )edit

@JacekJagosz

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 +0200 )edit
5

to prevent unwanted effect in landscape change that line to this:

height: layout ? portraitMode ? layout.height*1.25 : layout.height : 0
kuba77 ( 2020-01-09 23:56:46 +0200 )edit

@kuba77 Thank you, now it is perfect!

JacekJagosz ( 2020-01-11 00:25:26 +0200 )edit

For me also (Sony Xperia 10) and I think this should be a setting in SFOS in future. Thank you

Ralf ( 2020-01-11 15:02:38 +0200 )edit

A smartphone should never be held vertically except when making an actual phonecall. Hold your Xperia 10 horizontally and you won't have a keyboard problem. Do people who hold screens vertically have their eyes placed vertically in their face, too? Do their TV screens hang vertically on the wall? Apparently so, since many of them insist on the most loathsome thing of all, the mark of true idiots: shooting vertical video! (Also known as VVS, Vertical Video Syndrome)

Praise be to the almighty Nokia N900 that was meant as a horizontal device only. If I made a phone I would make it taze the user's hand if it detected vertical alignment without an ear being present against the device.

bocephus ( 2020-01-12 07:07:54 +0200 )edit
2

@bocephus - I am almost 50 and come from the old generation, who generally writes texts with one hand. Therefore we only use the thumb. Holding a phone with both hands is not an option for me only for pictures and movis. Yes, but the N900 was good. I didn't have it but admired it. After my N8, I only had the N9.
Many greetings and a nice Sunday.

Ralf ( 2020-01-12 10:23:47 +0200 )edit

The mark of a true idiot, is one who names himself after a ventriloquists dummy, eh @bocephus

Spam Hunter ( 2020-01-12 12:31:37 +0200 )edit

@bocephus Maybe I could agree in other cases, in other phones it is faster to type with the phone sideways, but I still often typed vertically, because then you can see a lot more of what you are typing. But this topic is about an Xperia 10. And Xperia 10 is so thin, that when you turn it sideways you can see only one line of text. And if you are typing on a website it is impossible to see a thing. And if you use an Ease keyboard (like I do on the screenshots) it fills the entire screen so you can't see a thing. So vertical keyboard is still a viable option in those cases, and also if all you need it to type 2 words in a search engine. And please, don't get so riled up about somebody else preference that in the end doesn't change much.

JacekJagosz ( 2020-01-12 13:58:31 +0200 )edit

@JacekJagosz and I thank you for your idea. I'm using Redmi 5 Plus (with SFOS) which has 18:9 screen and I didn't know that I need this but writing is better with this patch. I only decreased the value to 1.10 for me.

kuba77 ( 2020-01-14 00:55:18 +0200 )edit

3 Answers

Sort by » oldest newest most voted
1

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

Ralf gravatar image

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

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

look here

edit flag offensive delete publish link more
0

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

atlochowski gravatar image

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

@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

Comments

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 +0200 )edit

thanks [10chars]

atlochowski ( 2020-01-08 01:26:10 +0200 )edit
0

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

dirksche gravatar image

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

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
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

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

Seen: 580 times

Last updated: Jan 11 '20