#1743 HIGH First D: Preview for journal items are not created until the activity is closed.

Zarro Boogs per Child bugtracker at laptop.org
Fri Sep 28 15:09:16 EDT 2007


#1743: Preview for journal items are not created until the activity is closed.
---------------------+------------------------------------------------------
  Reporter:  tomeu   |       Owner:  tomeu                 
      Type:  defect  |      Status:  new                   
  Priority:  high    |   Milestone:  First Deployment, V1.0
 Component:  sugar   |     Version:                        
Resolution:          |    Keywords:                        
  Verified:  0       |  
---------------------+------------------------------------------------------

Comment(by tomeu):

 After discussing with Ben and Marco, we arrived to this proposal:

  - As the Shell is who knows best when an activity's window is going to be
 hidden, we'll add a TakeScreenshot method to the activity dbus service.
 Activities will be hinted by this method that they have now an opportunity
 to take a screenshot to a server-side pixmap. If someone can think of a
 simpler method using the window manager or X, please tell.

  - PyGtk-based activities will use gtk.gdk.Pixmap.draw_drawable
 recursively to create a pixmap representing the full root window. Store a
 reference to it in the Activity object.

  - When the activity wishes to save to the Journal, should use that pixmap
 or create a new one if it's not available.

  - Each non-active activity will keep a 2MB pixmap on the server. Is that
 acceptable?

-- 
Ticket URL: <https://dev.laptop.org/ticket/1743#comment:11>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list