Opened 9 years ago

Closed 9 years ago

#3791 closed defect (fixed)

Invert colors doesn't work

Reported by: humitos Owned by: godiard
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Paint Version: Unspecified
Severity: Unspecified Keywords: gtk3
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Steps to reproduce it:

  1. Open Paint (Gtk3 version)
  2. Draw something
  3. 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

Change History (1)

comment:1 Changed 9 years ago by godiard

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in aa8fe970f0a387ea53f63064ac9a89d1e8bdfe05

Note: See TracTickets for help on using tickets.