maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Hide word suggestions atop the virtual keyboard (https://talk.maemo.org/showthread.php?t=96350)

NobodyInPerson 2016-01-13 08:41

Hide word suggestions atop the virtual keyboard
 
1 Attachment(s)
Hello everyone!

I just got myself a Jolla phone. :-)
There is one thing that I can't find in the settings, namely DEactivating the word/autofill suggestions atop the virtual keyboard (see attachment). I personally don't use them, because I want to know that if I've written bogus, it's my very own fault, not some software's. :-)
Besides, without this extra line you would see much more of the screen...

If the answer is obvious, please forgive my blindness :-)

Greetings,

NobodyInPerson

kinggo 2016-01-13 09:15

Re: Hude word suggestions atop the virtual keyboard
 
AFAIK, you can't hide that.
And what's even worse, since my language/keyboard is not supported all the words I type eventually end up in English dictionary. :confused:
I really miss that feature from N900 where the words were coming up as I was typing. :(

pichlo 2016-01-13 10:59

Re: Hude word suggestions atop the virtual keyboard
 
There is an existing TJC question about the same thing. The answer is, you cannot do it through the UI but you can by editing some files in Developer mode. It would even be an easy job for a patch, if anyone could be bothered.

The problem is that the clipboard icon is in the same row as the word suggestions and you do not want to lose that.

NobodyInPerson 2016-01-13 11:30

Re: Hude word suggestions atop the virtual keyboard
 
Quote:

Originally Posted by pichlo (Post 1494728)
The problem is that the clipboard icon is in the same row as the word suggestions and you do not want to lose that.

Didn't think about that, right... Okay, well then. Still a beautiful device :-)

vitaminj 2016-01-13 14:46

Re: Hide word suggestions atop the virtual keyboard
 
Settings, Text input, Allow split keyboard in landscape will put the suggestions down the middle rather than at the top, which may be a "good enough" fix for you (if you're only concerned with landscape)

NobodyInPerson 2016-01-13 19:12

Re: Hide word suggestions atop the virtual keyboard
 
Quote:

Originally Posted by vitaminj (Post 1494748)
Settings, Text input, Allow split keyboard in landscape will put the suggestions down the middle rather than at the top, which may be a "good enough" fix for you (if you're only concerned with landscape)

Yes probably. Still quite strange to write like this :-)

NobodyInPerson 2016-01-16 22:56

Re: Hide word suggestions atop the virtual keyboard
 
2 Attachment(s)
I found a solution that does the trick for me. This removes the middle column with word suggestions and the paste button from the landscape split view (which can be activated in Settings->Textentry->split keyboard), leaving you with a landscape keyboard with big keys that covers less than half of the screen. To use the pastebutton, you will have to switch to portrait mode. For me, this is perfect, because I personally don't use copy-pasting that often.

So here you go:
  • Become root (devel-su).
  • Open the file /usr/share/maliit/plugins/com/jolla/KeyboardGeometry.qml, consider making a backup file.
  • Quite in the center of the file, change
    Code:

    property int middleBarWidth: keyboardWidthLandscape / 4
    to
    Code:

    property int middleBarWidth: 0
  • restart mailiit-server by
    Code:

    killall maliit-server
  • Done! :-)

- tested with SailfishOS 2.0.0.10 (Saimaa) -

Known issues:
  • The Opera Mobile Android app seems to be special regarding the keyboard. It is the only Android app - or app at all - that I tested still displaying the paste button. You can't tap on it, so it's no actual problem, but it is sufficiently ugly :-) Possible workaround: Switch to portrait mode, hold the paste button and delete the clipboard contents. Now the icon is no longer shown in landscape mode until you put something to the clipboard again.


All times are GMT. The time now is 02:14.

vBulletin® Version 3.8.8