[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: pcb GTK tear-off menus don't respond to mouse clicks



On Wed, 23 Feb 2011 01:33:17 +0000
Peter Clifton <pcjc2@xxxxxxxxx> wrote:

> On Tue, 2011-02-22 at 14:03 -0800, Colin D Bennett wrote:
> > Has anyone else noticed that the items in pcb's tearoff menus don't
> > respond to mouse clicks anymore?
> > 
> > When I click an item in a torn off menu, it becomes selected (has a
> > dark background) but no action is taken.  I can then press the up or
> > down arrow keys to move the selection up and down the menu, and
> > press the space key to activate an item.
> > 
> > This is in the gtk HID, on Ubuntu 10.04 (gtk+ 2.20), with pcb
> > current git HEAD although I have noticed it has been broken for
> > some time.
> 
> Strange - it could be a GTK bug, as it is well known the GTK
> developers don't like the tear-off menu feature. I believe it is (or
> was intended to be) removed in GTK 3.0.

If tear-off menus are going to go away in GTK, perhaps pcb could
provide a more suitable replacement in the form of customizable
dockable tool bars or something.  The reason I have used tear-off menus
is to
(1) make grid size selectable with a single mouse click, and
(2) to make the Settings menu items available for single mouse click
    access to turn on and off settings that I VERY frequently need to
    change, especially "Crosshair Snaps to Pins and Pads" and
    "Lock Names".
If pcb provided a replacement, it would hopefully be
superior to tear-off menus.  The tear-off menus do take up a lot of
screen real estate, too, when all I need is quick access to a few items.

> I can reproduce the bug, but only for the torn-off menus themselves.
> sub-menus of a torn off menu work correctly.

Same here.  If I tear off the View menu, I can use the torn-off menu to
pop up the Grid Size sub menu and it works.  However, tearing the
View > Grid Size menu itself does not work (it's nearly a requirement
to tear off the Grid Size menu because it's the only way for me to stay
sane...).

> Can anyone reproduce with a different application which uses tear off
> menus?

I tried to find another app on my Ubuntu system that uses tear-off
menus but have not found one yet.

Regards,
Colin

Attachment: signature.asc
Description: PGP signature


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user