gschem: Preview causes multiple evaluation of rc files
Bug #698492 reported by
Peter TB Brett
This bug report is a duplicate of:
Bug #699813: gEDA configuration needs per-page values.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA |
Confirmed
|
High
|
Unassigned |
Bug Description
When opening a schematic using the file selection dialog in gschem, the local configuration files must be executed in order to make the correct symbol libraries available. These are executed in the context of the preview widget's TOPLEVEL structure, but the global symbol library is manipulated. This means that when a file from that directory is then loaded "properly", the symbol library manipulations are repeated.
The most common symptom is that any library added in a gafrc file is added twice.
A very nasty hack-around is attached. This is good for fixing the immediate symptoms, but would better be addressed by being able to evaluate rc files in different configuration contexts.