Re: [Gerbv-devel] Call for gerbv testers!
Brought to you by:
spetm,
thepurlieu
From: Joerg W. <j...@ur...> - 2008-08-29 21:32:17
|
As Julian wrote: > > When saving a layer, the file is saved into the current working > > directory where gerbv has been started from, rather than into the > > directory the original layers have been loaded from -- even though > > obviously, that directory is maintained separately internally, as > > it is (correctly) recorded within the project file when saving it. > > I think it would be more obvious to start within that directory > > then. > Do you mean the "save as" dialog doesn't start out in the directory of > the file? Yes, exactly. It's nothing too serious, just a small violation of the principle of least astonishment. If you don't pay attention to the directory that's been displayed in the dialog, you might end up searching your entire disk about where the file has actually been saved into... > > As someone specifying that option is likely starting gerbv > > from the command-line, it might make some sense to drop him a message > > like "Loading <name of project file>..." on the console. (I do hate > > so-called "splash screens", so please don't add one. :) > Good idea...should we do this before 2.1? It might not hurt doing it, and I think it's a fairly non-intrusive change to add. Index: src/main.c =================================================================== RCS file: /cvsroot/gerbv/gerbv/src/main.c,v retrieving revision 1.21 diff -u -u -r1.21 main.c --- src/main.c 28 Aug 2008 02:33:36 -0000 1.21 +++ src/main.c 29 Aug 2008 21:29:04 -0000 @@ -747,6 +747,7 @@ * a project. */ if (project_filename) { + printf("Loading %s...\n", project_filename); /* calculate the absolute pathname to the project if the user used a relative path */ g_free (mainProject->path); > > I've got more ideas for improvements, in particular I've got some > > initial coding ideas around for a preferences dialog, but that's all > > stuff for later on. > Yeah, where's this preference dialog you've been talkin' about for > so long Joerg, huh? Ah yes, sure. ;-) To my excuse, there's a couple of 100 of lines of code for it already, written by end of 2007. Alas, that's just a stub to get an idea, until I noticed it needs a bit more of thinking... Too many projects I've got my feet in. I'm not jealous if someone beats me on adding this feature, but if not, I'll eventually suggest a patch myself. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) |