← Back to team overview

kicad-developers team mailing list archive

Re: Eeschema Subsheets

 

Hi Seth,

OK, yeah that makes it clear, Subsheet A should not have shown contents of
subsheet D since subsheet D was created and or supposed to have it's own
contents.

On Thu, Mar 29, 2018 at 10:00 AM, Seth Hillbrand <seth.hillbrand@xxxxxxxxx>
wrote:

> Hi JP-
>
> That's correct, A.sch does not get modified.  Only the contents shown are
> changed.
>
> Here is a video showing the behavior:
> https://drive.google.com/file/d/1LnG2khusuEal3E2I8-NPEZ-
> A9dA_ag8O/view?usp=sharing
>
> If you don't see the same behavior, perhaps this is linux-only?
>
> -S
>
> 2018-03-29 9:23 GMT-07:00 jp charras <jp.charras@xxxxxxxxxx>:
>
>> Le 29/03/2018 à 18:04, Seth Hillbrand a écrit :
>> > Thanks for the feedback.  It helps me get my head around how the
>> subsheets are meant to work.
>> >
>> > Here is one of the bugs:
>> >
>> > 1) Take the attached project and unzip into KiCad.
>> > 2) Open the schematic and you will find a schematic with 5 subsheets
>> referencing 3 subsheet files.
>> >   - Each subsheet file has a label with its associated file name.  So
>> A.sch contains "A".
>> > 3) Rename the file for Sheet B to "A.sch"
>> >   - This works as expected for linking.  There is a warning, you
>> replace the contents of B with the
>> > contents A.sch.
>> > 4) Rename the file for Sheet B again, this time to "D.sch"
>> >   - You get a warning about the sheet using shared data in a complex
>> hierarchy.  Click "OK"
>> >
>> > At this point, Eeschema creates "D.sch" using the data from "A.sch".
>> If I understand Wayne
>> > correctly, the mixing of these metaphors is fine.  Renaming a sheet
>> filename to an existing filename
>> > replaces the sheet's current contents with the existing file contents
>> but renaming a sheet filename
>> > to a non-existing filename will create a new copy of the current
>> contents.
>> >
>> > 5) Now, open the subsheet "B", notice that it has the label "A".  Edit
>> the contents to be "D" and save.
>> >
>> > The bug here is that if you now open the original subsheet A, its
>> contents have also been changed to
>> > "D".  But only until you close and re-open the project.  At that point,
>> it is back to "A".  I'll
>> > deal with this bug but leave the copying/linking behavior as is unless
>> people feel otherwise.  It
>> > confused me but I think I can clarify it in the dialog text.
>> >
>> > -S
>>
>> Hi Seth,
>>
>> I tried that, and I did not noticed your issue.
>> All sheets are OK, and the subsheet A.sch was not modified.
>>
>> --
>> Jean-Pierre CHARRAS
>>
>> _______________________________________________
>> 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
>
>


-- 
Remember The Past, Live The Present, Change The Future
Those who look only to the past or the present are certain to miss the
future [JFK]

kandrey89@xxxxxxxxx
Live Long and Prosper,
Andrey

References