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 111823 - option menu widget do not support keyboard navigation
option menu widget do not support keyboard navigation
Status: RESOLVED NOTABUG
Product: gtk+
Classification: Platform
Component: Widget: Other
2.2.x
Other Linux
: Normal major
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2003-04-29 09:06 UTC by yuedong du
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description yuedong du 2003-04-29 09:06:48 UTC
Use up/down arrow should able to select the menu items.
Just try the attached program below.

This cause an accessibility bug in evolution, see
http://bugzilla.ximian.com/show_bug.cgi?id=41633



#include <gtk/gtk.h>

int
main(int argc, char *argv[])
{
        GtkWidget * window;
        GtkWidget * opt;
        GtkWidget * menu;
        GtkWidget * menuitem;


        gtk_init(&argc, &argv);

        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        opt = gtk_option_menu_new();

        menu = gtk_menu_new();
        menuitem = gtk_menu_item_new_with_label("first");
        gtk_menu_append(menu, menuitem);

        menuitem = gtk_menu_item_new_with_label("second");
        gtk_menu_append(menu, menuitem);

        gtk_option_menu_set_menu(opt, menu);

        gtk_container_add(GTK_CONTAINER(window),  opt);
        gtk_widget_show_all(window);

        gtk_main();

        return 0;
}
Comment 1 yuedong du 2003-04-29 09:26:48 UTC
It is possible to open the option menu with <space>, then choose with
up/down arrow. So close it as NOTABUG.