[Bugs] #3872 sugar-toolkit-gtk3 UNSP: CellRendererIcon has a bad clipping rectangle

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Sep 11 10:10:57 EDT 2012


#3872: CellRendererIcon has a bad clipping rectangle
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  manuq            
        Type:  defect                     |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98             
   Component:  sugar-toolkit-gtk3         |        Version:  Git as of bugdate
    Severity:  Blocker                    |       Keywords:                   
Distribution:  Unspecified                |   Status_field:  Assigned         
------------------------------------------+---------------------------------

Comment(by manuq):

 Note that if we don't call clip the rectangle is not applied.  To test,
 set a half-width rectangle like this and run the cellrenderericon.py
 testcase.  If clip is called you can see half star, otherwise you'll see
 the entire star.

 {{{
         cr.rectangle(cell_area.x, cell_area.y, cell_area.width / 2,
                      cell_area.height)
 }}}

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


More information about the Bugs mailing list