-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
geanynumberedbookmarks shortcuts do not work with numlock on #1089
Comments
WFM
|
"Linux Mint" doesn't actually tell us anything, what version and what desktop? And check that the desktop isn't eating those keycodes for its purposes. |
oh, more detail: Had tried mashing the shortcuts in other contexts to see if anything was bound to them, hadn't seen any effect. A config option to set and test the shortcuts could help maybe. |
To see if those keycodes are available you can try setting something currently unbound in the standard keybindings preferences and see what you get, you can always unbind it again. Note I get |
Also just a note that although I am using a git version, nothing has changed in numbered bookmarks since before 1.36. @Davidy22 This kind of indicates its in your system since it works here, just to check, please post the GTK/Glib versions from |
I grabbed it from the about tab under help, but here's the debug messages version: 16:28:01: Geany INFO : Geany 1.36, en_US.UTF-8 Didn't run into collision messages when binding those shortcuts in mint's general keyboard shortcuts utility, did check to see if it does give collision messages as well. I do also notice that I get SHIFT+CTRL+!, SHIFT+CTRL+@, SHIFT+CTRL+#, etc, and not the numbers. If there's a log to be produced I can get it. |
Did you check with Geany keybindings prefs? Also make sure that no other plugins are enabled, in fact restart Geany after you disable all other plugins. |
Alright, I tried toggling many things, and I finally found the problem, although I'm not sure why it would have an effect. Toggling off numlock was the solution. I swear I'm pressing the top bar number keys, not sure why numlock has an effect on this. Also to note, the numpad doesn't seem to work both with numlock on and off, I guess because shift+numpad key doesn't produce the top bar punctuation symbols and that's what the plugin's actually looking for? I'll look at the source some time, and edit the title of this ticket |
Confirm numlock on stops it working. Makes sense, having numlock on will probably set another modifier bit in the keyboard state. If the plugin uses raw keycode/modifier/state (rather than the GTK generated ones that keybindings uses, GTK knows numlock does not apply to non-keypad keys) then it might be disrupted by a numlock. |
Found the offending snippet, comparisons to an array of magic number keycodes starting line 1467
can probably fix this, might be some amount of time later though |
This plugin is marked as "maintained" but I note that the "maintainer" hasn't contributed anything since 2012, so I suspect it may in reality be abandoned. |
ping @WilliamFraser (probably, not listed in MAINTAINERS) |
Finally got the time to take a crack at it, printed some states through dialogs_show_msgbox and found the one for when numlock is on. If that commit does the job we can close this. |
Installed and enabled geany-plugins on linux mint and enabled and tried the numbered bookmarks plugin, CTRL+shift+number and the respective CTRL+number appear to have no effect in geany 1.36. Can provide additional files on request.
The text was updated successfully, but these errors were encountered: