Gnupaint gif problem

Bug #386234 reported by nzadLithium
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gpaint (Ubuntu)
Fix Released
Undecided
MOTU

Bug Description

Binary package hint: gpaint

lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

apt-cache policy gpaint
gpaint:
  Installed: 0.3.3-2
  Candidate: 0.3.3-2
  Version table:
 *** 0.3.3-2 0
        500 http://mirror.pacific.net.au jaunty/main Packages
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

I opened a gif file in gpaint changed it a bit, then pressed save. Gpaint brings up an error saying:
Failed to save file /home/cmaster/Desktop/rwpower.gif.

This build of gdk-pixbuf does not support saving the image format: gif

I don't mind this so much I'm more than happy to save it in another format. However on pressing ok in the error message gpaint closes and my original gif file is overwritten with nothing (size becomes 0 bytes, no data in it).

I would think that gpaint would give you this error and not save over the top of the existing file with nothing. I would also not expect when gpaint decides that it cant save a file, for it to close. I would expect it to tell me it is unable to do it (like it has) and then take me back to gpaint so i can choose to save it in a different format, or exit without saving.

Changed in gpaint (Ubuntu):
assignee: nobody → Goedson Teixeira Paixão (goedson)
status: New → Confirmed
Changed in gpaint (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Goedson Teixeira Paixão (goedson) wrote :

Attached is a patch to fix this bug. This will be uploaded as part of 0.3.3-4 to Debian.

Changed in gpaint (Ubuntu):
status: In Progress → Fix Committed
assignee: Goedson Teixeira Paixão (goedson) → MOTU (motu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gpaint - 0.3.3-6

---------------
gpaint (0.3.3-6) unstable; urgency=low

  * debian/patches/26_fix_toolbar.diff: don't set the style for the toolbar,
    allowing gpaint to follow the user's preferences (Closes: #497488)
    (LP: #127296)
  * debian/patches/21_fix_crash_on_fill_button_click.dpatch: fixed the check
    for null drawing_area.
  * debian/patches/*.dpatch: renamed to *.diff since we're not using dpatch
    anymore
  * debian/control: added ${misc:Depends} to the binary package Depends
  * debian/patches/*.diff: Added meta information tags compliant with DEP-3
    recommendations.

gpaint (0.3.3-5) unstable; urgency=low

  * debian/control:
    - Removed build-dependencies on libgnomeprint2.2-dev and
    libgnomeprintui2.2-dev
    - Added build-dependency on libgtk2.0-dev (>= 2.10) for using GtkPrint
    (Closes: #542569)
    - Removed spurious build-dependency on libgnomeui-dev
    - Bumped Standards-Version to 3.8.3 (no changes needed)
  * Updated debhelper compatibility level 7
    - debian/compat: changed to 7
    - debian/control: changed version of debhelper build-dependency to 7
  * Changed to 3.0 (quilt) source format
    - debian/source/format: added file with source format declaration
   - debian/rules: removed patch applying rules
   - debian/control: removed build-dependency on dpatch
    - debian/patches/00list: removed
    - debian/patches/04_update_pt_br_translation.dpatch: removed
    - debian/patches/*: updated so they apply cleanly with quilt
  * debian/patches/25_fix_color_selection.dpatch: Fix color selection through
    click in the foreground and background color indicators. (Closes: #497488)
    (LP: #344237)

gpaint (0.3.3-4) unstable; urgency=low

  [ Matt Wheeler ] (merged from Ubuntu)
  * debian/patches/23_add_accelerator_keys.dpatch:
    added various keyboard shortcuts (LP: #444750) (Closes: #550305)

  [ Goedson Teixeira Paixao ]
  * debian/patches/24_fix_crash_on_failed_write.dpatch:
    check if is possible to save in the format chosen by the user before
    trying to save. (LP: #386234)
 -- Bhavani Shankar <email address hidden> Mon, 11 Jan 2010 05:31:34 +0000

Changed in gpaint (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.