[Gtkradiant] [Bug 191] (multiple) Toolbar buttons non-functional

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Thu, 20 Sep 2001 05:49:19 -0500


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=191

gefdavis@dingoblue.net.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|                            |All



------- Additional Comments From gefdavis@dingoblue.net.au  2001-09-20 05:49 -------
This seems to be related to the toggles prob i have with the current version (see: http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=183) because I'm also having this prob. Didn't realise it until i checked this bug.

>From looking through some of the code that relates to HandleCommand, the keydown param is only set when the function is called from the two mainframe keyup/down handlers. Which means that the if(!keydown) is checking against something that isn't explicitly set for buttons and accelerator keys which could go either way since accelerators get kicked out of the keyup/down functions rather early and buttons go straight into the HandleCommand function through the GTK_SIGNALFUNC that's connected to them when they are created. In my case keydown, when it hasn't been explicitly set in the call to it, is 0 and so doesn't continue past the if(!keydown) line.

Anyway, just sharing some thoughts on it since none of the other developers/contributors are having the probs i've been having with it.

btw: letting the accelerators keep going through the keyup/down functions also fixes my toggle prob. Which seems to be that the accelerator just jumps out of keyup/down and goes straight into HandleCommand anyway... *shrug*


Gef :]



------- You are receiving this mail because: -------
Whoops!  I have no idea!