GNOME Bugzilla – Bug 109024
Ctrl+KP_Add doesn't work as hotkey
Last modified: 2021-06-10 12:49:48 UTC
Ctrl+KP_Add cannot be specified as a hotkey, since Ctrl will be forgotten, KP_Add appears as the new hotkey. Same for KP_Subtract and some others.
what is the output of "xev" when you type plain KP_Add and Ctrl+KP_Add into it? What is the output of "xmodmap"
I send some files. I include them here, as attaching doesn't work for me right now. xev: I press KP_Add, Ctrl+KP_Add, KP_Enter and Ctrl+KP_Enter. Ctrl+KP_Enter appears correctly as Ctrl+KP_Enter in gnome-termina. That ``1 bytes: "M"'' means an ascii 10, of course :) KeyPress event, serial 25, synthetic NO, window 0x1e00001, root 0x48, subw 0x0, time 1058146, (119,65), root:(124,111), state 0x0, keycode 86 (keysym 0xffab, KP_Add), same_screen YES, XLookupString gives 1 bytes: "+" KeyRelease event, serial 25, synthetic NO, window 0x1e00001, root 0x48, subw 0x0, time 1058224, (119,65), root:(124,111), state 0x0, keycode 86 (keysym 0xffab, KP_Add), same_screen YES, XLookupString gives 1 bytes: "+" KeyPress event, serial 25, synthetic NO, window 0x1e00001, root 0x48, subw 0x0, time 1058755, (119,65), root:(124,111), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 bytes: "" KeyPress event, serial 25, synthetic NO, window 0x1e00001, root 0x48, subw 0x0, time 1058939, (119,65), root:(124,111), state 0x4, keycode 86 (keysym 0xffab, KP_Add), same_screen YES, XLookupString gives 1 bytes: "+" KeyRelease event, serial 25, synthetic NO, window 0x1e00001, root 0x48, subw 0x0, time 1059017, (119,65), root:(124,111), state 0x4, keycode 86 (keysym 0xffab, KP_Add), same_screen YES, XLookupString gives 1 bytes: "+" KeyRelease event, serial 25, synthetic NO, window 0x1e00001, root 0x48, subw 0x0, time 1059165, (119,65), root:(124,111), state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 bytes: "" KeyPress event, serial 25, synthetic NO, window 0x1e00001, root 0x48, subw 0x0, time 1059528, (119,65), root:(124,111), state 0x0, keycode 108 (keysym 0xff8d, KP_Enter), same_screen YES, XLookupString gives 1 bytes: "M" KeyRelease event, serial 25, synthetic NO, window 0x1e00001, root 0x48, subw 0x0, time 1059587, (119,65), root:(124,111), state 0x0, keycode 108 (keysym 0xff8d, KP_Enter), same_screen YES, XLookupString gives 1 bytes: "M" KeyPress event, serial 25, synthetic NO, window 0x1e00001, root 0x48, subw 0x0, time 1059885, (119,65), root:(124,111), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 bytes: "" KeyPress event, serial 25, synthetic NO, window 0x1e00001, root 0x48, subw 0x0, time 1060125, (119,65), root:(124,111), state 0x4, keycode 108 (keysym 0xff8d, KP_Enter), same_screen YES, XLookupString gives 1 bytes: "M" KeyRelease event, serial 25, synthetic NO, window 0x1e00001, root 0x48, subw 0x0, time 1060180, (119,65), root:(124,111), state 0x4, keycode 108 (keysym 0xff8d, KP_Enter), same_screen YES, XLookupString gives 1 bytes: "M" KeyRelease event, serial 25, synthetic NO, window 0x1e00001, root 0x48, subw 0x0, time 1060300, (119,65), root:(124,111), state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 bytes: "" xmodmap: I use xfree 4.3 and use the commands "setxkbmap us" and "setxkbmap hu" to change the layout. Anyway, I send the xmodmap output. xmodmap: up to 2 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x6d) mod1 Alt_L (0x40), Alt_R (0x71) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x73), Super_R (0x74) mod5 keycode 37 = Control_L keycode 77 = Num_Lock Pointer_EnableKeys keycode 78 = Scroll_Lock keycode 79 = KP_Home KP_7 keycode 80 = KP_Up KP_8 keycode 81 = KP_Prior KP_9 keycode 82 = KP_Subtract XF86_Prev_VMode keycode 83 = KP_Left KP_4 keycode 84 = KP_Begin KP_5 keycode 85 = KP_Right KP_6 keycode 86 = KP_Add XF86_Next_VMode keycode 87 = KP_End KP_1 keycode 88 = KP_Down KP_2 keycode 89 = KP_Next KP_3 keycode 90 = KP_Insert KP_0 keycode 91 = KP_Delete KP_Decimal
I can reproduce this here, Ctrl+KP_Enter works but not Ctrl+KP_Add. So seems unrelated to hungarian keymap or anything like that. Perhaps an Xkb issue related to the vidmode hotkeys...
Ctrl+KP_Add and Ctrl+KP_Substract are caught by vte... If vte didn't, they'd work as keyboard shortcuts. IMHO vte should not do that---it currently catches a few key combinations. Bouncing to Nalin...
Humm, donno how they were assigned to me...
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vte/-/issues/782.