From 02e5029eb68616059cd0f5d1164d5d4977c01acf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 26 Nov 2021 20:01:40 +0100 Subject: [PATCH] window-list: Fix OSK The reveal animation moved from Main.layoutManager.keyboardBox to the keyboard itself, so instead of applying an additional translation for the bottom panel, we override the translation that would reveal the keyboard (and thus prevent it from showing altogether). Fix this by moving our translation to the keyboardBox instead. Part-of: --- extensions/window-list/extension.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js index b97a2820..c2488ad9 100644 --- a/extensions/window-list/extension.js +++ b/extensions/window-list/extension.js @@ -925,11 +925,8 @@ class WindowList extends St.Widget { } _updateKeyboardAnchor() { - if (!Main.keyboard.keyboardActor) - return; - - let translationY = Main.overview.visible ? 0 : this.height; - Main.keyboard.keyboardActor.translation_y = -translationY; + const translationY = Main.overview.visible ? 0 : this.height; + Main.layoutManager.keyboardBox.translation_y = -translationY; } _onAppStateChanged(appSys, app) {