From a33e3eaf22664597499dbd3fdee9b7d9ba80d28f Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 16 Nov 2022 13:26:44 +0100 Subject: [PATCH] keyboard: Ensure completion is disabled when OSK is destroyed If the OSK is destroyed while visible without being close()'d first, the completion mode might remain turned on. Ensure it is turned off on OSK destruction so that typing-booster has no chance to remain turned on. Part-of: --- js/ui/keyboard.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 78c024524..b3c4cbe32 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1388,6 +1388,8 @@ var Keyboard = GObject.registerClass({ this._languagePopup.destroy(); this._languagePopup = null; } + + IBusManager.getIBusManager().setCompletionEnabled(false, () => Main.inputMethod.update()); } _setupKeyboard() {