[Dotty/Lneato/Lefty] events get lost (right-click mouse menus not selectable)
Ported Issue from Mantis Original ID: 638 Reported By: Richard Berendsen
SEVERITY: MAJOR Submitted: 2006-11-09 10:18:41
OS: *-LINUX-UBUNTU DAPPER DRAKE
When I press the right mouse in dotty over a graph or a node, a context menu appears. I cant select anything, however. It will just disappear again when I release the button, even when Im over one of the items.
Earlier I already noticed that about half of the times I entered an attribute it would just disappear. It would not be set or anything, but also no error was given. But now, with the above bug, I can't use dotty at at all as a graph editor interface.
STEPS TO REPRODUCE
right mouse event
[erg] See also b524. Turning off the NUMLOCK fixes the problem.
[James Coleman (jamesc dspsrv.com)] I also of course see this bug (solaris and cygwin). I toggled num-lock and hey presto the menus work. This behaviour is very puzzling and most new users would not find the very simple solution!
It should not matter about numlock.
dot version 2.2 (Wed Mar 23 14:44:07 UTC 2005) on cygwin
dot version 1.10 (Wed Jan 5 16:56:31 GMT 2005)
on solaris 10(sparc)
from sunfreeware.com package:
/usr/sbin/pkgchk -l -p
both using cygwin as X server
I don't know X that well, but ... Hmmm, well with truss -u (solaris - (truss -u a.out -u lib,libX*)) I can see that the menu is much quieter if numlock is on. If mouse is scrolling in menu there is not X or user code activity. If mouse is scrolling in menu with numlock off then there is activity (LOTS!).
Too much output to deal with but it would seem to be an X setup issue? If numlock is on are the mouse events classed differently by X? And are these event handlers not registered or initialised ... ? Maybe a mask or flag at X App init time?