gnome-shell/js/misc
Ting-Wei Lan e08a4acd06 ibusManager: Fix the panel after porting to Promises
Commit 764527c8c9 not only ports this file
to Promises but also changes the behavior of _initPanelService method.
Instead of always calling _updateReadiness when _panelService is ready,
it only calls it when get_global_engine_async succeeds.

The only callers of _updateReadiness are _initEngines and
_initPanelService. Assume that _initEngines completes first. Its
_updateReadiness call keeps _ready as false and it is expected for
_initPanelService to change it to true. However, since
get_global_engine_async fails because there is no active engine,
_initPanelService never calls _updateReadiness. Therefore, all setEngine
calls do nothing because _ready is false, and the input method panel
never shows. Users are unable to use any input method even if they can
see that ibus-daemon is already running.

Fix the issue by changing it back to the old behavior.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1235
2020-05-03 23:26:39 +08:00
..
config.js.in networkAgent: Drop VPN plugin cache 2020-03-17 14:07:15 +00:00
extensionUtils.js extensionUtils: Add openPrefs() convenience method 2020-04-03 15:27:37 +02:00
fileUtils.js fileUtils: Remove some compatibility code 2020-03-09 13:18:48 +00:00
gnomeSession.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
history.js cleanup: Avoid unnecessary braces 2019-11-11 19:25:14 +00:00
ibusManager.js ibusManager: Fix the panel after porting to Promises 2020-05-03 23:26:39 +08:00
inputMethod.js js: Promisify async operations 2020-03-31 05:43:40 +00:00
introspect.js introspect: Add AnimationsEnabled property 2020-02-20 11:14:55 +00:00
jsParse.js cleanup: Don't linebreak before closing parentheses 2020-04-28 09:04:49 +00:00
keyboardManager.js shell/global: Add 'backend' property 2020-04-27 15:18:18 +00:00
loginManager.js js: Promisify async operations 2020-03-31 05:43:40 +00:00
meson.build networkAgent: Drop VPN plugin cache 2020-03-17 14:07:15 +00:00
modemManager.js modemManager: fixed dbus path for GDBusProxy 2020-03-19 12:23:26 +01:00
objectManager.js js: Promisify async operations 2020-03-31 05:43:40 +00:00
params.js cleanup: Only omit braces for single-line blocks 2019-11-11 19:25:14 +00:00
parentalControlsManager.js js: Add support for parental controls filtering to the desktop 2020-04-07 17:47:29 +02:00
permissionStore.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
smartcardManager.js cleanup: Avoid unnecessary braces 2019-11-11 19:25:14 +00:00
systemActions.js systemActions: include ASCII alternatives in search index 2020-04-25 13:55:20 +01:00
util.js util: Don't wiggle when animations are disabled 2020-02-22 16:38:43 +00:00
weather.js js: Promisify async operations 2020-03-31 05:43:40 +00:00