gschem: Preview causes multiple evaluation of rc files

Bug #698492 reported by Peter TB Brett
6
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.

Revision history for this message
Peter TB Brett (peter-b) wrote :

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.

Revision history for this message
Peter TB Brett (peter-b) wrote :
Peter TB Brett (peter-b)
Changed in geda:
status: New → Confirmed
Peter TB Brett (peter-b)
tags: added: libgeda
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.