[Bugs] #4904 Sugar HIGH: Journal star does not give immediate feedback

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Nov 1 03:41:18 EDT 2016


#4904: Journal star does not give immediate feedback
---------------------+-------------------------------------
  Reporter:  quozl   |            Owner:
      Type:  defect  |           Status:  new
  Priority:  High    |        Milestone:  Unspecified
 Component:  Sugar   |          Version:  Git as of bugdate
  Severity:  Major   |       Resolution:
  Keywords:          |  Distribution/OS:  OLPC
Bug Status:  New     |
---------------------+-------------------------------------

Comment (by quozl):

 Only the first row of the journal is affected.

 A working hack is to call Gtk.TreeView.queue_draw_area a second time with
 the same arguments via GLib.idle_add if the rectangle to redraw has a Y
 value of zero.  It is not yet known why this is needed.

 {{{
         def redraw():
             view.queue_draw_area(rect.x, rect.y, rect.width, rect.height)
             return False
         redraw()
         if rect.y == 0:
             GLib.idle_add(redraw)  # nuts, why is it so?
 }}}

 This hack may indicate the nature of the problem somehow.

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


More information about the Bugs mailing list