[Bugs] #4604 Sugar HIGH: Journal update_dates() called every five minutes

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Sep 5 10:25:41 EDT 2013


#4604: Journal update_dates() called every five minutes
--------------------------+-------------------------------
  Reporter:  manuq        |            Owner:  manuq
      Type:  defect       |           Status:  new
  Priority:  High         |        Milestone:  Unspecified
 Component:  Sugar        |          Version:  Unspecified
  Severity:  Unspecified  |       Resolution:
  Keywords:               |  Distribution/OS:  Unspecified
Bug Status:  New          |
--------------------------+-------------------------------
\
\
\
\
\
\

Comment (by godiard):

 This happen because the logic used by on journalactivity.py to set the
 visibility of the journal is not working.

 Thew listview in the journal have a method set_is_visible(), when is not
 visible, the events in the datastore set a dirty flag, but the view is not
 updated until needed, also the timer used to update the dates is stopped.

 In journalactivity.py there are two methods using set_is_visible(), one
 triggered by  visibility-notify-event and the other triggered by window-
 state-event, but the visibility_notify_event_cb recibe event.get_state()
 == None when switch from the Journal to one activity (but not when switch
 to other view with F1/F2/F3).

 This problem have other consequences, like triggering view updates quering
 the journal for every update in the journal, while another activity is at
 top, like in the case of Browse downloading a file.
\
\
\

--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4604#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list