cass00 / enhanced-osk-gnome-ext

Enhanced On-Screen Keyboard for Gnome Shell
http://extensions.gnome.org/extension/6595/enhanced-osk/
21 stars 8 forks source link

Compatibility with Gnome 46 #14

Open openwick opened 4 months ago

openwick commented 4 months ago

Describe the bug

Extension is incompatible with Gnome version 46

To Reproduce Steps to reproduce the behavior:

  1. Update Gnome to 46
  2. Gnome extensions says it is incompatible

Expected behavior Extension should work like before

Environment (please complete the following information):

cass00 commented 3 months ago

I'm not on 46 yet so I can't test it. Feel free to add 46 in metadata.json and test it yourself.

openwick commented 3 months ago

Hi, Thanks for the replay. I edited sudo nano ~/.local/share/gnome-shell/extensions/enhancedosk@cass00.github.io/metadata.json and changed the shell from 45 to 46. But after that only indicator is visible and upon clicking it the keyboard is not popping like before.

I also tried gsettings set org.gnome.shell disable-extension-version-validation "true" but it also didnt work. Any other things I can try to make it work on 46?

ckjoris commented 3 months ago

Hi!

I too am interested to get this to work in 46. I've enabled it for testing (using gsettings set org.gnome.shell disable-extension-version-validation true), and extension was loaded, but there is an issue. Found the error with journalctl /usr/bin/gnome-shell:

JS ERROR: TypeError: this._currentPage is undefined
                                          _setActiveLevel@resource:///org/gnome/shell/ui/keyboard.js:1703:9
                                          _updateKeys@resource:///org/gnome/shell/ui/keyboard.js:1661:14
                                          _setupKeyboard@resource:///org/gnome/shell/ui/keyboard.js:1303:14
                                          enable_overrides/</<@file:///home/usr492n/.local/share/gnome-shell/extensions/enhancedosk@cass00.github.io/extension.js:322:26
                                          _init@resource:///org/gnome/shell/ui/keyboard.js:1231:14
                                          enable_overrides/</<@file:///home/usr492n/.local/share/gnome-shell/extensions/enhancedosk@cass00.github.io/extension.js:313:26
                                          Keyboard@resource:///org/gnome/shell/ui/keyboard.js:1180:4
                                          _syncEnabled@resource:///org/gnome/shell/ui/keyboard.js:1112:30
                                          KeyboardManager/<@resource:///org/gnome/shell/ui/keyboard.js:1072:18
                                          @resource:///org/gnome/shell/ui/init.js:21:20