GNOME Bugzilla – Bug 145078
mnemonics for bonobo widget does not work
Last modified: 2004-12-22 21:47:04 UTC
Cannot add mnemonics for bonobo widget. If a label's mnemonics widget is set to a bonobo widget. I also hope that if label's mnemonics widget is a bonobo widget, when focus on the bonobo widget gnopericus can read the label. The problem cause we cannot differetiate TO/CC/BCC of evolution mail composer when we use gnopernicus to read the composer. steps for reproduce this problem : 1. Start evolution mail with a11y enabled, then start mail composer, 2. Start gnopernicus 3. Navigate in the To/CC/BCC, gnopernicus cannot read the To/CC/BCC's name. 4. Change code and add mnemonics on To/CC/BCC, so their mnemonics widget point to the entries. You will find mnemonics do not work. And gnopernicus cannot read the entry's name.
Created attachment 29057 [details] [review] simple testcase A simplified testcase. Include a bonobo container, which contain a simple control which only wrap a gtkentry. After patch, make install, run the sample-control-container, patch to libbonoboui/samples/
the problem cause GOK UI grab do not work for evolution mail composer.
The sample test program crashes at line 45 of sample-control.container.c. It looks like uic is undefined.
I replaced uic with NULL and the program then compiled. When I press Alt+a I get the message Gtk-WARNING **: widget `BonoboWidget' isn't suitable for mnemonic activation. This message comes from the function gtk-widget_real_mnemonic_activate(). An "activate-signal" signal is not defined for BonoboControl and it does not accept focus hence the warning message. I do not see what is the bug you are complaing of. I do not see where the
Hi Padarig, The bug is that when a gtklabel's mnemonic widget is a bonoboControl, we got no benefit of mnemonic. First we hope bonobo control can be activated by mnemonic. It may means that "activate-signal" signal need to be handled by the bonoboControl. And we also hope gnopernicus can read out the bonobocontrol's mnemnoic label when we focus on a bonoboControl.
For mnemonic label to be read out when you focus on a bonobo control you need labelled-by relation on the accessible object corresponding to the bonoboControl. I had hoped that the code in gail would generate this relation automatically for a mnemonic widget.
What is the status of this bug?
I'm ignoring it and hoping it will go away; will it ? :-)
I will try to fix the problem in evolution composer on app side. But that will be quite ugly.
I am closing as notabug.