Hildon-Desktop: added Widget not shown
Re: Hildon-Desktop: added Widget not shown
Re: Hildon-Desktop: added Widget not shown
2010-01-13 08:01 UTC
On Wed, 2010-01-13 at 01:09 +0100, ext Anderson Lizardo wrote:
> On Tue, Jan 12, 2010 at 6:06 PM, Brent Chiodo <bchiodo@gmail.com> wrote:
> > I have had this issue reported for TouchSearch in both forums and formally
> > as bug #6264: https://bugs.maemo.org/show_bug.cgi?id=6264
>
> Thanks, it is now easier to try to reproduce it (I have a spare N900
> that can be reflashed).
>
> > It was also my thought that the Python -> HildonDesktop interface is
> > responsible for this.
>
> A possibility is that the the just installed Python loader
> (/usr/lib/hildon-desktop/loaders/libpythonpluginloader.so) only
> becomes active when hildon-desktop is restarted (which I suppose only
> occurs when the device is rebooted).
Notice that hildon-desktop does not have any plugins, all plugins are in
hildon-home. What you need is "killall hildon-home" -- it will restart
automatically and no reboot is needed.
-Kimmo
> On Tue, Jan 12, 2010 at 6:06 PM, Brent Chiodo <bchiodo@gmail.com> wrote:
> > I have had this issue reported for TouchSearch in both forums and formally
> > as bug #6264: https://bugs.maemo.org/show_bug.cgi?id=6264
>
> Thanks, it is now easier to try to reproduce it (I have a spare N900
> that can be reflashed).
>
> > It was also my thought that the Python -> HildonDesktop interface is
> > responsible for this.
>
> A possibility is that the the just installed Python loader
> (/usr/lib/hildon-desktop/loaders/libpythonpluginloader.so) only
> becomes active when hildon-desktop is restarted (which I suppose only
> occurs when the device is rebooted).
Notice that hildon-desktop does not have any plugins, all plugins are in
hildon-home. What you need is "killall hildon-home" -- it will restart
automatically and no reboot is needed.
-Kimmo
Re: Hildon-Desktop: added Widget not shown
2010-01-13 11:03 UTC
2010/1/13 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>:
> Notice that hildon-desktop does not have any plugins, all plugins are in
> hildon-home. What you need is "killall hildon-home" -- it will restart
> automatically and no reboot is needed.
That's good to know. So does that mean we can put this on a postinst
script and it will not affect running applications and other C
applets?
Thanks,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
> Notice that hildon-desktop does not have any plugins, all plugins are in
> hildon-home. What you need is "killall hildon-home" -- it will restart
> automatically and no reboot is needed.
That's good to know. So does that mean we can put this on a postinst
script and it will not affect running applications and other C
applets?
Thanks,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
Re: Hildon-Desktop: added Widget not shown
2010-01-14 02:35 UTC
> > Notice that hildon-desktop does not have any plugins, all plugins are in
> > hildon-home. What you need is "killall hildon-home" -- it will restart
> > automatically and no reboot is needed.
>
> That's good to know. So does that mean we can put this on a postinst
> script and it will not affect running applications and other C
> applets?
>
Not very good method since it disables all non-nokia widgets.
--
Mikko Vartiainen
> > hildon-home. What you need is "killall hildon-home" -- it will restart
> > automatically and no reboot is needed.
>
> That's good to know. So does that mean we can put this on a postinst
> script and it will not affect running applications and other C
> applets?
>
Not very good method since it disables all non-nokia widgets.
--
Mikko Vartiainen
Re: Hildon-Desktop: added Widget not shown
2010-01-14 09:57 UTC
Not sure about that - I just tested it on my 44-1 and all previously
placed custom widgets came up again.
I also was able add other previously installed widgets.
What was your "test case" so that I can better try and verify on my device?
Thanks to all!
-Tom
On Thu, Jan 14, 2010 at 03:35, Mikko Vartiainen <mvartiainen@gmail.com> wrote:
> Not very good method since it disables all non-nokia widgets.
>
> --
> Mikko Vartiainen
placed custom widgets came up again.
I also was able add other previously installed widgets.
What was your "test case" so that I can better try and verify on my device?
Thanks to all!
-Tom
On Thu, Jan 14, 2010 at 03:35, Mikko Vartiainen <mvartiainen@gmail.com> wrote:
> Not very good method since it disables all non-nokia widgets.
>
> --
> Mikko Vartiainen
Re: Hildon-Desktop: added Widget not shown
2010-01-14 10:32 UTC
> Not sure about that - I just tested it on my 44-1 and all previously
> placed custom widgets came up again.
> I also was able add other previously installed widgets.
>
> What was your "test case" so that I can better try and verify on my device?
Hmm, it seems that sometimes widgets disappear, not always.
> placed custom widgets came up again.
> I also was able add other previously installed widgets.
>
> What was your "test case" so that I can better try and verify on my device?
Hmm, it seems that sometimes widgets disappear, not always.
Re: Hildon-Desktop: added Widget not shown
2010-01-14 10:53 UTC
This is what I've noticed:
killall hildon-home shouldn't cause the widgets to disappear.
If hildon-home is kill -9'ed, the widgets will almost certainly
disappear as part of a "safe mode" designed to ensure hildon-home
doesn't go into a "crash loop" due to a misbehaving widget.
But, if you then killall hildon-home (send it SIGTERM) while it is in
this "safe mode" state, it then proceeds to update its config (which
has all non-Nokia applets).
Best Regards,
Faheem
On Thu, Jan 14, 2010 at 10:32 AM, Mikko Vartiainen
<mvartiainen@gmail.com> wrote:
>> Not sure about that - I just tested it on my 44-1 and all previously
>> placed custom widgets came up again.
>> I also was able add other previously installed widgets.
>>
>> What was your "test case" so that I can better try and verify on my
>> device?
>
> Hmm, it seems that sometimes widgets disappear, not always.
>
>
>
killall hildon-home shouldn't cause the widgets to disappear.
If hildon-home is kill -9'ed, the widgets will almost certainly
disappear as part of a "safe mode" designed to ensure hildon-home
doesn't go into a "crash loop" due to a misbehaving widget.
But, if you then killall hildon-home (send it SIGTERM) while it is in
this "safe mode" state, it then proceeds to update its config (which
has all non-Nokia applets).
Best Regards,
Faheem
On Thu, Jan 14, 2010 at 10:32 AM, Mikko Vartiainen
<mvartiainen@gmail.com> wrote:
>> Not sure about that - I just tested it on my 44-1 and all previously
>> placed custom widgets came up again.
>> I also was able add other previously installed widgets.
>>
>> What was your "test case" so that I can better try and verify on my
>> device?
>
> Hmm, it seems that sometimes widgets disappear, not always.
>
>
>
Re: Hildon-Desktop: added Widget not shown
2010-01-14 19:47 UTC
So would it make sense to add a "killall hildon-home" to the postinstall of the hildon-desktop-python-loader as an interim fix?
Who could do that? (I refrain from adding that to my app, as I think this would be the wrong place :-)
Thanks
-Tom
> This is what I've noticed:
>
> killall hildon-home shouldn't cause the widgets to disappear.
>
> If hildon-home is kill -9'ed, the widgets will almost certainly
> disappear as part of a "safe mode" designed to ensure hildon-home
> doesn't go into a "crash loop" due to a misbehaving widget.
>
> But, if you then killall hildon-home (send it SIGTERM) while it is in
> this "safe mode" state, it then proceeds to update its config (which
> has all non-Nokia applets).
>
> Best Regards,
> Faheem
>
> On Thu, Jan 14, 2010 at 10:32 AM, Mikko Vartiainen
> <mvartiainen@gmail.com> wrote:
>>> Not sure about that - I just tested it on my 44-1 and all previously
>>> placed custom widgets came up again.
>>> I also was able add other previously installed widgets.
>>>
>>> What was your "test case" so that I can better try and verify on my
>>> device?
>>
>> Hmm, it seems that sometimes widgets disappear, not always.
>>
Who could do that? (I refrain from adding that to my app, as I think this would be the wrong place :-)
Thanks
-Tom
> This is what I've noticed:
>
> killall hildon-home shouldn't cause the widgets to disappear.
>
> If hildon-home is kill -9'ed, the widgets will almost certainly
> disappear as part of a "safe mode" designed to ensure hildon-home
> doesn't go into a "crash loop" due to a misbehaving widget.
>
> But, if you then killall hildon-home (send it SIGTERM) while it is in
> this "safe mode" state, it then proceeds to update its config (which
> has all non-Nokia applets).
>
> Best Regards,
> Faheem
>
> On Thu, Jan 14, 2010 at 10:32 AM, Mikko Vartiainen
> <mvartiainen@gmail.com> wrote:
>>> Not sure about that - I just tested it on my 44-1 and all previously
>>> placed custom widgets came up again.
>>> I also was able add other previously installed widgets.
>>>
>>> What was your "test case" so that I can better try and verify on my
>>> device?
>>
>> Hmm, it seems that sometimes widgets disappear, not always.
>>
Re: Hildon-Desktop: added Widget not shown
2010-01-14 20:42 UTC
On Thu, Jan 14, 2010 at 3:47 PM, Thomas Waelti <twaelti@gmail.com> wrote:
> So would it make sense to add a "killall hildon-home" to the postinstall of the hildon-desktop-python-loader as an interim fix?
> Who could do that? (I refrain from adding that to my app, as I think this would be the wrong place :-)
The PyMaemo team (which includes myself) can, but what we didn't hear
from the Hildon desktop developers whether this is a reliable
workaround or not :/. The only thing we know is that "it should work,
but may affect some widgets".
What I'm most afraid is if watchdog may reboot the device. It seems it
does not happen, but it would be nice to know (from Hildon developers)
if it is indeed safe to kill hildon-home with SIGTERM during a package
installation or not.
Regards,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
> So would it make sense to add a "killall hildon-home" to the postinstall of the hildon-desktop-python-loader as an interim fix?
> Who could do that? (I refrain from adding that to my app, as I think this would be the wrong place :-)
The PyMaemo team (which includes myself) can, but what we didn't hear
from the Hildon desktop developers whether this is a reliable
workaround or not :/. The only thing we know is that "it should work,
but may affect some widgets".
What I'm most afraid is if watchdog may reboot the device. It seems it
does not happen, but it would be nice to know (from Hildon developers)
if it is indeed safe to kill hildon-home with SIGTERM during a package
installation or not.
Regards,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
Re: Hildon-Desktop: added Widget not shown
2010-01-27 19:59 UTC
On Mon, Jan 11, 2010 at 4:18 PM, Thomas Waelti <twaelti@gmail.com> wrote:
> (Resent with correct time/date)
>
> Hello all
>
> I've uploaded an alpha version of my "shutter" home widget (IR shutter for Nikon DSLR) to extras-devel.
> Functionaly, it works. But now I have a small problem in my installer that I'm unable to resolve:
> After running the deb, the widget gets installed. It can then be added to the desktop by the user through the normal Desktop Config > Add Widget process. It shows up in the list and is selectable. But then it does not show up on the desktop!
>
> However, once the device is rebooted, the added widget is cleary visible and works well.
Heads up:
I have created a PyMaemo specific bug to summarize and track the issue:
https://bugs.maemo.org/show_bug.cgi?id=8586
Please add any further information/solutions to the problem there.
Regards,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
> (Resent with correct time/date)
>
> Hello all
>
> I've uploaded an alpha version of my "shutter" home widget (IR shutter for Nikon DSLR) to extras-devel.
> Functionaly, it works. But now I have a small problem in my installer that I'm unable to resolve:
> After running the deb, the widget gets installed. It can then be added to the desktop by the user through the normal Desktop Config > Add Widget process. It shows up in the list and is selectable. But then it does not show up on the desktop!
>
> However, once the device is rebooted, the added widget is cleary visible and works well.
Heads up:
I have created a PyMaemo specific bug to summarize and track the issue:
https://bugs.maemo.org/show_bug.cgi?id=8586
Please add any further information/solutions to the problem there.
Regards,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
<anderson.lizardo@openbossa.org> wrote:
> This is the expected behavior. You need the Python loader (provided by
> the hildon-desktop-python-loader) installed *and* loaded in order to
> have Python applets recognized. The problem (as I mentioned on the
> other message) is probably that the hildon-desktop process is not
> being aware of the new loader until it is restarted.
>
> A possible test case (which I cannot test ATM) is:
>
> 1) apt-get remove hildon-desktop-python-loader
> 2) Restart N900
> 3) apt-get install hildon-desktop-python-loader
> 4) Install some Python applet
>
> The let us know if the applet is shown or not.
>
I used TouchSearch and OpenVPN Applet as testcase. TouchSearch is
desktop widget and OpenVPN Applet is status menu widget.
1. apt-get remove python2.5
2. killall hildon-desktop hildon-home hildon-status-menu
3. HAM install TouchSearch
4. TouchSearch didn't appear in desktop or in widget list
5. HAM install openvpn-applet
6. openvpn-applet appeared in status-menu (with broken icon)
7. HAM uninstall touchsearch, HAM install touchsearch
8. TouchSearch didn't appear anywhere
9. killall hildon-desktop hildon-home hildon-status-menu
10. TouchSearch appeared in desktop. openvpn-applet had it's icon
shown properly (just another side effect of removing icon cache :( )
Status menu widget worked and desktop widget didn't work. I thoght I
had tested this earlier and that desktop widget were working too,
apparently that was not the case.
--
Mikko Vartiainen