gnome-shell/js/misc
Carlos Garnacho ecc3cf8ab1 inputMethod: Manually reset input context state before unfocus
The IBusInputContext currently seems to be a bit sloppy wrt propagating
the current state to engines after those are changed, this results in
engines possibly ending with purpose/hint/etc that do not actually
correspond to the current state.

Ensure this state is cleared on unfocus of our IBusInputContext, so
that the next time the input method receives an input focus, the new
state makes it all the way to the currently active engine.

Fixes situations in the GDM/lock screen password entry that IBus
would miss the PASSWORD hint set on the StEntry, and let passwords
be fed to engines.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5966
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2512>
2022-10-26 10:00:37 +00:00
..
config.js.in config: Check for new required GnomeBluetooth API 2022-09-03 15:05:57 +00:00
dbusUtils.js dbusServices: Refactor service utilities from fileUtils into dbusUtils 2022-07-05 03:41:41 -04:00
extensionUtils.js extensionUtils: Add utility for setting the current extension 2022-07-06 13:40:44 -04:00
fileUtils.js dbusServices: Refactor service utilities from fileUtils into dbusUtils 2022-07-05 03:41:41 -04:00
gnomeSession.js endSessionDialog: Only show logout inhibiting apps 2021-02-24 15:31:03 +00:00
history.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
ibusManager.js ibusManager: Make more resilient to completion/engine independent changes 2022-10-26 10:00:37 +00:00
inputMethod.js inputMethod: Manually reset input context state before unfocus 2022-10-26 10:00:37 +00:00
introspect.js introspect: Add WindowsChanged signal 2022-03-08 16:31:20 +00:00
jsParse.js cleanup: Remove empty leading/trailing lines in blocks 2020-11-16 18:04:23 +00:00
keyboardManager.js keyboard: Fix display keyboard layout crash with some input methods 2021-03-29 09:33:45 +00:00
loginManager.js loginManager: Fix canRebootToBootLoaderMenu() result 2022-09-06 20:57:49 +00:00
meson.build config: Check runtime dependencies at runtime 2022-05-20 12:00:22 +00:00
modemManager.js cleanup: Use deepUnpack() intead of deep_unpack() 2022-08-10 10:29:24 +00:00
objectManager.js objectManager: Simplify fetching of remote objects 2022-08-01 18:51:14 +00:00
params.js cleanup: Only omit braces for single-line blocks 2019-11-11 19:25:14 +00:00
parentalControlsManager.js parentalControlsManager: Be less verbose on the logs 2022-02-18 22:05:16 +00:00
permissionStore.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
signals.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
signalTracker.js signalTracker: Remove SignalTracker after its last signal got untracked 2022-09-03 15:11:46 +00:00
smartcardManager.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
systemActions.js loginManager: Return objects instead of multiple booleans 2022-08-01 20:58:37 +02:00
util.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
weather.js cleanup: Use deepUnpack() intead of deep_unpack() 2022-08-10 10:29:24 +00:00