At the risk of sounding like the gtk newbie that I am, I wonder if anybody
else has had problems with the "auto-accelerators" that gtk installs on the
I mean, when you install the menu (or menubar) and the menuitems, whether or
not you use a menufactory, you get installable accelerators from the get-go.
While this may be thought of a feature and not a bug, it has an interesting
side-effect for a new or even casual user of an app developed with gtk.
The user mouses onto the menu and clicks it. He accidentally presses space on
his keyboard instead of hitting the mouse button. This installs the space bar
as the accelerator for that menu function automagically. Then Joe User is
merrily working away and accidentally presses the space bar again. This
activates the carelessly installed accelerator.
Now the user didn't mean to do all this. He or she may not even be aware that
the gtk-based app that was just downloaded or purchased contains these
creatures. But after two hours of working hard to finish the budget
spreadsheet or the Great American Novel a seemingly innocent touch of the
space bar can activate a quit or delete function on a menu.
Now I realize that a good developer can safeguard the user from himself most
of the time, I just think that there HAS to be a way to deactivate the
auto-accelerator creation without deactivating the menus or the keyboard.
Has anybody found the workaround for this? Or am I being overly melodramatic?
Have I gone off the deep end on a simple function call? I really like gtk's
overall setup, but Man I wish I had better documentation. I am working on
the documentation for my personal use (not ready for prime time), but I also
am using gtk for development and to facilitate the accurate documentation of
the various functions within this toolkit.
I haven't reported this to the buglist because I don't know if it's a bug or a
feature. And I don't know if it can be deactivated. If anybody has a reply
to this problem either post here (extremely helpful to all involved) or send
it to me at my posting address.
Flames will be quietly ignored.