#8580 BLOC 8.2.0 (: Data loss when stopping Record-57 via either keyboard shortcuts or Frame palette

Zarro Boogs per Child bugtracker at laptop.org
Fri Sep 26 17:05:36 EDT 2008


#8580: Data loss when stopping Record-57 via either keyboard shortcuts or Frame
palette
-------------------------------+--------------------------------------------
   Reporter:  garycmartin      |       Owner:  marco                            
       Type:  defect           |      Status:  new                              
   Priority:  blocker          |   Milestone:  8.2.0 (was Update.2)             
  Component:  sugar            |     Version:  Development build as of this date
 Resolution:                   |    Keywords:  blocks?:8.2.0 r?                 
Next_action:  test in release  |    Verified:  0                                
  Blockedby:                   |    Blocking:                                   
-------------------------------+--------------------------------------------
Changes (by erikg):

 * cc: erikg (added)
  * next_action:  review => test in release


Comment:

 I have tested the above patch.  It appears to work.  The specific problem
 being solved is that Record hides itself (via Activity.hide(), ultimately
 descended from gtk.Window.hide()) prior to calling Activity.close().  Thus
 its window is unmapped when we try to take a screenshot of it using
 XShmGetImage in sugar-preview.c in _sugarext in sugar-toolkit.

 The patch above simply removes the hide() calls in Record.  This prevents
 the window from being unmapped.  Please test.

-- 
Ticket URL: <http://dev.laptop.org/ticket/8580#comment:15>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list