RSS/Atom feed Twitter
Site is read-only, email is disabled

Changing the size of the open file dialog on Windows

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Changing the size of the open file dialog on Windows Ofnuts 25 Apr 20:39
  Changing the size of the open file dialog on Windows Jernej Simončič 25 Apr 20:49
   Changing the size of the open file dialog on Windows Ofnuts 25 Apr 21:24
   Changing the size of the open file dialog on Windows Ofnuts 25 Apr 21:52
    Changing the size of the open file dialog on Windows Cristian Secară 27 Apr 07:33
Ofnuts
2013-04-25 20:39:25 UTC (over 11 years ago)

Changing the size of the open file dialog on Windows

On Linux, I can set the size and position of the file open dialog using a ~/.config/gtk-2.0/gtkfilechooser.ini file.

But I cannot find the equivalent file (or location for the same file) on Windows. I have tried various GTK-related places in the Gimp installation tree, the Gimp profile directory, and or the user home directory without success. Is this possible at all?

Jernej Simončič
2013-04-25 20:49:52 UTC (over 11 years ago)

Changing the size of the open file dialog on Windows

On Thursday, April 25, 2013, 22:39:25, Ofnuts wrote:

But I cannot find the equivalent file (or location for the same file) on Windows. I have tried various GTK-related places in the Gimp installation tree, the Gimp profile directory, and or the user home directory without success. Is this possible at all?

Look in %APPDATA%\gtk-2.0 (note: you won't be able to edit the file with Notepad).

< Jernej Simončič ><><><><>< http://eternallybored.org/ >

The most expensive component is the one that breaks.
       -- Law of New Fangled Gadgetry
Ofnuts
2013-04-25 21:24:40 UTC (over 11 years ago)

Changing the size of the open file dialog on Windows

On 04/25/2013 10:49 PM, Jernej Simončič wrote:

On Thursday, April 25, 2013, 22:39:25, Ofnuts wrote:

But I cannot find the equivalent file (or location for the same file) on Windows. I have tried various GTK-related places in the Gimp installation tree, the Gimp profile directory, and or the user home directory without success. Is this possible at all?

Look in %APPDATA%\gtk-2.0 (note: you won't be able to edit the file with Notepad).

Must have only LF intead of CRLF or some other pitfall?

Ofnuts
2013-04-25 21:52:29 UTC (over 11 years ago)

Changing the size of the open file dialog on Windows

On 04/25/2013 10:49 PM, Jernej Simončič wrote:

On Thursday, April 25, 2013, 22:39:25, Ofnuts wrote:

But I cannot find the equivalent file (or location for the same file) on Windows. I have tried various GTK-related places in the Gimp installation tree, the Gimp profile directory, and or the user home directory without success. Is this possible at all?

Look in %APPDATA%\gtk-2.0 (note: you won't be able to edit the file with Notepad).

Created %APPDATA%\gtk-2.0\gtkfilechooser.ini (ie c:Documents and Settings\Admin\Application Data\gtk-2.0\gtkfilechooser.ini) by copying the one I have under Linux, and checked for LF only, startet Gimp, "File/Open..."... and still no joy :(

Cristian Secară
2013-04-27 07:33:49 UTC (over 11 years ago)

Changing the size of the open file dialog on Windows

În data de Thu, 25 Apr 2013 23:52:29 +0200, Ofnuts a scris:

Look in %APPDATA%\gtk-2.0 (note: you won't be able to edit the file with Notepad).

Created %APPDATA%\gtk-2.0\gtkfilechooser.ini (ie c:Documents and Settings\Admin\Application Data\gtk-2.0\gtkfilechooser.ini) by copying the one I have under Linux, and checked for LF only, startet Gimp, "File/Open..."... and still no joy :(

I am on Vista, so I cannot tell for XP. The \gtk-2.0\gtkfilechooser.ini file in %APPDATA%, which means C:\Users\secarica\AppData\Roaming\
does not work for me (i.e. it has no effect for GIMP), but the one from C:\Users\secarica\AppData\Local\
does.

Its content is this:
[Filechooser Settings]
LastFolderUri=
LocationMode=path-bar
ShowHidden=false
ShowSizeColumn=true
GeometryX=0
GeometryY=0
GeometryWidth=950
GeometryHeight=617
SortColumn=name
SortOrder=ascending
StartupMode=recent
and the file dialog changes behaviour if I change ShowHidden, GeometryWidth and GeometryHeight. I didn't played with other values.

I don't know what GeometryX/Y=0 means, but the file dialog shows up somewhere on screen, not on some corner which I expect to be a 0,0 coordinate.

Because usually on Windows ports each GTK application will install its own GTK core over and over, the result is a mess. In %APPDATA% I have one gtkfilechooser.ini file that I don't know to whom it belongs and a gtkfilechooser file which is from Sylpheed (my mail app). This one is some sort of XML file and does not contain (and it ignores) file handling dialog geometry values.

So far in my experience the only GTK application well ported on Windows is Pidgin.

As for GIMP file dialog, I wish it could implement native Windows file dialog, same as Inkscape does.

Cristi

Cristian Secară
http://www.secarica.ro