Ticket #3791 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

Invert colors doesn't work

Reported by: humitos Owned by: godiard
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
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

Changed 10 months ago by godiard

  • status changed from new to closed
  • resolution set to fixed

Fixed in aa8fe970f0a387ea53f63064ac9a89d1e8bdfe05

Note: See TracTickets for help on using tickets.