[Bugs] #4104 sugar HIGH: Screenshot is all black in XO-4

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Dec 5 08:57:27 EST 2012


#4104: Screenshot is all black in XO-4
------------------------+---------------------------------------------------
    Reporter:  godiard  |          Owner:  erikos        
        Type:  defect   |         Status:  new           
    Priority:  High     |      Milestone:  0.98          
   Component:  sugar    |        Version:  Unspecified   
    Severity:  Major    |       Keywords:  regression, r?
Distribution:  OLPC     |   Status_field:  Assigned      
------------------------+---------------------------------------------------

Comment(by godiard):

 I think the name of the varibles you are using is not clear.

  window_surface = Gdk.Window.create_similar_surface(
         window, cairo.CONTENT_COLOR, width, height)

 should be:

  screenshot_surface = Gdk.Window.create_similar_surface(
         window, cairo.CONTENT_COLOR, width, height)

 because that surface is not the real window surface, but the destination
 of the paint operation.

 Other than that, I think is ok.

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


More information about the Bugs mailing list