[Bugs] #4740 Sugar UNSP: sugar activities updater: signals are not disconnected

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Mar 13 10:10:39 EDT 2014


#4740: sugar activities updater: signals are not disconnected
---------------------------------------------+--------------------------
       Reporter:  godiard                    |       Owner:
           Type:  defect                     |      Status:  new
       Priority:  Unspecified by Maintainer  |   Milestone:  Unspecified
      Component:  Sugar                      |     Version:  Unspecified
       Severity:  Unspecified                |    Keywords:
Distribution/OS:  Unspecified                |  Bug Status:  Unconfirmed
---------------------------------------------+--------------------------
\
\
 When the view is started, siganals are connected to the updater, but now
 the updater is a singleton, and are not disconnected when the view is
 closed.
 This produce problems like:

 * If you go to the updater, and close it a few times, and after that,
 enter again and try to do a update, with debug enabled, will see the
 finalize signal is received multiple times.

  1394719071.493141 DEBUG root: ActivityUpdater.__finished_cb

 * If you select only one activity to update, in the log will see other
 activities updated! That is because by default all the activities are
 updated, and the old views are still receiving the updater events.
\
\
\

--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4740>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list