kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #31212
Re: Datasheet confusion
Kristoffer,
I merged your patch into the master branch. Thank you for your
contribution to KiCad.
Cheers,
Wayne
On 10/19/2017 11:53 AM, Kristoffer Ödmark wrote:
> I tested the GetAssociatedDocument, works much better and has more
> features so i took the freedom of updating the dialog windows to use
> that instead of the wxLaunchDefaultBrowser as well
>
> attaching patch :)
>
> - Kristoffer
>
> On 10/19/2017 02:07 PM, Wayne Stambaugh wrote:
>> On 10/19/2017 7:09 AM, Kristoffer Ödmark wrote:
>>> Yes indeed it breaks that, I would argue that having an "invisible"
>>> field opened when using the context field is the source of the
>>> confusion. So I am aware it breaks the context menu for old schematics
>>> but think it is necessary anyway.
>>
>> I'm OK with this change. I'm not sure why we would use the document
>> field from the library symbol rather the schematic symbol. AFAIK, we
>> don't do that for any other schematic symbol fields.
>>
>>>
>>> I can of course use GetAssociatedDocument instead.
>>>
>>> On Oct 19, 2017 12:54 PM, "jp charras" <jp.charras@xxxxxxxxxx
>>> <mailto:jp.charras@xxxxxxxxxx>> wrote:
>>>
>>> Le 18/10/2017 à 20:20, Kristoffer Ödmark a écrit :
>>> > Glad to hear it, I fixed a patch up that will highlight the
>>> differences a bit better than I explain it.
>>> >
>>> > Basically it will fill the field from the properties if the field
>>> is empty when adding components to
>>> > the schematic.
>>> >
>>> > It will also use the Field to determine when to show the context
>>> menu instead of relying on the
>>> > library.
>>> >
>>> > - Kristoffer
>>> >
>>>
>>> Unfortunately, it breaks access to the associated document for
>>> existing schematics, that can have a
>>> datasheet name set in library, but not in schematic.
>>>
>>> and calling:
>>> ::wxLaunchDefaultBrowser( text ); is incorrect
>>> (text is not always a .pdf doc with a full absolute path or URI)
>>> see:
>>> GetAssociatedDocument()
>>>
>>> --
>>> Jean-Pierre CHARRAS
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> <https://launchpad.net/~kicad-developers>
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> <https://launchpad.net/~kicad-developers>
>>> More help : https://help.launchpad.net/ListHelp
>>> <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
>
References
-
Datasheet confusion
From: Kristoffer Ödmark, 2017-10-12
-
Re: Datasheet confusion
From: Kristoffer Ödmark, 2017-10-12
-
Re: Datasheet confusion
From: Wayne Stambaugh, 2017-10-12
-
Re: Datasheet confusion
From: Kristoffer Ödmark, 2017-10-12
-
Re: Datasheet confusion
From: Wayne Stambaugh, 2017-10-12
-
Re: Datasheet confusion
From: jp charras, 2017-10-13
-
Re: Datasheet confusion
From: Kristoffer Ödmark, 2017-10-13
-
Re: Datasheet confusion
From: Wayne Stambaugh, 2017-10-13
-
Re: Datasheet confusion
From: Kristoffer Ödmark, 2017-10-13
-
Re: Datasheet confusion
From: Fabrizio Tappero, 2017-10-16
-
Re: Datasheet confusion
From: Kristoffer Ödmark, 2017-10-18
-
Re: Datasheet confusion
From: jp charras, 2017-10-19
-
Re: Datasheet confusion
From: Kristoffer Ödmark, 2017-10-19
-
Re: Datasheet confusion
From: Wayne Stambaugh, 2017-10-19
-
Re: Datasheet confusion
From: Kristoffer Ödmark, 2017-10-19