maemo.org Bugzilla – Bug 4178
hildon-input-method needs a finger keyboard example
Last modified: 2009-10-14 11:11:24 UTC
You need to log in before you can comment on or make changes to this bug.
Disclaimer: this is a bug related to HIM in a setting other than Maemo and I cannot see why this happens, but upgrading from HIM 2.0.4 to Fremantle version seems to have killed stylus keyboard plugin capability. SOFTWARE VERSION: 5.0-alpha STEPS TO REPRODUCE THE PROBLEM: Try to utilize hildon-input-method-plugins-example with Fremantle HIM by setting himExample_vkb as /apps/osso/inputmethod/input_method_plugin EXPECTED OUTCOME: Ability to use stylus keyboard plugin. ACTUAL OUTCOME: Stylus keyboard does not pop up. REPRODUCIBILITY: always EXTRA SOFTWARE INSTALLED: OTHER COMMENTS: I cannot for the life of me see in the code where this problem happens, but would like to ask for a gconf example where HIM works with himExample_vkb, but if HIM is actually hard-wired and such an example cannot be produced, this is a bug report about that, since that no OSS finger keyboard plugins exist and the existing example stylus keyboard cannot be used. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
The stylus keyboard has been dropped in Fremantle, see http://maemo.org/development/sdks/maemo5_alpha_overview/ If that means that no HIM example keyboard is useful now then it is fair to ask for an example keyboard useful for Fremantle. I guess Mohammad is the right assignee to provide it.
(In reply to comment #1) > The stylus keyboard has been dropped in Fremantle, see > http://maemo.org/development/sdks/maemo5_alpha_overview/ > There seems to be a fair bit of interest in implementing a community stylus keyboard, and not being able to use the input method "framework" (a framework with one purpose aint much of a framework) to develop it certainly throws a wrench in the works. Raising priority and severity.
Correct me if I'm wrong but one thing is the lack of a convenient example and another thing is 'not being able to use the input method "framework"'. Has anybody tried to fit the Diablo stylus keyboard that was provided as example in the Fremantle Hildon Input Method fw? Anyway, Tero knows better when the finger keyboard example is supposed to be done.
(In reply to comment #3) > Has anybody tried to fit the Diablo stylus keyboard that was provided as > example in the Fremantle Hildon Input Method fw? > Yes, that should the the scenario that was outlined in the report.
(In reply to comment #3) > Anyway, Tero knows better when the finger keyboard example is supposed to be > done. > The keyboard is in the works and there should be code to show in a week or two.
(In reply to comment #5) > The keyboard is in the works and there should be code to show in a week or two. Tero, is there some progress here?
Being worked on by Murray. Wasn't as simple as expected. Reassigning to Murray.
In previous versions of the platform, the HIM had a little window that sat at the bottom of the screen and that was the place where most plugins (including the example plugin) were located. This window does not exist in Fremantle, and that is the basic reason why the example needs to be modified. The GConf settings for selecting the plugin to be used on each trigger are located under "/apps/osso/inputmethod/default-plugins/".
I wonder, does anybody else using the public SDK have any gconf values under /apps/osso/inputmethod/default-plugins/". You can see with gconftool-2 --dump /apps/osso/inputmethod/default-plugins
(In reply to comment #9) > I wonder, does anybody else using the public SDK have any gconf values under > /apps/osso/inputmethod/default-plugins/". Nope, completely empty here.
how about try to build latest HIM package from stage?
(In reply to comment #11) > how about try to build latest HIM package from stage? As mentioned in https://bugs.maemo.org/show_bug.cgi?id=4729 the current svn of hildon-input-manager can't be built in the beta2 SDK, without installing a GTK+ from svn, so this can't be reliably confirmed.
I have not made much progress - I still can't get the finger keyboard example to ever show up on screen, for instance in maemopad. However, after lots of email back and forth I have maybe discovered the new gconf settings that should be used to specify the use of the finger keyboard. I have noted these in the README: https://stage.maemo.org/viewcvs.cgi/projects/haf/trunk/hildon-input-method-plugins-example/README?root=maemo&view=markup (I have also updated that svn to build in the Beta2 SDK, now that I have write access. The new "tips" project might also provide a UI to set the correct gconf keys, but I can't get it to work in the betaSDK. It seems to be an extension for the Text Input settings/control-panel (osso-applet-textinput?), which is not available in the Beta2SDK. I have asked the author via email to actually write something in its README. Although it seemed to work in the internal SDK, it did not magically make the example work. The extreme lack of API documentation is an obstacle, and I'm not getting much help, so it's taken me a long time to get even this far. I don't have much confidence now that I can ever get this to work, but I'll try to dig into the source code of the various closed-source modules to discover what the code should really do now.
(In reply to comment #13) > The new "tips" project might also provide a UI to set the correct gconf keys I forgot to mention the URL: https://garage.maemo.org/scm/?group_id=1011 (It has code in svn.)
There are a couple of example virtual keyboards for Fremantle in the hildon-input-method-plugins-example trunk that have been created recently by Joaquim Rocha and me. The old him-vkb-example will not work unchanged in Fremantle since, as I said before, the UI has changed and the Hildon Input Method doesn't have a small window at the bottom of the screen where it holds its plugins. The SVN repository with the new examples: https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-input-method-plugins-example/ The "Text Input Plugin Selector" is a small plugin for the "Text Input" applet in the Control Panel that will let you select the desired plugin for a given trigger (finger, stylus or keyboard). I plan to make a initial release soon, as so far the SVN version seems to work well. Main page: https://garage.maemo.org/projects/tips/ SVN repository: https://garage.maemo.org/svn/tips
Yes, finally we have good news. Joaquim Rocha and Felipe Erias Morandeira have fixed the current example plugin and even added one more in the existing svn module: https://stage.maemo.org/viewcvs.cgi/projects/haf/trunk/hildon-input-method-plugins-example/README?root=maemo&view=markup ( svn co https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-input-method-plugins-example ) And they work, using the gconf settings mentioned in the README! Well, testing with maemo with the beta2 SDK, the text doesn't actually arrive in the HildonTextView widget, but it does work with my secret internal SDK target. So I'll just leave this open until we can confirm it with the next public SDK release. Thanks Felipe and Joaquim.
Created an attachment (id=1356) [details] Screenshots of the two example keyboards This is a screenshot showing the two keyboards in action :-)
By the way, felipe, we (Openismus) added a multipress IM to regular GTK+ a while ago: http://git.gnome.org/cgit/gtk+/tree/modules/input/gtkimcontextmultipress.h You might want to reuse that somehow, though that's really not important.
So can this be closed as FIXED now, or what else is needed here?
Besides the new HIM libraries/framework versions being published in a SDK, nothing as far as I can see.
Well, like I said in comment #16, I at least need to remember to confirm it when the next SDK is published, in case the example code gets out of sync with the API again.
I've heard from the Mer developers that these examples now work in a public SDK (Maemo 5.0 Final). Fixed.