kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #15101
Re: KiCad Launcher & File Types
Well, it might seem so but that’s IMHO not the whole story.
From an OSX perspective there currently is not “some apps”, it is just *one* application, the kicad launcher.
Having the other (command-line) applications in the bundle is just a workaround and OSX doesn’t know anything about them from an application view.
For this single application only one file extension with one icon is registered.
On a clean machine I bet you won’t see more than an icon for .pro files.
If you see other icons for pcbnew, etc. file types at all then I guess this is just because you still have/had other versions on your machine (on my machine all icons are still correct, but I guess that’s only because I have an old version still installed). Further, OSX is obviously caching many things… so, often you might see still old things (try to edit Info.plist an application… for me this works reliably with the new content only when deleting the old application, renaming, or copying/moving it around).
However, I am working on getting back shortcuts for the individual applications without duplicating all the libs and kifaces.
With that, all icons should be right again.
But, there is some more work to do to get it right when launching pcbnew individually or from launcher (e.g., config file locations which are currently dependent on binary/app name).
Those things were broken before, too...
Regards,
Bernhard
On 10.10.2014, at 23:09, Jean-Paul Louis <louijp@xxxxxxxxx> wrote:
> The current behavior is not acceptable in OS X.
> The icons are mostly wrong.
> I think it is because of the new bundling method.
> Before, each app had the right icon attached to it. Now it is really confusing, and very impractical as some apps have the wrong icon, and some other apps have a sheet icon with the wrong drawing.
>
> When each app had it’s own bundle, it was working almost OK.
> I still do not understand why the right click in the kicad manager shows an edit option, but that option never worked on all my builds.
>
> Just my $0.02,
> Jean-Paul
> AC9GH
>
>
> On Oct 10, 2014, at 3:00 PM, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx> wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> 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
-
OSX Build changes.
From: Garth Corral, 2014-10-02
-
Re: OSX Build changes.
From: Wayne Stambaugh, 2014-10-02
-
Re: OSX Build changes.
From: Bernhard Stegmaier, 2014-10-02
-
Re: OSX Build changes.
From: Jean-Paul Louis, 2014-10-02
-
Re: OSX Build changes.
From: Jean-Paul Louis, 2014-10-06
-
Re: OSX Build changes.
From: Adam Wolf, 2014-10-06
-
Re: OSX Build changes.
From: Andy Peters, 2014-10-07
-
KiCad Launcher & File Types
From: Bernhard Stegmaier, 2014-10-10
-
Re: KiCad Launcher & File Types
From: Bernhard Stegmaier, 2014-10-10
-
Re: KiCad Launcher & File Types
From: Jean-Paul Louis, 2014-10-10