Tool keybinds doesn't work on packaged versions
Describe the bug
A clear and concise description of what the bug is.
When you install the package for rnote (archlinux, nixos atm) keybinds that change tools doesn't work
To Reproduce
Steps to reproduce the behavior:
- Install app through pacman or nix
- launch
- try to change tools
Expected behavior
tool should change. want to mention that when i compiled from source i don't get this behaviour, BUT still that thing happens to me on more than 1 package manager, that is concerning.
Console Output
thats just output from WAYLAND_DEBUG=1, hopefully something helpfull (please read additional context)
299064.080] {Default Queue} wl_keyboard#40.key(4540, 719426, 29, 1)
[ 299064.108] {Default Queue} wl_keyboard#40.modifiers(4541, 4, 0, 0, 0)
[ 299315.028] {Default Queue} wl_keyboard#40.key(4542, 719677, 3, 1)
[ 299443.039] {Default Queue} wl_keyboard#40.key(4543, 719805, 3, 0)
[ 299767.031] {Default Queue} wl_keyboard#40.key(4544, 720129, 2, 1)
[ 299889.046] {Default Queue} wl_keyboard#40.key(4545, 720251, 2, 0)
[ 300017.034] {Default Queue} wl_keyboard#40.key(4546, 720379, 3, 1)
[ 300024.606] {Default Queue} xdg_wm_base#37.ping(1337)
[ 300024.617] {Default Queue} -> xdg_wm_base#37.pong(1337)
[ 300134.040] {Default Queue} wl_keyboard#40.key(4547, 720496, 3, 0)
[ 300268.038] {Default Queue} wl_keyboard#40.key(4548, 720630, 4, 1)
[ 300366.049] {Default Queue} wl_keyboard#40.key(4549, 720728, 4, 0)
[ 300604.048] {Default Queue} wl_keyboard#40.key(4550, 720966, 3, 1)
[ 300702.053] {Default Queue} wl_keyboard#40.key(4551, 721064, 3, 0)
[ 300903.045] {Default Queue} wl_keyboard#40.key(4552, 721265, 4, 1)
[ 300995.053] {Default Queue} wl_keyboard#40.key(4553, 721357, 4, 0)
[ 301141.048] {Default Queue} wl_keyboard#40.key(4554, 721503, 4, 1)
[ 301258.060] {Default Queue} wl_keyboard#40.key(4555, 721620, 4, 0)
[ 301524.625] {Default Queue} xdg_wm_base#37.ping(1337)
[ 301524.636] {Default Queue} -> xdg_wm_base#37.pong(1337)
[ 301643.056] {Default Queue} wl_keyboard#40.key(4556, 722005, 3, 1)
[ 301753.068] {Default Queue} wl_keyboard#40.key(4557, 722115, 3, 0)
[ 301942.065] {Default Queue} wl_keyboard#40.key(4558, 722304, 2, 1)
[ 302040.097] {Default Queue} wl_keyboard#40.key(4559, 722402, 2, 0)
[ 302138.075] {Default Queue} wl_keyboard#40.key(4560, 722500, 3, 1)
[ 302242.090] {Default Queue} wl_keyboard#40.key(4561, 722604, 3, 0)
[ 302351.077] {Default Queue} wl_keyboard#40.key(4562, 722713, 4, 1)
[ 302455.085] {Default Queue} wl_keyboard#40.key(4563, 722817, 4, 0)
[ 302633.077] {Default Queue} wl_keyboard#40.key(4564, 722995, 3, 1)
[ 302645.075] {Default Queue} wl_keyboard#40.key(4565, 723007, 2, 1)
[ 302755.088] {Default Queue} wl_keyboard#40.key(4566, 723117, 2, 0)
[ 302762.084] {Default Queue} wl_keyboard#40.key(4567, 723124, 3, 0)
[ 302822.089] {Default Queue} wl_keyboard#40.key(4568, 723184, 4, 1)
[ 302962.085] {Default Queue} wl_keyboard#40.key(4569, 723324, 2, 1)
[ 302999.099] {Default Queue} wl_keyboard#40.key(4570, 723361, 4, 0)
[ 303024.636] {Default Queue} xdg_wm_base#37.ping(1337)
[ 303024.648] {Default Queue} -> xdg_wm_base#37.pong(1337)
[ 303116.091] {Default Queue} wl_keyboard#40.key(4571, 723478, 2, 0)
[ 303207.083] {Default Queue} wl_keyboard#40.key(4572, 723569, 4, 1)
[ 303237.083] {Default Queue} wl_keyboard#40.key(4573, 723599, 3, 1)
[ 303397.102] {Default Queue} wl_keyboard#40.key(4574, 723759, 3, 0)
[ 303482.100] {Default Queue} wl_keyboard#40.key(4575, 723844, 4, 0)
[ 303647.116] {Default Queue} wl_keyboard#40.key(4576, 724009, 29, 0)
[ 303647.133] {Default Queue} wl_keyboard#40.modifiers(4577, 0, 0, 0, 0)
[ 304524.662] {Default Queue} xdg_wm_base#37.ping(1337)
[ 304524.675] {Default Queue} -> xdg_wm_base#37.pong(1337)
[ 304649.145] {Default Queue} wl_keyboard#40.key(4578, 725011, 125, 1)
[ 304649.169] {Default Queue} wl_keyboard#40.modifiers(4579, 64, 0, 0, 0)
[ 304730.115] xdg_toplevel#82.close()
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: nix
- App Version: 0.13.1
- Installation Source: arch,nix
- Desktop Environment: hyprland
- Display Server: wayland
- Input Source: mouse and graphic pen
Additional context
can you help me with debugging that issue? idk how i need to launch the app in order to have usefull information, and also how i can store it in file (Like log.txt), couldn't find info on that my bad.
also the keyboard im using or missing library could be the cause, but im not sure, when i compiled from source it was working fine. maybe some missing dependency??
Do all keyboard shortcuts not work ? Or only the ctrl+1 to ctrl+5 to change tools ?
This should be fixed with https://github.com/flxzt/rnote/pull/1515/files and on 0.13.1. But is a bug on 0.13.0 at the very least.
Are you sure this is 0.13.1 ? I only get 0.12.0 from nix packages https://search.nixos.org/packages?channel=25.05&show=rnote&query=rnote but 0.13.1 from arch https://archlinux.org/packages/extra/x86_64/rnote/
Maybe there is a weird condition where this doesn't register but not being able to reproduce the issue when compiling doesn't help.
If you run with
GTK_DEBUG=interactive rnote
and activate the Record events in the recorder
Then launch a recording with the next button Record Frames, the key events are shown from gtk's perspective (so you'd at least know they are correctly received by gtk and passed to the GtkShortcutController).
I can try to make a dev version that is as close as possible to the package one if you want, like I did with https://github.com/Doublonmousse/rnote_aur_debug if you can link me to the page for the package you've used (that way, there may be a way to reproduce and debug)
I'm using the current packaged version on Arch, with Hyprland, and these keybinds (both on keyboard and tablet) work correctly