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 115507 - Ctrl+F1 shouldn't launch help.
Ctrl+F1 shouldn't launch help.
Status: RESOLVED DUPLICATE of bug 100439
Product: gtk+
Classification: Platform
Component: Widget: Other
2.2.x
Other Linux
: Normal normal
: ---
Assigned To: Marco Pesenti Gritti
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2003-06-19 01:57 UTC by Gregory Merchan
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to gtk-demo to reproduce (760 bytes, patch)
2003-06-19 12:21 UTC, Marco Pesenti Gritti
none Details | Review

Description Gregory Merchan 2003-06-19 01:57:56 UTC
Pressing Ctrl+F1 is supposed to toggle tooltips, or something like that.
It should not launch the help browser as it does here.

The accel shown for Help->Contents is F1. It seems the modifier mask
for the key-press/release event isn't being checked.
Comment 1 Marco Pesenti Gritti 2003-06-19 12:20:19 UTC
It seem a gtk bug. I'll attach a patch to gtk-demo to reproduce it.
Comment 2 Marco Pesenti Gritti 2003-06-19 12:21:22 UTC
Created attachment 17622 [details] [review]
Patch to gtk-demo to reproduce
Comment 3 Marco Pesenti Gritti 2003-06-19 12:24:59 UTC
To reproduce, apply the patch and try to press Ctrl+F1, the Quit menu
item will be activated (output on the console).

In case it's of any help this is what eggmenu does to setup accels
(epiphany is using it and expose the same behavior):

guint accel_key = 0;
GdkModifierType accel_mods;
                                                                     
                                          
gtk_accelerator_parse (entries[i].accelerator, &accel_key,
                       &accel_mods);
if (accel_key)
gtk_accel_map_add_entry (accel_path, accel_key, accel_mods);
Comment 4 Marco Pesenti Gritti 2003-06-19 12:26:52 UTC
Other test case: press ctrl+f1 in gnome-terminal.
Comment 5 Owen Taylor 2003-08-01 18:47:27 UTC

*** This bug has been marked as a duplicate of 100439 ***