[Bugs] #4149 sugar-toolkit-gtk3 UNSP: sugar-artwork: Black background in transparent objects over Gtk.Fixed

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Nov 2 08:09:20 EDT 2012


#4149: sugar-artwork: Black background in transparent objects over Gtk.Fixed
------------------------------------------+---------------------------------
    Reporter:  godiard                    |          Owner:  erikos     
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98       
   Component:  sugar-toolkit-gtk3         |        Version:  Unspecified
    Severity:  Unspecified                |       Keywords:             
Distribution:  Unspecified                |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------
 In activities where we need edit text over the canvas, like in Paint, the
 technique used is place a TextView inside a Gtk.Fixed, and move the
 TextView to the needed position in the canvas.
 Until os7, we can do:

   self.textview.override_background_color(Gtk.StateFlags.NORMAL,
                 Gdk.RGBA(0, 0, 0, 0))

 And the text had a tranparent background.

 This is not working anymore in os8, the background is black, and break the
 effect.

 To test this problem, need apply Paint commit
 45d6940a1e454b169243f7742780fa6b0942fc67.

 This problem is affecting other activities like Portfolio, but can use a
 workaround changing the background color. (The background color can be
 overrided, but the alpha is applied like if behind there are a black
 object, then if alpha is 0, shows black)

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4149>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list