After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 145078 - mnemonics for bonobo widget does not work
mnemonics for bonobo widget does not work
Status: RESOLVED NOTABUG
Product: bonobo
Classification: Deprecated
Component: libbonoboui
CVS HEAD
Other All
: High normal
: ---
Assigned To: Michael Meeks
bonobo qa
Depends on:
Blocks:
 
 
Reported: 2004-06-28 08:03 UTC by yuedong du
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
simple testcase (6.40 KB, patch)
2004-06-28 08:46 UTC, yuedong du
none Details | Review

Description yuedong du 2004-06-28 08:03:11 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.
Comment 1 yuedong du 2004-06-28 08:46:21 UTC
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/
Comment 2 yuedong du 2004-06-28 09:12:47 UTC
the problem cause GOK UI grab do not work for evolution mail composer.
Comment 3 padraig.obriain 2004-07-07 09:22:59 UTC
The sample test program crashes at line 45 of sample-control.container.c. It
looks like uic is undefined.
Comment 4 padraig.obriain 2004-07-07 10:41:01 UTC
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
Comment 5 yuedong du 2004-07-12 03:00:28 UTC
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.
Comment 6 padraig.obriain 2004-07-12 07:19:46 UTC
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. 
Comment 7 padraig.obriain 2004-08-12 08:40:08 UTC
What is the status of this bug?
Comment 8 Michael Meeks 2004-08-12 17:10:46 UTC
I'm ignoring it and hoping it will go away; will it ? :-)
Comment 9 yuedong du 2004-08-13 02:15:03 UTC
I will try to fix the problem in evolution composer on app side. But that will
be quite ugly.
Comment 10 padraig.obriain 2004-08-13 08:53:00 UTC
I am closing as notabug.