maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] Japanese input method for Sailfish OS (now with 99% less crashes) (https://talk.maemo.org/showthread.php?t=92334)

Ascense 2014-01-26 20:27

Re: [WIP] Japanese input method for Sailfish OS
 
Quote:

Originally Posted by Behold (Post 1409126)
As Penguin said, the easiest way is to build the RPM outside of QtCreator. What I did personally was I first launched the SDK through QtCreator (open a Sailfish project and then click "Start Sdk" near the bottom in the sidebar; there's probably a way to launch the SDK without using QtCreator, but I don't know how personally), then I SSH'd in to the SDK (see https://sailfishos.org/develop-faq.html, "How do I login into the emulator or build engine?" > "Build Engine", "as user mersdk"). There I just ran rpmbuild -bb manually against my spec file. You need to make sure that you have the sources packaged correctly in ~/rpmbuild/SOURCES, though.

Big thank you to you and Penguin! I now managed to build a working rpm, and I also included the post-install, post-uninstall commands suggested by Penguin...

peremen 2014-01-27 02:55

Re: [WIP] Japanese input method for Sailfish OS
 
Quote:

Originally Posted by Ascense (Post 1409145)
Big thank you to you and Penguin! I now managed to build a working rpm, and I also included the post-install, post-uninstall commands suggested by Penguin...

Too bad that I implemented Korean keyboard two weeks ago, and did not announced it yet :(

http://talk.maemo.org/showthread.php?p=1409210

arthurartoria 2014-03-15 12:47

Re: [WIP] Japanese input method for Sailfish OS
 
Nice to meet you, Behold.

I am so interested about input method and keyboard in Sailfish, since a traditional chinese input methos is still not readily available. May I have your experience about developing one input method?

Thank you very much !

@Behold

lalomartins 2014-05-16 09:59

Re: [WIP] Japanese input method for Sailfish OS
 
Hey Behold,

I can type Japanese with your IM on Android apps, but on native apps I just get latin text, anthy never seems to kick in. Any ideas? (I even rebooted the phone.)

Behold 2014-05-16 16:41

Re: [WIP] Japanese input method for Sailfish OS
 
Quote:

Originally Posted by lalomartins (Post 1425593)
Hey Behold,

I can type Japanese with your IM on Android apps, but on native apps I just get latin text, anthy never seems to kick in. Any ideas? (I even rebooted the phone.)

Yeah, I've been getting the same. It started happening since a recent Sailfish OS update, so there's probably been some change to how layouts are handled. I haven't had much time to work on this project lately, but I'll see if I can find what the problem is here over the weekend. No promises though.

Behold 2014-05-17 14:37

Re: [WIP] Japanese input method for Sailfish OS
 
All right, I've pushed a small fix and updated the jolla-anthy-jp package. It should be a bit better about switching to the correct input handler now. Note though that you might still have trouble getting it working in for example the browser, or at least I had, because Maliit reports 'predictionEnabled' as false for some input fields, which will cause the input handling code in jolla-keyboard to fallback on a more basic input handler. This affects not only the Japanese input method, though, but all other input methods as well.

Edit: The problem is mentioned here: https://together.jolla.com/question/...king-features/

lalomartins 2014-05-17 14:43

Re: [WIP] Japanese input method for Sailfish OS
 
I did notice today I'm not getting prediction in the browser with English, either.

razcampagne 2014-10-24 04:05

Re: [WIP] Japanese input method for Sailfish OS
 
Hi,

I am using your japanese input method for some time now but the crash rate (when choosing other than the first suggestion) is pretty bad on my end so I am trying to track the bug down.

Using gdb, I found that it crashes in libanthy when swapping the suggestions around to make the one with the highest score in the first place and it seems the memory is in pretty bad shape within the suggestions' dictionary.

I'd like to trying a workaround for now (just commenting out the swap process) but I have a hard time figuring out how you managed to compile libanthy using the source available in your repository on github…

Could you help me?

salyavin 2014-10-31 02:21

Re: [WIP] Japanese input method for Sailfish OS
 
I am experiencing the same behavior as razcampagne, to be honest it makes it very hard to input Japanese, I can't even select my wife's name ^-^;;

Behold 2014-11-09 21:09

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
All right, I've updated jolla-anthy-jp to version v0.03 which *should* fix the frequent crashes. Please report any issues you're having.

I'd like to extend a thank you to razcampagne and p2501 for taking some time to look into the issue and pointing me in the right direction which enabled me to finally find a working workaround.


All times are GMT. The time now is 09:05.

vBulletin® Version 3.8.8