gjs-osk icon indicating copy to clipboard operation
gjs-osk copied to clipboard

Layout doesn't change

Open ralex2304 opened this issue 1 year ago • 6 comments

Keyboard layout appearance on OSK doesn't change when I switch it (both via Super+Space and gnome GUI). However, correct symbols are typed. So I think problem is in refresh condition. It seems that "org.gnome.desktop.input-sources.current" index is deprecated.

Details:

  • Gnome 46, Wayland
  • Arch Linux
  • Keyboard layouts: US, RU

ralex2304 avatar Aug 06 '24 13:08 ralex2304

I have the same issue

olekyd avatar Aug 13 '24 01:08 olekyd

Same. The OSK only changes layout appearance when you change keyboard layout in the extension settings or when you modify something in the Input Sources settings. Fresh EndeavourOS installation, GNOME 46 (Wayland).

svff3r avatar Aug 13 '24 14:08 svff3r

Seems that this is an arch-specific issue - will look into this in a little bit - moving into college

Vishram1123 avatar Aug 14 '24 15:08 Vishram1123

It seems that it works on arch, what version are you using @olekyd @ralex2304 @svff3r?

Vishram1123 avatar Sep 23 '24 15:09 Vishram1123

It seems that "org.gnome.desktop.input-sources.current" index is deprecated.

The extension doesn't make use of this key

Vishram1123 avatar Sep 23 '24 15:09 Vishram1123

It seems that it works on arch, what version are you using @olekyd @ralex2304 @svff3r?

GJS OSK version 27 autorelease fab8e97 (I also tried latest 2506a86). Gnome 46.4

It seems that "org.gnome.desktop.input-sources.current" index is deprecated.

The extension doesn't make use of this key

I'm not sure about it, but I've found this:

https://github.com/Vishram1123/gjs-osk/blob/2506a863b277339805519bca06d1b101cf92eb32/gjsosk%40vishram1123.com/extension.js#L133

As far as I understand all keys of org.gnome.desktop.input-sources don't change on layout switch

ralex2304 avatar Sep 24 '24 18:09 ralex2304

It seems that this key was indeed deprecated; I have switched to using Gnome's built-in InputSourceManager instead of relying on the GSettings key in https://github.com/Vishram1123/gjs-osk/commit/a20e64425c42edb8dc27b9eca042c79b6e92b7a9

Vishram1123 avatar Dec 15 '24 19:12 Vishram1123

Thanks! It works now

ralex2304 avatar Dec 15 '24 22:12 ralex2304