nick-shmyrev / improved-osk-gnome-ext

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

Dollar sign prints as number four when using Swiss German keyboard layout #15

Open Juppstein opened 2 years ago

Juppstein commented 2 years ago

Using Ubuntu Impish Indri on a Lenovo Ideapad C314

nick-shmyrev commented 2 years ago

Sorry, I couldn't reproduce this in a VM with fully updated Ubuntu 21.10. I've tried it with the following layouts:

Were you using one of those layouts, or something different? Have you been running your system for a while, or is it a fresh installation? Are you running any other extensions that might interfere with the keyboard? Does journalctl /usr/bin/gnome-shell -f -o cat show any errors? 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). Does this happen every time you press $ on the on-screen keyboard, or only after you perform certain actions, or perhaps while using some specific application?

Juppstein commented 2 years ago

The input source is German(Switzerland) in Systen Settings/Keyboard Its a rather new installation, about 3 months old and only upgraded once from Ubuntu Hirsute to Impish

No serious errors in gnome log:

Window manager warning: 0x3600003 appears to be one of the offending windows with a timestamp of 9919301. Working around... Window manager warning: 0x2400006 appears to be one of the offending windows with a timestamp of 9395294. Working around... Window manager warning: W38 appears to be one of the offending windows with a timestamp of 9619288. Working around... Window manager warning: last_focus_time (9952368) is greater than comparison timestamp (9953). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around... Window manager warning: 0xc0002b appears to be one of the offending windows with a timestamp of 5812172. Working around... Window manager warning: 0x3600003 appears to be one of the offending windows with a timestamp of 9944158. Working around... Window manager warning: 0x2400006 appears to be one of the offending windows with a timestamp of 9395294. Working around... Window manager warning: W38 appears to be one of the offending windows with a timestamp of 9619288. Working around... Window manager warning: W40 appears to be one of the offending windows with a timestamp of 9952368. Working around...

Those are the only gnome extensions I have installed:

Bluetooth battery indicator by michalwanat Desktop Icons NG (DING) by rastersoft Improved OSK by NickShmyrev Screen Autorotate by kosmospredanie

Looking glass shows no errors

it happens every time I try to write a dollar sign.

What is strange as well is that the layout has y and z switched even though German Switzerland is defined

Juppstein commented 2 years ago

Correction: so far it works as intended in gedit, firefox and libre office. it doesn not work in Chrome, terminal, steam client and visual studio code