[gnome-shell/wip/carlosg/osk-updates: 23/26] ibusCandidatePopup: Clear OSK completion box on hide-panel hint




commit b83e7873e64cf8c0a52c845a0ce199c53870c0c4
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]