GNOME Bugzilla – Bug 333207
Open as Layer ignores explicit file type.
Last modified: 2008-01-15 13:05:51 UTC
When you use the "Open as Layer" function and set the file type explicitly (through the "Select File Type" option on the "Open Image as Layer" dialogue), The Gimp ignores this value and decides based on the file extension. This is most problematic when attempting to open a raw image, since there's no associated extensions for that. Tested on: 2.2.8 and 2.3.7 Steps to reproduce: 1) Create a new image. 2) File->Open as Layer 3) Select a file with an abnormal extension. 4) Explicitly set the file type in the "Select File Type" box.
Fixed in the HEAD branch: 2006-03-03 Sven Neumann <sven@gimp.org> * tools/pdbgen/pdb/fileops.pdb: * app/dialogs/file-open-dialog.c * app/display/gimpdisplayshell-dnd.c * app/file/file-open.[ch] * app/widgets/gimplayertreeview.c: pass the selected load procedure to file_open_layer() or NULL if none is selected. Fixes bug #333207. * app/pdb/fileops_cmds.c: regenerated. I tried to merge the changes back into the 2.2 branch but almost all hooks failed and I don't feel like manually merging the changes. Let's close it as FIXED.