Re: [Gimp-developer] Feature request: Improve the Open file dialog thumbnails



> Date: Sat, 19 May 2012 00:18:56 +0300
> From: drc shadowdrama net
> To: gimp-developer-list gnome org
> Subject: Re: [Gimp-developer] Feature request: Improve the Open file dialog thumbnails
>
> On 2012-05-18 23:45, Cristian Secară wrote:
> > The Windows Inkscape version uses Windows native file open and save
> > dialog, so some solution appears to exists already.
>
> It does use it, but that doesn't mean it works. Save as and export
> bitmap default to empty file names, not the current filename or a
> variation of it.

An application can request what filename is shown in the filepicker's text input field before calling it, so this may or may not be a bug.  (If it is, go to the Inkscape bugtracker and report it already!)  In Inkscape 0.48.2's case the default filename for the "Save" dialog appears to be "drawing" (the lack of an .svg extension is a moot point because Inkscape can and will append the extension associated with the selected filetype when necessary, which is standard and accepted behavior for pretty much all apps using the native win32 filepicker) and the default filename for the "Export" dialog is "bitmap.png" when exporting an entire page/drawing/custom area, or "(selection_id).png" if exporting selected objects only.

Speaking of this, Inkscape saves the export name with the SVG file so you only have to name an export file once.

> Also files that have different extensions aren't visible in the view

Not only is this NOT a bug, but GIMP's filepicker works the exact same way.  Ever notice how the default setting for GIMP's filter is "all Images" and not "all Files" ?  You will never see, say, .TXT files listed in the Open/Save dialogs unless you specifically select a filter that allows them.

Also of interest, Win32 style shortcuts -- .lnk files -- are always shown in the native dialog whether they match the filetype filter or not, however it is the application's responsibility to tell the filepicker whether it's allowed to follow (dereference) them.  Otherwise they get treated like any ordinary file (and, obviously, neither GIMP nor Inkscape can load them).


-- Stratadrake
strata_ranger hotmail com
--------------------
Numbers may not lie, but neither do they tell the whole truth.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]