i think the problem is on AppletIcon.__status_changed and in more detail there aren't an if statement for status['name'] = "START_WORKING_ON_METADATA" and others. For this reason it apply after first 20-30 seconds of visibility line 422 -> self.__visible = False.
i think the problem is on AppletIcon. __status_ changed and in more detail there aren't an if statement for status['name'] = "START_ WORKING_ ON_METADATA" and others. For this reason it apply after first 20-30 seconds of visibility line 422 -> self.__visible = False.
To debug it i created this script:
amedeo@alcibiade:~$ diff ~amedeo/ bin/ubuntuone- client- applet /usr/bin/ ubuntuone- client- applet
289d288
< print "Init applet __init__"
346,347d344
< print "%s %s" % ("Status changed (BEGIN) var self.__visible:", self.__visible)
<
446,450d442
<
< print "%s %s" % ("Var status['name']:", status['name'])
< print "%s %s" % ("Status changed (END) var self.__visible:", self.__visible)
< print ""
<
and when applet disappear and i create a new file for trigger i receive this on stout:
Status changed (BEGIN) var self.__visible: True ON_METADATA
Var status['name']: START_WORKING_
Status changed (END) var self.__visible: False
Status changed (BEGIN) var self.__visible: True ON_METADATA_ WITH_CONTQ
Var status['name']: WORKING_
Status changed (END) var self.__visible: False
Status changed (BEGIN) var self.__visible: True ON_CONTENT
Var status['name']: START_WORKING_
Status changed (END) var self.__visible: False
Status changed (BEGIN) var self.__visible: True
Var status['name']: IDLE
Status changed (END) var self.__visible: False
My environment is: kubuntu jaunty amd64