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

Word-prediction in native browser

asked 2014-02-11 09:04:13 +0300

Dam gravatar image

updated 2014-07-21 16:17:34 +0300

jiit gravatar image

Looks like the prediction in the native browser search/address field is not enabled. Can it be enabled ?

edit retag flag offensive close delete

Comments

1

Predictions should be enabled everywhere. I don't understand why predictions are disabled for search fields and such. I don't think autocomplete is reason to disable predictions.

hetas ( 2014-02-13 20:23:33 +0300 )edit

2 Answers

Sort by » oldest newest most voted
3

answered 2020-02-27 01:48:38 +0300

Sebo gravatar image

updated 2020-02-27 02:09:17 +0300

Word suggestions were disabled because it was assumed that you only enter urls in the Url bar and no real words. I also can't understand this, because every browser has a combined address and search field nowadays.

edit flag offensive delete publish link more
3

answered 2020-02-28 02:17:02 +0300

Spam Hunter gravatar image

updated 2020-02-28 02:17:35 +0300

Despite the question is basically 6 years old and not gained much interest, I thought I'd answer anyway, so for those interested.......

IF you don't mind working with Terminal, you can edit the particular file in Sailfish Browser to enable word prediction.

devel-su nano +323 /usr/share/sailfish-browser/pages/components/Overlay.qml

As noted from the path shown above, we want to change this line which looks like this before editing;

inputMethodHints: Qt.ImhUrlCharactersOnly

change it to this;

// inputMethodHints: Qt.ImhUrlCharactersOnly

Save the file, open the browser and type something, you should now see predictive text.

image description

edit flag offensive delete publish link more

Comments

I just tried this, but with the line commented out, my browser does not start any longer. Do I have to restart the system in between?

Kekskopf ( 2020-02-28 10:12:09 +0300 )edit

ok, I retried and an additional restart of all apps via jolla "Hilfsprogramme" (no idea how it is called in English) does the trick. Thank you for the instructions!

Kekskopf ( 2020-02-28 10:16:28 +0300 )edit

I did the edit and then opened the browser and it worked. It shouldn't be necessary to restart anything, at least, I didn't need to do so.

Spam Hunter ( 2020-02-28 12:32:53 +0300 )edit

Well, I guess that means I messed it up in the first try. Doesn't surprise me, this nano editor behaves a little unexpected.

Kekskopf ( 2020-02-28 13:15:49 +0300 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2014-02-11 09:04:13 +0300

Seen: 394 times

Last updated: Feb 28