Using "Save As" without a file name causes f-spot save as dialog to hang

Bug #551384 reported by Rick Spencer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Fix Released
Medium
Cody Russell
Lucid
Fix Released
Medium
Cody Russell

Bug Description

Binary package hint: f-spot

Steps:

1. In nautilus, right click on a photo and choose Open in F-Sport
2. Crop the photo using the cropping tool
3. Choose File -> Save As
4. Navigate to a directory and click Save button (while the filename text entry is still empty)

Result:
The dialog becomes unclickable and non-dismissable.

Expected:
The Save button is disabled until there is a file name and/or
Nothing happens if I click Save button and there is no name

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: f-spot 0.6.1.5-2ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-18.27-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-18-generic i686
Architecture: i386
Date: Mon Mar 29 19:44:54 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: f-spot

Related branches

Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :
Changed in f-spot (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Chris Halse Rogers (raof)
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

I suppose this is really a data loss bug .. consider raising importance

Revision history for this message
Chris Halse Rogers (raof) wrote :

Moving to gtk-sharp; this looks to be a problem in the FileChooserDialog. It's a pretty obnoxious bug where the save dialog can freeze!

affects: f-spot (Ubuntu) → gtk-sharp2 (Ubuntu)
Changed in gtk-sharp2 (Ubuntu):
importance: Medium → High
status: New → Confirmed
Revision history for this message
Chris Halse Rogers (raof) wrote :

Ok. This is actually a gtk+ bug. I'll attach a minimal test case where hitting “save” simply hangs the dialog.

Changed in gtk-sharp2 (Ubuntu):
assignee: Chris Halse Rogers (raof) → nobody
affects: gtk-sharp2 (Ubuntu) → gtk+2.0 (Ubuntu)
Revision history for this message
Chris Halse Rogers (raof) wrote :

Here's a C file you can build with
gcc -o test Testifu.c $(pkg-config --cflags gtk+-2.0) $(pkg-config --libs gtk+-2.0)

Run it, and hit “save” - the dialog will hang.

Changed in gtk+2.0 (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Martin Pitt (pitti)
Changed in gtk+2.0 (Ubuntu Lucid):
importance: High → Medium
status: Confirmed → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

the change seems to be due to fileselector fix we added recently, Cody could you have a look to the issue before lucid? the suggestion to have the button unsensitive until something is entered seems to make sense

Changed in gtk+2.0 (Ubuntu Lucid):
assignee: Canonical Desktop Team (canonical-desktop-team) → Cody Russell (bratsche)
assignee: Cody Russell (bratsche) → nobody
Revision history for this message
Sebastien Bacher (seb128) wrote :

The change which created the issue is

  * debian/patches/064_initial_fileselector_select.patch:
    - change by Cody Russell to fix the default action not working in the
      gtkfileselector until you selected a directory (lp: #80755, #181788)

Changed in gtk+2.0 (Ubuntu Lucid):
assignee: nobody → Cody Russell (bratsche)
Changed in gtk+2.0 (Ubuntu Lucid):
milestone: none → ubuntu-10.04-beta-2
Cody Russell (bratsche)
Changed in gtk+2.0 (Ubuntu Lucid):
status: Triaged → In Progress
Revision history for this message
Cody Russell (bratsche) wrote :

This should replace my previous patch, which is already in Lucid.

Revision history for this message
Cody Russell (bratsche) wrote :

This patch has been accepted upstream and I've pushed it into master, at commit b6d9bb6e1e6e916fc2ef25f5729b30ba91979597

Changed in gtk+2.0 (Ubuntu Lucid):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+2.0 - 2.20.0-0ubuntu4

---------------
gtk+2.0 (2.20.0-0ubuntu4) lucid; urgency=low

  * debian/patches/064_initial_fileselector_select.patch:
    - replaced by the version commited upstream, thank Cody Russell,
      the update solves f-spot hanging when saving an image without entering
      the name to use in the selector (lp: #551384)
 -- Sebastien Bacher <email address hidden> Tue, 06 Apr 2010 16:11:28 +0200

Changed in gtk+2.0 (Ubuntu Lucid):
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.