﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
528	Chinese text input in tags doesn't work as expected	d@…	framm	"When trying to enter Chinese text in a tag the autocomplete doesn't work as expected. This is on Windows with Metal theme, not sure if other platforms have the same problem.

Things required to reproduce...
1) A Chinese IME installed, the standard windows Pinyin one will do.
2) An open dataset with Chinese in, e.g. Hangzhou at 30.274/120.158

Steps to reproduce
1) Choose an object with no name
2) Click Add under properties to add a tag
3) Type name in Key
4) In Value, switch the Chinese input, shift-alt or ctrl-space are defaults depending on what language mode you are in, alternatively use the language bar...
5) Start typing a name that exists in the data, such as 文三路 (wen san lu)...

typing wen shows the characters wen displayed strong highlighted in the input box with the character chooser below it, choose 2 for 文, it'll then autocomplete with something that starts with 文, e.g. 文一西路 (wen yi xi lu), at this point, 文 is unselected, but the remaining characters are selected (highlighted), we should be able to just type 三 (san) at this point to enter the next character, typing san, shows the characters san appear after the entire autocompleted string, choosing 1 from the IME, for 三 gives us 文一西路三, all we've typed is wen and san, the first and last characters, the bit in between is autocomplete that hasn't been overwritten by 三. So, seeing this, I delete the 三 (san) off the end, put the cursor directly after the 文 (wen) and try to type 三 (san) here, inserting between 文 and 一西路 that came from auto completion... What I get after typing 's' is 文s一西路 with the s with a strong highlight and the 一西路 with a lighter highlight, looking OK, then when continue and type 'a' after the 's' what I get is 文s一西sa, with 一西 light highlighted, the 'sa' at the end strong highlighted, there are now two 's', only one was typed, also, of the three characters from autocomplete, 一 (yi (one)) 西 (xi (west)) and 路 (lu (road)) only two are left, the last one, 路 (lu), has vanished... Complete the entry of 三 and it ends up as 文s一西三...

I think that's enough to get the idea, make it somewhat interesting to work with... "	defect	closed	major		Core	tested	fixed		
