After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 307672 - open dialog: creating preview hangs when file is deleted
open dialog: creating preview hangs when file is deleted
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.2.x
Other Linux
: Normal normal
: 2.2
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-06-14 20:31 UTC by Carsten Otto
Modified: 2008-01-15 12:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Carsten Otto 2005-06-14 20:31:41 UTC
Version details: Gentoo, x86_64
Distribution/Version: Gentoo, x86_64

- create an image file
- use the open dialog the create a preview of that file
- delete the file while the open dialog is still open
- reselect the file (after selecting some other file)

Gimp now uses a lot of CPU without doing anything useful. In my opinion it
should stop after the first try and perhaps delete that file from the list (or
recreate the list).
Comment 1 Sven Neumann 2005-06-15 10:59:02 UTC
Very well spotted; thanks for the report. Fixed in both branches:

2005-06-15  Sven Neumann  <sven@gimp.org>

        * app/core/gimpimagefile.c (gimp_imagefile_load_thumb):
        * app/widgets/gimpthumbbox.c (gimp_thumb_box_auto_thumbnail):
        don't display a preview and don't attempt to create one if the
        image file does not exist any longer (bug #307672).