Closed jezek closed 8 months ago
Thank you @jezek for the shared effort. I will look into it. Hope they didn't change much.
Just a note. What I found out (from enabled logs), that the kbd-a11y-mods-state-changed
is not triggering, so the _a11y_mods_update
is not called ever.
Pardon me my question. You wrote some review comments. I know you also wrote Thank you, I will continue working on it.
above, but I just want to be sure that I didn't misunderstood. Are the review comments just for you, or should I implement them?
@jezek Yeah, they are comments for myself. Just to know where I left off and look for what next check.
By the way, It seems there are more into Gnome 45. I still couldn't get it to enable or show debug logs. I will test upstream Gnome 45 updated demo, probable do a rewrite step by step to find what broken.
When testing & debugging I'm using the env GNOME_SHELL_SLOWDOWN_FACTOR=2 MUTTER_DEBUG_DUMMY_MODE_SPECS=1024x768 dbus-run-session -- gnome-shell --nested --wayland
command, so I don't have to restart wayland session after making changes. I found out, that after this, the extension logs are being written to the output of the command, so to get just the logs I pipe the whole output to grep and filter just the extension logs (env GNOME_SHELL_SLOWDOWN_FACTOR=2 MUTTER_DEBUG_DUMMY_MODE_SPECS=1024x768 dbus-run-session -- gnome-shell --nested --wayland 2>&1 | grep KMS
).
Hi @sneetsher , it's me again.
I've been using this extension, with this PR on Manjaro Linux, even when the latch & lock indications didn't work, cause it's more convenient, to see a modifier is pressed even when latch & lock indications aren't shown.
But, after last update, the latch& lock indications started working again. From what I deduce was a bug on gnome side, not a port bug, nor an API change.
@jezek I could get some time to test it.
Thank you very much for effort. I am merging it.
@jezek I tested Ubuntu 23.10 Vanilla installation. It works perfectly too.
These are minimum changes needed to run on GNOME 45. Specific changes are described in commit(s).
NOTE: I'm creating this PR as a draft, cause the latch & lock indications are broken when running this PR in GNOME 45 and I still haven't figured out why. I'm a beginner in developing & debugging extensions. If anyone knows how to fix, help is welcome.