Last modified: 2012-11-30 12:16:16 UTC
Created attachment 11279 [details] IME icon stays on page when inputfield is removed. This bug is related to Wikidata. It can be reproduced on http://wikidata-test-repo.wikimedia.de/wiki/Q6. * Click on "edit" in the aliases (also known as) section. The IME icon is displayed. * Click on "cancel" to close the edit mode. The icon will remain on the page until you focus on another input field. This behaviour is true for all edit sections on Wikidata. Also see the attached screenshot.
It seems like the IME feature uses the focus event of all inputboxes to display the tool. The blur event though is not used to remove the tool again. In some cases this behavior might even be desired though. (e.g. if you have another toolbar where pressing a button related to the input box should not trigger the IME to disappear) The IME should probably come with a clear API to allow nicer integration in different UI scenarios. We also have some input boxes which grow when the user enters stuff (aliases). IME will probably never work nicely there if there isn't a way to control it. What we would need here would be the ability to manually trigger a 'redraw' which would re-calculated the displaying position of the IME. Alternatively, the IME could register to our custom 'eachchange' DOM event, this would be twisted dependencies though.
This was an issue when input method is hidden too. I hope gerrit I18e18243 fixes it. We wanted to avoid input fields not aware of IME apis as far as possible. This issue was present in preference page too. When focus is in a field like Real name, and switch to another tab of preference screen, IME icon was visible. but not happening now.
Q6 doesn't exist anymore... Cannot reproduce for "Helium" entry on http://wikidata-test-repo.wikimedia.de/wiki/Q5148?uselang=en with Firefox 16.0.2.
it's fixed.