gEDA-dev: PCB: gtk testers needed

Dan McMahill dan at mcmahill.net
Mon Mar 12 23:26:51 EDT 2007


I'm to a point where I'd appreciate some testing and feedback on some 
stuff I've been doing to the gtk HID for PCB.  I have implemented user 
controlled menus.  The menus are read from a resource file on startup 
just like in the lesstif HID.   Instead of looking for "pcb-menu.res", 
the gtk HID looks for "gpcb-menu.res" in the same locations.  The reason 
for a different name is that the organization of the default menus for 
the lesstif HID is different than the gtk HID.  However, the goal is for 
the menu resource files to be compatible.  By this I mean you should be 
able to do something like

ln -s pcb-menu.res gpcb-menu.res

and have both the lesstif and gtk HID's have the same set of menus and 
hotkeys.

One goal I had was to not change much in the way of the menu layout or 
hotkeys from what is currently in the CVS HEAD for the gtk hid.  Despite 
this, I do expect there will be a few minor changes.

One visible change is that all hotkeys are now defined through the 
menus.  You'll see that under the "Info" menu, there is a "Key bindings" 
submenu.  That is a "catch-all" place where all of the key bindings that 
aren't already assigned to the "normal" menus go.  It has the side 
effect of providing an online reference.


To try out the new menus, update to the "usermenu" branch.

Do this by either

cvs update -PdA -r usermenu

from your pcb source tree, or check out a new working copy somewhere 
else with:

cvs -d:pserver:anonymous at pcb.cvs.sourceforge.net:/cvsroot/pcb login
cvs -z3 -d:pserver:anonymous at pcb.cvs.sourceforge.net:/cvsroot/pcb co -P 
-r usermenu  pcb


then

./configure --disable-docs
gmake
cd src
./pcbtest.sh


What I'd specifically like feedback on are:

1) menus/hotkeys which worked in pcb-20070208 with the gtk HID and are 
broken now

2) hotkeys which changed from pcb-20070208.  I know there were some 
minor menu layout changes.  If there are behaviour changes though I want 
to know.

3) any other wierd behaviour relating to menus or hotkeys that is 
different from pcb-20070208.

4) menus/hotkeys which also didn't work in pcb-20070208

Feel free to substitute current cvs head for 20070208.

My goal is to get the usermenu branch up to the same level of 
functionality as what was in pcb-20070208 or current cvs head before 
merging the branch back to the head.  Once the merge is done, I'll try 
to address issues from #4 above.


Known issues:

- Mouse section in the resource file is ignored.  I need to learn about 
how the mouse buttons are handled in the gtk HID currently so I can hook 
up that section.

- A fair amount of now obsolete code still exists in gui-top-window.c. 
I need to do some major house keeping.


While I don't think this branch has any major instabilities in it, it 
should still be treated as alpha quality.  So, make backups of any of 
your work!  You have been warned!

Thanks
-Dan




More information about the geda-dev mailing list