← Back to team overview

kicad-developers team mailing list archive

Re: wxFileDialog issues

 

Dick Hollenbeck a écrit :

Wayne Stambaugh wrote:
On 5/12/2010 10:52 AM, Dick Hollenbeck wrote:
<snipped>
I've been digging around the source and this inconsistency occurs in
some of the other Kicad apps as well. I'll change all of the Kicad apps open file dialog behavior to mimic the file dialog behavior in EESchema
if no one objects.  I looked at a least a dozen other apps and all of
them had no file name defined in the open file dialog. Putting the file
name of the file you already have open in the open file dialog doesn't
make a lot of sense.

If you want to back out of changes and reload the same file.... It might be that the original author should be given a chance to comment on this, and perhaps he is on vacation?


I don't think we should be afraid of being different than the other apps you tested. How can you be better if you are the same? Start with the assumption that you are the best software developer in the world, if that helps establish the proper mindset, and that you are free to improve on the ideas that others have had before you. Improvement means change and differences. Nothing in this statement means that you cannot also adopt good ideas unchanged, when you decide they are good ideas. But that decision needs to be made consciously.

If we only mimic other's ideas, and not improve on them, then we will always be following, not leading.

Dick
Dick said exactly I am thinking about differences when comparing with "others" applications.

For file dialogs issues:
Reopening the last opened file is a very frequent case.
So it make sense to remember last selected file.
But this filename remains selected even if does not exists in the current opened directory (when the cwd has changed). So testing the existence of this file in the opened directory before displaying its name could be better and fixes issues.

By the way I am on vacation these next 4 days, and I'll be away these next 3 days.

Jean-Pierre.








Follow ups

References