Filter input field in playlist doesn't work well with IME

Issue description:

In the playlist view, the filter input doesn’t work well when using non-English IME, in my case when trying to type Japanese using Gboard, as soon as the pending text matches nothing in the playlist, the text is forced committed, which makes it impossible to type some of the search word.

Also the playlist list become weird after deleting those filter text.

Note that this only happens on this particular filter field. Tried the search tab and the filter in files view and neither have the same issue.

Logs:

Upload description: Darkpi2

Additional information:

 Not provided 

Reproduction steps:

  • Open any playlist
  • Click “filter”
  • Switch to Japanese IME and type anything that doesn’t match any song
    The pending text is being forced committed (As in the recording, the underline disappeared)
  • Remove the typed word and playlist is in a weird “double” state.

Screen recording: https://photos.app.goo.gl/5U3bNUZCAzZcZYBfA

Media provider:

Local device

Screenshots:

     

Thanks nice Compose bug :frowning: Will add a workaround for next release.

1 Like

Can confirm that this is fixed for me on 7.2.0B2. Thanks for the super quick fix!

A similar bug is happening with 11.1.0(127206).
Seems it happens when the number of results is less than some threshold.

Here is a gif showing expected behavior with “あけ” and bugged with “かけ”
output
The log file has been uploaded as “jp_v11”

From the tests I have run, the smallest result count in correct cases is 61 and the largest count in bug cases is 37.

I also noticed that this only happens with Gboard. Swiftkey worked fine with all test inputs I tried.

1 Like

Open your own issue this is different and I do not see what’s wrong in the gif.