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

[bug] Right-to-Left vkb have problem after last system update (2.0.1.7) - [FIXED in v2.0.2.45] [released]

asked 2016-02-09 13:16:09 +0300

Schturman gravatar image

updated 2016-08-01 16:29:10 +0300

jiit gravatar image

Hi to all..
After last system update (2.0.1.7) I noticed about a problem in my Hebrew virtual keyboard that based on English vkb. Probably it affect all Right-to-Left vkb's.
Every time when I press on space bar it also add space before the first word (see screenshot).
What interesting, that it happens only in sailfish apps. In android apps it working as usual without any problem. And it started to happens only aftet last system update.
Someone know what I can do to fix it ? Which file and what exactly edit ?
Thanks.

P.S. Already tried different ways, different fonts, but always the same result....
As example you can use my: https://openrepos.net/content/schturman/hebrew-vkb-simple
Screenshot - space before first word

Update: 13.02.16
I reinstalled all this 5 packages from version 2.0.0.10:
jolla-keyboard
jolla-keyboard-hwr
xkeyboard-config
maliit-framework-wayland
maliit-framework-wayland-inputcontext

but still get the same result...
Any other ideas ?

Update: 13.05.16
v2.0.1.11 same bug still here...
Any ideas ?

Update: 20.06.16
Problem fixed in v 2.0.2.45...
Thank Jolla (Pekka Vuorela)!

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by mosen
close date 2016-06-20 23:00:55.131939

Comments

I have no problems with any of Persian, Arabic or Urdu layouts, all of which are RTL. Albeit these are simple layouts based on jolla keyboard. Anyway, can you please clarify more if you have problems with just one Hebrew keyboard, or all of them? If one, please send a link for us to try to reproduce.

AliN ( 2016-02-10 11:09:51 +0300 )edit

Thanks. And answer is yes, it happens with all my vkb's... For example you can use this one: https://openrepos.net/content/schturman/hebrew-vkb-simple

Schturman ( 2016-02-10 11:27:56 +0300 )edit

P.S. maybe problem in font that I use? Maybe it somehow not really compatible with last system update... I will try to find another one and test it...

Schturman ( 2016-02-10 11:46:48 +0300 )edit

P.S2. Tested with another font, but got the same result...

Schturman ( 2016-02-10 11:58:06 +0300 )edit

I guess the problem is in how Jolla handle the Hebrew characters. I tried many scenarios including changing local.conf, trying different fonts (other than what was in your package), removing English letters from the layout, disabling spell-checker, importing jolla-keyboard 1.0 in the layout qml, etc.

Only in one scenario the layout worked properly, however not usable at all: Default DroidSansHebrew font on Jolla seems to have no characters(!) so without adding a correct font you will get rectangles for Hebrew letters. In this situation the keyboard works fine.

Furthermore, Just insert an English letter at the beginning, all those extra spaces will be gone. So I'm sure the problem is not with your layouts.

By the way, another problem with non-latin fonts ensures that they've changed something in font handling. In the changelog, however, they speak only about removing the "extra light" family.

AliN ( 2016-02-10 14:13:48 +0300 )edit

1 Answer

Sort by » oldest newest most voted
8

answered 2016-05-16 10:53:05 +0300

Pekka Vuorela gravatar image

Most likely this would be a Qt text rendering bug. Some upstream fixes have been picked for 2.0.1 and then some other for forthcoming release and currently not able to spot any spaces being prepended before the first word. Not expecting Maliit or Jolla-keyboard being involved, they are only used for sending text content to the application.

edit flag offensive delete publish link more

Comments

Hi @Pekka. With your answer I understand you got my mail, thanks.
Is it possible somehow fix this QT text rendering bug (by editing some files), or I should wait for upcoming updates and hopefully it will be fixed?

Schturman ( 2016-05-16 11:14:04 +0300 )edit
1

Not possible to make any manual fixes. Requires recompilation of qtbase.

Pekka Vuorela ( 2016-05-16 11:19:22 +0300 )edit
1

Thank you! Hope it will be fixed in upcoming updates..

Schturman ( 2016-05-16 11:27:49 +0300 )edit

Question tools

Follow
1 follower

Stats

Asked: 2016-02-09 13:16:09 +0300

Seen: 640 times

Last updated: Jun 20 '16