← Back to team overview

kicad-developers team mailing list archive

Re: KiCad Launcher & File Types

 

That’s fine, I just wanted to know current/intended behavior.
It doesn’t seem to be possible to associate an extension in a way that only the intended icon is shown.
It will stay as it is with regard to the main bundle then, i.e. only .pro files are associated with it.

The other file types will be associated with the other apps as soon as they are back inside the main bundle.


Thanks,
Bernhard

On 10.10.2014, at 20:34, Wayne Stambaugh <stambaughw@xxxxxxxxxxx> wrote:

> KiCad (the application launcher) is not design to open board or
> schematic files.  It merely opens the project file and launches the
> appropriate application selected by the user.  I don't think we would
> want to launch pcbnew from kicad in the manner you described because
> occasionally it is useful to open a board file outside the scope of a
> project.  In this case, you want to open the board file directly with
> pcbnew.  If this is the desired behavior that OSX users require, than
> you may have to modify you bundle layout to accommodate this.  I'll
> leave that up to the OSX users to decide what makes the most sense.
> 
> On 10/10/2014 1:55 PM, Bernhard Stegmaier wrote:
>> Hi all,
>> 
>> I had a look at the icon issue on OSX that Andy mentioned below. 
>> Behavior is to be expected as described, because for the single KiCad application bundle only the .pro extension/icon is registered.
>> So, I added pcbnew extensions/icons to test.
>> 
>> If I now drag/drop a .kicad_pcb file to the bundle the launcher starts, but obviously it tries to read the .kicad_pcb file as a project (.pro) file… which of course gives many errors. 
>> It seems as it doesn't even try to fire up pcbnew with that file.
>> 
>> Is the KiCad launcher supposed to also directly open other files than it’s own .pro files?
>> If yes, does this work on other platforms?
>> 
>> 
>> Regards,
>> Bernhard
>> 
>> 
>> On 07.10.2014, at 02:39, Andy Peters <devel@xxxxxxxxx> wrote:
>> 
>>> 
>>> Interestingly, in the Finder, the only file type which has an application-specific icon is the project file .pro. Everything else (.sch, .kicad_pcb) have a default page-with-a-corner-turned-down icon.
>>> 
>>> In eeschema, dragging a symbol still results in the redraw failure, and I know that there's a patch (see https://bugs.launchpad.net/kicad/+bug/915761). How does one apply the patch, and can that patch be committed to the trunk?
>>> 
>>> -a
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help   : https://help.launchpad.net/ListHelp
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>> 
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp



Follow ups

References