gEDA-dev: BUG: PCB Crashes when loading layout from command line

Peter Clifton pcjc2 at cam.ac.uk
Mon Jan 28 14:11:00 EST 2008


On Mon, 2008-01-28 at 13:05 -0500, DJ Delorie wrote:
> > adding core code without testing both HIDs).
> 
> As I'm working on the tutorial, I *AM* using both hids.  A lot.

Sorry DJ, my comment probably came across badly, no offence was
intended. I don't claim to test Lesstif HID for every "core" change I
make either, but perhaps really ought to.

> > It does seem strange that the core is dictating UI policy, e.g.,
> > what a certain key should do. I guess I have to remember that PCB's
> > core isn't really "backend" stuff as such.. its more a shared
> > portion which the HID "skins" with different widgets.
> 
> The core still knows more about the gui than it should, but unless we
> want to COMPLETELY redesign how Notify() and the tools work, it's
> going to stay that way for a while.

> I think the core will continue to expect a GUI with a graphical screen
> and some type of pointing/keyboard input pair though.  The purpose of
> the HID stuff was to isolate the gui-specific bits, like window layout
> and graphics mechanics, not to completely isolate the core from the
> user; as well as allow us to hook in the exporters.

The problem is that the GTK HID doesn't init all its state until
do_export. That is perhaps the underlying issue.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



More information about the geda-dev mailing list