mike-fabian / ibus-typing-booster

ibus-typing-booster is a completion input method for faster typing
https://mike-fabian.github.io/ibus-typing-booster/
Other
232 stars 16 forks source link

[BUG] If a display of related emoji or words is requested, the lookup table should *always* be shown *immediately*. #350

Closed mike-fabian closed 2 years ago

mike-fabian commented 2 years ago

Requesting related emoji by clicking with the right mouse on an emoji candidate should always show the lookup table with the related emoji even if using inline completion mode “Yes, without fallback to lookup table”.

When using inline completion mode “Yes, without fallback to lookup table” and typing for example camel_ which ends with the emoji trigger key _, no lookup table pops up automatically because of “Yes, without fallback to lookup table”.

But the lookup table can be explicitely requested by typing the key bound to select_next_candidate (Tab key by default).

When the lookup table then shows it might show something like

1 camel ✔️ 🇺🇸 🇬🇧 2 camels ✔️ 🇺🇸 🇬🇧 3 camelle ✔️ 🇫🇷 4 🐫 bactrian camel 5 🐪 dromedary camel

Now a right mouse click on “4 🐫 bactrian camel” requests to show related emoji. The lookup table is now filled with related emoji but not shown by default because no candidate was selected yet and the inline completion mode is “Yes, without fallback to lookup table”. Selecting the first candidate by using the key bound to select_next_candidate (Tab key by default) shows the related emoji.

1 🐫 bactrian camel 2 🐪 dromedary camel 3 🐐 goat 4 🐑 sheep 5 🐘 elephant 6 🐏 ram

Now a right mouse click on “6 🐏 ram” fills the lookup table with emoji related to “🐏 ram” but it disappears again and only after typing the key bound to select_next_candidate one sees:

1 🐏 ram 2 🐑 sheep 3 🐐 goat 4 🐂 ox 5 🐍 snake 6 🐟 fish

because now the first candidate is selected.

This is very confusing and inconvenient, if a display of related emoji or words is requested, the lookup table should always be shown immediately.

mike-fabian commented 2 years ago

Video showing the problem:

https://user-images.githubusercontent.com/2330175/179710352-28b1e13a-8e4d-48f8-8bf9-7eaa79bcf94d.mp4