Re: Strange accel behavior
| From: | Richard Lynch | Date: | Thu, 27 Jan 2005 18:31:45 +0000 |
| Subject: | Re: Strange accel behavior | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5496@lists.php.net to get a copy of this message | ||
Madeleine D. wrote:
> Thanks for the suggestion. I have of course, done something that stupid
> before... but not in this case. I've also made sure there are no menu
> shortcuts for 'alt/d'.
>
> I've now found a second bad apple. A label for '_balance' doesn't work,
> but 'b_alance' does. These are the only two so far - out of about 40
> different accel keys on some 50 screens. And these two don't work on any
> of the screens, even for different labels - like '_blocking'.
>
> This screen is called from an opening one, which has a its own menu accel
> group. There are accel keys here that are the same, like 'alt/d', but
> there are others that would overlap as well, like 'alt/a'. So that
> doesn't
> seem to be the problem either.
Is it remotely possible that the items that overlap and are conflicting
from previous screens are somehow treated differently than the ones that
don't conflict?
For example (psuedo-code):
<?php
$window1 = ...;
$alt_d1 = ...;
$alt_a1 = ...
$alt_a1->hide();
$window1->hide();
$window2 = ...;
$alt_d2 = ...;
$alt_a2 = ...;
?>
In this case, the 'a' keys don't conflict because alt_a1 was explicitly
hidden, but the 'd' keys conflict because the alt_d1 is still "shown"
NOTE TO ARCHIVE READERS: This is just a THEORY and EXAMPLE completely
made up with absolutely NO testing to see if any of this is correct. They
exist only to explain what MIGHT be the problem. It might not even be as
obvious as ->show() and ->hide() and could be more insidious like
GtkButton versus, err, some sub-class of GtkButton or something. I make
no claims that any of this is correct. Just a theory.
--
Like Music?
http://l-i-e.com/artists.htm