nick-shmyrev / improved-osk-gnome-ext

Improved On Screen Keyboard for Gnome Shell
https://extensions.gnome.org/extension/4413/improved-osk/
94 stars 30 forks source link

Layout doesn't change when installing extension #59

Open Thedinotamer opened 1 year ago

Thedinotamer commented 1 year ago

Describe the bug The Layout doesn't change when installing the extension and even remove some buttons for example ctrl.

To Reproduce Steps to reproduce the behavior: Just install the extension

Expected behavior The extension shoud've changed layout to what is on the extension page.

Screenshots This is how my layout looks like: 94836150f90644ffe29687ff08e89df1aa48b614_2_690x126

This is how it should look like: 4b8928c5f42791db05c5f900dd89be220328b91d_2_690x197

And this is the troubleshooting steps written on your your github page (which didn't work for me because ibus is installed by default in Fedora 38 unless i'm misunderstanding something and sudo dnf install ttf-ancient-fonts-symbola didn't work either... because i'm on Fedora, but I had to try atleast XD): 2e77ee3730273ac7f206f02de06f12a52533a8d0

Environment (please complete the following information): 622198d0507d4feb70904f41bdbd2d0a96fef24e

Additional context Have you been running your system for a while, or is it a fresh installation? I'm originally a Windows 10 user and have done a dual boot config with Fedora 38 using this tutorial: https://www.techhut.tv/how-to-dual-boot-fedora-and-windows-11/

Are you running any other extensions that might interfere with on-screen keyboard? Application menu and User themes

Does journalctl /usr/bin/gnome-shell -f -o cat show any errors?

(../clutter/clutter/clutter-actor.c:11966):clutter_actor_event: runtime check failed: (retval == CLUTTER_EVENT_PROPAGATE) (../clutter/clutter/clutter-actor.c:11966):clutter_actor_event: runtime check failed: (retval == CLUTTER_EVENT_PROPAGATE) (../clutter/clutter/clutter-actor.c:11966):clutter_actor_event: runtime check failed: (retval == CLUTTER_EVENT_PROPAGATE) (../clutter/clutter/clutter-actor.c:11966):clutter_actor_event: runtime check failed: (retval == CLUTTER_EVENT_PROPAGATE) (../clutter/clutter/clutter-actor.c:11966):clutter_actor_event: runtime check failed: (retval == CLUTTER_EVENT_PROPAGATE) (../clutter/clutter/clutter-actor.c:11966):clutter_actor_event: runtime check failed: (retval == CLUTTER_EVENT_PROPAGATE) (../clutter/clutter/clutter-actor.c:11966):clutter_actor_event: runtime check failed: (retval == CLUTTER_EVENT_PROPAGATE) (../clutter/clutter/clutter-actor.c:11966):clutter_actor_event: runtime check failed: (retval == CLUTTER_EVENT_PROPAGATE) (../clutter/clutter/clutter-actor.c:11966):clutter_actor_event: runtime check failed: (retval == CLUTTER_EVENT_PROPAGATE)

meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed

Can you see any errors in looking glass? (Press Alt + F2, enter lg, switch to "extensions" tab and click "show errors" for Improved OSK extension) Doesn't show any errors

Thedinotamer commented 1 year ago

After switching to extension manager and installing that way i get this from journalctl /usr/bin/gnome-shell -f -o cat:

Telepathy is not available, chat integration will be disabled. loading default theme (Adwaita) Tried to remove not registered resource Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation Failed to set the markup of the actor '[:0x5610265c3910]': Error on line 1 char 14: “<” is not a valid name Failed to set the markup of the actor '[:0x5610265cdb70]': Error on line 1 char 14: “<” is not a valid name GNOME Shell started at Sun Jun 04 2023 17:36:05 GMT+0200 (Central European Summer Time) Registering session with GDM JS ERROR: Error: GSettings schema org.freedesktop.ibus.engine.typing-booster not found _init@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:753:23 setCompletionEnabled@resource:///org/gnome/shell/misc/ibusManager.js:368:13 close@resource:///org/gnome/shell/ui/keyboard.js:1947:38 close@resource:///org/gnome/shell/ui/keyboard.js:1260:28 toggleOSK@/home/albin/.local/share/gnome-shell/extensions/improvedosk@nick-shmyrev.dev/extension.js:67:70 _init/<@/home/albin/.local/share/gnome-shell/extensions/improvedosk@nick-shmyrev.dev/extension.js:50:11

meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed

ReinPeacock commented 1 year ago

Same issue with Debian 12, GNOME 43.4

henrik-farre commented 1 year ago

@Thedinotamer are you using one of the languages with extended keys? I'm using dk layout and I also don't have the extra keys. I changed the https://github.com/nick-shmyrev/improved-osk-gnome-ext/blob/master/src/data/osk-layouts/dk.json file and build/installed the extension to get it to show up.

I do not think the typing-booster errors matter, although I have installed it to get rid of the error.

Thedinotamer commented 1 year ago

@henrik-farre I'm using the swedish keyboard layout. What do you mean by changing the json file for the corresponding language? Or more correctly, what did you change?

and build/installed the extension to get it to show up

I'm guessing you mean that you uninstalled and then reinstalled the extension?

henrik-farre commented 1 year ago

I cloned this repo and copied the us-extended.json to the dk.json file, and just added æøå, it does not look pretty but it works :)

I uninstalled the extension from extensions.gnome.org and followed the instructions in the README.md to install the modified version.

RalphBariz commented 7 months ago

I also face this issue with a german keyboard. However I cannot confirm, that de.json would be the problem. If I overwrite us.json and us-extended.json with de.json, install and switch to us layout I get a perfect german on screen keyboard. To me it seems there is a problem with loading the correct layout. Will further investigate this issue and submit a patch (do not see the need to fork this repo, especially since I refuse to host code on github)

jimjamz commented 3 months ago

Debian 12, GNOME 43.9 and this is still an issue, even when only using English (US) keyboard layout.