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




commit cd9c2b4b0ef33e5d38c233755589a13e0d87e48d
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 c57e289cbb..e2ae132ec2 100644
--- a/js/ui/ibusCandidatePopup.js
+++ b/js/ui/ibusCandidatePopup.js
@@ -293,6 +293,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]