Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-06-09 Thread Henner Zeller
Hello everyone, So I am back from vacation - while this discussion was going on - ready to pick up where I left off. To recap: I suggested to _not_ have the annoying pop up dialog with a scary message about the non-existence ... of a new file. Instead just have the status message mention that

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-15 Thread jean-pierre charras
Le 14/05/2012 22:04, Dick Hollenbeck a écrit : On 05/14/2012 03:01 PM, Dick Hollenbeck wrote: On 05/14/2012 02:15 PM, Lorenzo Marcantonio wrote: On Mon, May 14, 2012 at 08:13:22PM +0200, jean-pierre charras wrote: If can be a valid empty file (mainly containing a short valid header) No,

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-15 Thread Miguel Angel Ajo Pelayo
2012/5/15 jean-pierre charras jp.char...@wanadoo.fr Just as importantly, you have no persistent knowledge of what file format is going to be in play on any given day with plugins in effect. So forget that idea. Good point. I agree, high coherence is the name? like every module or

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-15 Thread Lorenzo Marcantonio
On Tue, May 15, 2012 at 10:37:05AM +0200, Miguel Angel Ajo Pelayo wrote: high coherence is the name? like every module or piece of software is highly specialized in a single task. I think the word you need is 'cohesion'. Also strictly related is 'coupling'. *The* researcher in the area Myers

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread jean-pierre charras
Le 14/05/2012 02:04, Henner Zeller a écrit : Hi, Small patch. When creating a new schematic or start a new board from your schematic, a new file is created. But in that case an attention-grabbing modal dialog pops ups telling the user that 'The file is not found'. The first reaction of the user

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread Miguel Angel Ajo Pelayo
And what about a commandline parameter --create or -c when we want the file to be created (when file doesn't exist?) I also find the dialog annoying when you are creating a project from within KiCad, but also wouldn't be normal to just create the file when calling pcbnew from outside KiCad to

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread Henner Zeller
On 14 May 2012 08:41, jean-pierre charras jp.char...@wanadoo.fr wrote: Le 14/05/2012 02:04, Henner Zeller a écrit : Hi, Small patch. When creating a new schematic or start a new board from your schematic, a new file is created. But in that case an attention-grabbing modal dialog pops ups

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread jean-pierre charras
Le 14/05/2012 18:40, Miguel Angel Ajo Pelayo a écrit : And what about a commandline parameter --create or -c when we want the file to be created (when file doesn't exist?) This is also possible, but how do you know the file *should* be created ? I mean when copying a project and renaming files

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread jean-pierre charras
Le 14/05/2012 18:57, Henner Zeller a écrit : On 14 May 2012 08:41, jean-pierre charrasjp.char...@wanadoo.fr wrote: Le 14/05/2012 02:04, Henner Zeller a écrit : Hi, Small patch. When creating a new schematic or start a new board from your schematic, a new file is created. But in that case an

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread Dick Hollenbeck
On 05/14/2012 12:02 PM, jean-pierre charras wrote: Le 14/05/2012 18:40, Miguel Angel Ajo Pelayo a écrit : And what about a commandline parameter --create or -c when we want the file to be created (when file doesn't exist?) This is also possible, but how do you know the file *should* be created

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread Lorenzo Marcantonio
On Mon, May 14, 2012 at 05:41:21PM +0200, jean-pierre charras wrote: The issue for new projects (and only for new projects) is in fact in Kicad, that perhaps could create void .sch and .pcb files after creating the .pro file. Or also passing a command line flag to mean 'this in new, don't

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread Dick Hollenbeck
On 05/14/2012 11:57 AM, Henner Zeller wrote: On 14 May 2012 08:41, jean-pierre charras jp.char...@wanadoo.fr wrote: Le 14/05/2012 02:04, Henner Zeller a écrit : Hi, Small patch. When creating a new schematic or start a new board from your schematic, a new file is created. But in that case

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread Lorenzo Marcantonio
On Mon, May 14, 2012 at 08:13:22PM +0200, jean-pierre charras wrote: If can be a valid empty file (mainly containing a short valid header) Remembers me the template feature present in the shell from Windows 95 on... (the 'Create New...' right click menu) -- Lorenzo Marcantonio Logos Srl

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread Dick Hollenbeck
On 05/14/2012 01:26 PM, Lorenzo Marcantonio wrote: On Mon, May 14, 2012 at 05:41:21PM +0200, jean-pierre charras wrote: The issue for new projects (and only for new projects) is in fact in Kicad, that perhaps could create void .sch and .pcb files after creating the .pro file. Or also passing

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread Dick Hollenbeck
On 05/14/2012 02:15 PM, Lorenzo Marcantonio wrote: On Mon, May 14, 2012 at 08:13:22PM +0200, jean-pierre charras wrote: If can be a valid empty file (mainly containing a short valid header) No, that's a mess. We don't want fragments of file knowledge scattered about. I just spent time killing

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread Dick Hollenbeck
On 05/14/2012 03:01 PM, Dick Hollenbeck wrote: On 05/14/2012 02:15 PM, Lorenzo Marcantonio wrote: On Mon, May 14, 2012 at 08:13:22PM +0200, jean-pierre charras wrote: If can be a valid empty file (mainly containing a short valid header) No, that's a mess. We don't want fragments of file

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread Fabrizio Tappero
if I open eeschema or pcbnew, it might not be because I want to create a schematic or a pcb. That is why maybe warn the user seems a little strange. For instance, today I might open eeschema to open and see a schematic file that somebody sent me. No? I might be wrong but If I open libreoffice

Re: [Kicad-developers] Patch: Don't force modal dialog on creating a new file

2012-05-14 Thread Lorenzo Marcantonio
On Mon, May 14, 2012 at 11:56:54PM +0200, Fabrizio Tappero wrote: I might be wrong but If I open libreoffice either by the writer or by the app manager, I do not see any warning window. A warning appears only if I actually write something in it and attempt to close the window without saving