[Bugs] #3791 Paint UNSP: Invert colors doesn't work

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Aug 7 14:58:49 EDT 2012


#3791: Invert colors doesn't work
------------------------------------------+---------------------------------
    Reporter:  humitos                    |          Owner:  godiard                    
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Paint                      |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:  gtk3                       
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Steps to reproduce it:

  1. Open Paint (Gtk3 version)
  1. Draw something
  1. Click on "Invert colors" option

 Issue:

 Nothing happens on the screen.


 I get this log:
 {{{
 (sugar-activity:13998): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
 without calling gdk_pixbuf_loader_close() - this is not allowed. You
 must explicitly end the data stream to the loader before dropping the last
 reference.
 65513
 Traceback (most recent call last):
   File "/home/humitos/Activities/Gtk3Paint.activity/Area.py", line 1164,
 in _do_process_internal
     temp_pix = apply_process(temp_pix)
   File "/home/humitos/Activities/Gtk3Paint.activity/Area.py", line 1093,
 in proc_invert_color
     pix_manip2 = temp_pix.get_pixels_array()
 AttributeError: 'Pixbuf' object has no attribute 'get_pixels_array'
 }}}

 Expected behaviour:

 Get the colors inverted

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


More information about the Bugs mailing list