RE: A patch for libhildon -- for auto-launch keyboard
On Wed, 2007-08-15 at 16:26 -0700, Spencer, Bob wrote: > What is required from the application in order to have the "automatic" > behavior? Are the text input fields derived from a different class? In general, nothing. Correctly written widgets automatically work, so for every standard widget it works and the majority of custom widgets. If a custom GTK+ widget doesn't cause the keyboard to appear when it does, that is a bug in the widget. > What does "being opened at the moment" mean? I heard this a couple of > months ago. Getting closed source opened involves going through Nokia's Legal department, which in my experience (with eds-sync specifically) isn't the fastest in the world. Basically we wait... Ross -- Ross Burton mail: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF signature.asc Description: This is a digitally signed message part -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: A patch for libhildon -- for auto-launch keyboard
Ross Burton wrote: > On Tue, 2007-08-14 at 15:23 +0100, Ross Burton wrote: >> In Poky we start the keyboard in the X session, and install the GTK+ >> input method (part of the matchbox-keyboard source) so that the >> keyboard is toggled as required. The keyboard is toggled via IPC >> between the input method and the keyboard, so you don't need to >> constantly kill and restart it. > > I should say that this approach means that the keyboard automatically > appears/disappears for *every* widget *automatically*, thanks to > using the support GTK+ already has for input methods. It is also the > same model as the Maemo approach, which at present is closed source > (although it is being opened at the moment). > > Ross What is required from the application in order to have the "automatic" behavior? Are the text input fields derived from a different class? What does "being opened at the moment" mean? I heard this a couple of months ago. Thanks! Bob -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: A patch for libhildon -- for auto-launch keyboard
* "Michael Dominic K." | Perhaps I'm not fully getting it, but how is that different than | standard gtk input methods stuff? It's not; I'm slowly beginning to understand how those bits fit together now. :-) -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: A patch for libhildon -- for auto-launch keyboard
On Wed, 2007-08-15 at 17:35 +0800, Han, Jian wrote: > Hi, > You may try the matchbox-keyboard on moblin.org. > I have done some job on make matchbox-keyboard look pretty. > Waiting for your feedback^_^ > It would be good to see patches for this upstream. From the look of the shots Im guessing you've hacked the cairo backend ? And hopefully you've done that in a theme-able way rather than hard coding the look ? -- Matthew -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: A patch for libhildon -- for auto-launch keyboard
Hi; On Wed, 2007-08-15 at 09:37 +0200, Tollef Fog Heen wrote: > > Only problem is the keyboard ends up consuming quite a lot of screen > real estate, see http://err.no/tmp/DSC_5932.2.JPG for a picture. (The > resolution on that device is 1024x600.) > > I think we could manage to shave off a complete row of keys by > reducing the size of Home/PgUp/End/PgDn (or get rid of them > completely) and making a numpad there. > > Getting rid of the arrow keys also seems sensible - you have a touch > screen, which is much, much faster to use than using arrows. > Its basically just a case of creating a custom layout file, see the README in the matchbox-keyboard source. If this is not enough then it means tweaking the layout algorithm which is (though I've tried to make it generic) maybe a little preferred to smaller displays. As Ross mentions, the openmoko guys are known to be working on a number of improvements to matchbox-keyboard key to which is a proper themeing engine. See this thread; http://lists.o-hand.com/matchbox/0117.html and perhaps http://lists.o-hand.com/matchbox/0128.html . Another thing worth mentioning is hildon uses input windows in a slightly more complex way than a default matchbox wm build. I.e they build with --enable-alt-input-windows which essentially expects the input window to set it transiency to the window its inputing for. This is so matchbox knows if the target window is a dialog or an application window and then it behaves differently - for example an application window wont be resized (the keyboard is overlaid) and the resizing/repositioning of a dialog is also different. For this to work it needs support from both applications and the input window itself - and matchbox-keyboard does not currently do this. I do not 100% understand how its handled by the hildon input method infrastructure nor applications. A default matchbox build will just resize app and dialog windows (just as if the input window is a panel). Hope that all helps; -- Matthew -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: A patch for libhildon -- for auto-launch keyboard
On Wed, 2007-08-15 at 09:37 +0200, Tollef Fog Heen wrote: > This looks great; I have a test package, based off current SVN, > working here which I'll proceed to upload. Any take on whether I > should enable the panel applet as well? The panel applet is only really useful for non-GTK+ applications. I wrote it because in Poky we used to have rxvt as a terminal, but now I've written a vte based terminal it isn't required any more. I suggest you package it, but don't install it by default. > Only problem is the keyboard ends up consuming quite a lot of screen > real estate, see http://err.no/tmp/DSC_5932.2.JPG for a picture. (The > resolution on that device is 1024x600.) > > I think we could manage to shave off a complete row of keys by > reducing the size of Home/PgUp/End/PgDn (or get rid of them > completely) and making a numpad there. > > Getting rid of the arrow keys also seems sensible - you have a touch > screen, which is much, much faster to use than using arrows. Sounds reasonable to me. The OpenMoko people are also hacking on Matchbox Keyboard, which you might find interesting (see the matchbox list). I'll also ping Matthew, he might have some good ideas for compacting the layout. Ross -- Ross Burton mail: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF signature.asc Description: This is a digitally signed message part -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: A patch for libhildon -- for auto-launch keyboard
* Ross Burton | In Poky we start the keyboard in the X session, and install the GTK+ | input method (part of the matchbox-keyboard source) so that the keyboard | is toggled as required. The keyboard is toggled via IPC between the | input method and the keyboard, so you don't need to constantly kill and | restart it. This looks great; I have a test package, based off current SVN, working here which I'll proceed to upload. Any take on whether I should enable the panel applet as well? Only problem is the keyboard ends up consuming quite a lot of screen real estate, see http://err.no/tmp/DSC_5932.2.JPG for a picture. (The resolution on that device is 1024x600.) I think we could manage to shave off a complete row of keys by reducing the size of Home/PgUp/End/PgDn (or get rid of them completely) and making a numpad there. Getting rid of the arrow keys also seems sensible - you have a touch screen, which is much, much faster to use than using arrows. -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: A patch for libhildon -- for auto-launch keyboard
Hi, Ross As far as I known, Nokia has done something in GTK and change it name as Maemo_GTK. In that version of GTK, a new input method is supported. Base on that GTK, keyboard can be auto-launched easily. Now we need to use the GTK 2.11 in the main stream. Can I have the feature of auto-launch without doing anything either on gtk or on libhildon? Or you mean that I can wait for a moment. Then the new version of GTK on gnome.org will have the code of Maemo_GTK. In that time, I can do nothing but have this feature. I am not clear how I can get this feature. Please tell something more detail! Thank you very much! Best wishes, Han Jian -Original Message- From: Ross Burton [mailto:[EMAIL PROTECTED] Sent: 2007年8月15日 4:47 To: Han, Jian Cc: ubuntu-mobile@lists.ubuntu.com; Tollef Fog Heen Subject: Re: A patch for libhildon -- for auto-launch keyboard On Tue, 2007-08-14 at 15:23 +0100, Ross Burton wrote: > In Poky we start the keyboard in the X session, and install the GTK+ > input method (part of the matchbox-keyboard source) so that the keyboard > is toggled as required. The keyboard is toggled via IPC between the > input method and the keyboard, so you don't need to constantly kill and > restart it. I should say that this approach means that the keyboard automatically appears/disappears for *every* widget *automatically*, thanks to using the support GTK+ already has for input methods. It is also the same model as the Maemo approach, which at present is closed source (although it is being opened at the moment). Ross -- Ross Burton mail: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: A patch for libhildon -- for auto-launch keyboard
On Tue, 2007-08-14 at 15:23 +0100, Ross Burton wrote: > In Poky we start the keyboard in the X session, and install the GTK+ > input method (part of the matchbox-keyboard source) so that the keyboard > is toggled as required. The keyboard is toggled via IPC between the > input method and the keyboard, so you don't need to constantly kill and > restart it. I should say that this approach means that the keyboard automatically appears/disappears for *every* widget *automatically*, thanks to using the support GTK+ already has for input methods. It is also the same model as the Maemo approach, which at present is closed source (although it is being opened at the moment). Ross -- Ross Burton mail: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF signature.asc Description: This is a digitally signed message part -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: A patch for libhildon -- for auto-launch keyboard
On 8/14/07, Johan Bilien <[EMAIL PROTECTED]> wrote: > On Tue, Aug 14, 2007, Tollef Fog Heen wrote: > > * "Han, Jian" > > > > | Hi, all > > | I write a patch for libhildon. It add the feature of auto-launch > > | keyboard. > > > > How is upstream hildon doing this? Is there any reason we can't be > > doing it the same way? > > > > I'd like us to avoid deviating from upstream behaviour as much as > > possible and rather adopt upstream's approach than invent our own. > > I include the hildon mailing list hildon-input-methods guys should be > able to answer this. > > -- > Johan Bilien > <[EMAIL PROTECTED]> > > -- > Ubuntu-mobile mailing list > Ubuntu-mobile@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile > Hey, hildon maintainer here. Perhaps I'm not fully getting it, but how is that different than standard gtk input methods stuff? -- Michael. -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: A patch for libhildon -- for auto-launch keyboard
On Tue, Aug 14, 2007, Tollef Fog Heen wrote: > * "Han, Jian" > > | Hi, all > | I write a patch for libhildon. It add the feature of auto-launch > | keyboard. > > How is upstream hildon doing this? Is there any reason we can't be > doing it the same way? > > I'd like us to avoid deviating from upstream behaviour as much as > possible and rather adopt upstream's approach than invent our own. I include the hildon mailing list hildon-input-methods guys should be able to answer this. -- Johan Bilien <[EMAIL PROTECTED]> -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: A patch for libhildon -- for auto-launch keyboard
On Tue, 2007-08-14 at 17:21 +0800, Han, Jian wrote: > Hi, all > I write a patch for libhildon. It add the feature of auto-launch > keyboard. > Any one use the widgets in libhildon will have this feature. > It also have an common callback function. Any standard gtk widget > can add a g_signal_connect to have this feature(include hildon.h). > I think it is quite easy and useful. Hope there are someone get > interesting on it and have a try. > > I have submit the patch on the moblin.org. But it seems at a low > version number and cannot be get by "apt-get". I hope it can be merger > into the new version and I can do the further work on the it. In Poky we start the keyboard in the X session, and install the GTK+ input method (part of the matchbox-keyboard source) so that the keyboard is toggled as required. The keyboard is toggled via IPC between the input method and the keyboard, so you don't need to constantly kill and restart it. Ross -- Ross Burton mail: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF signature.asc Description: This is a digitally signed message part -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: A patch for libhildon -- for auto-launch keyboard
* "Han, Jian" | Hi, all | I write a patch for libhildon. It add the feature of auto-launch | keyboard. How is upstream hildon doing this? Is there any reason we can't be doing it the same way? I'd like us to avoid deviating from upstream behaviour as much as possible and rather adopt upstream's approach than invent our own. -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile