[gnome-shell/wip/carlosg/osk-updates: 22/25] ibusCandidatePopup: Clear OSK completion box on hide-panel hint
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/osk-updates: 22/25] ibusCandidatePopup: Clear OSK completion box on hide-panel hint
- Date: Fri, 22 Apr 2022 21:55:29 +0000 (UTC)
commit 62adbfa1b943f6eac4c103e852a28f9f640a3e01
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Apr 22 20:23:21 2022 +0200
ibusCandidatePopup: Clear OSK completion box on hide-panel hint
This is necessary to clear the suggestions panel after e.g. commit.
Since for OSK purposes we cannot invoke the panel again and future
editions trigger a new lookup table, we are fine with just clearing
the suggestion box here.
js/ui/ibusCandidatePopup.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/js/ui/ibusCandidatePopup.js b/js/ui/ibusCandidatePopup.js
index 22bff9f9e0..32594a32c2 100644
--- a/js/ui/ibusCandidatePopup.js
+++ b/js/ui/ibusCandidatePopup.js
@@ -295,6 +295,7 @@ class IbusCandidatePopup extends BoxPointer.BoxPointer {
this._updateVisibility();
});
panelService.connect('hide-lookup-table', () => {
+ Main.keyboard.resetSuggestions();
this._candidateArea.hide();
this._updateVisibility();
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]