moritz-weber / mucke

mucke - android music player
GNU General Public License v3.0
226 stars 12 forks source link

Search box collapses mozc keyboard dictionary #173

Open empathicqubit opened 7 months ago

empathicqubit commented 7 months ago

Describe the bug When typing Japanese with mozc keyboard, the suggestions vanish. This makes the keyboard unusable as Kanji can't be typed.

To Reproduce

  1. Install mozc
  2. Search for a song such as 新世界 by bump of chicken (しんせかい phonetically)
  3. The text remains underlined as if it's still in input mode, but the dictionary slides off the screen after each keypress.

Expected behavior The dictionary stays visible so the Kanji can be selected.

Screenshots Actual Screenshot_20240307-205641_mucke Expected Screenshot_20240307-205711_Dateien

Smartphone (please complete the following information):

Additional context I started using mucke when I was looking for a replacement to MaxFour Music, because it was really old and playlists were broken. Love this project! ❤

FriederHannenheim commented 7 months ago

Can you try with other keyboards please. This might be a bug in mozc since suggestions are enabled by default for textboxes and I looked at the code and there seems nothing disabling it.

empathicqubit commented 7 months ago

Which other keyboard should I try? I don't know any other open source ones for Japanese

FriederHannenheim commented 7 months ago

It doesn't need to be a Japanese keyboard. Just check if it has suggestions and if they appear when you're using the search box

empathicqubit commented 7 months ago

Okay that makes sense. AOSP keyboard shows suggestions for English and German. Screenshot_20240307-212803_mucke

empathicqubit commented 7 months ago

One thing that's different with the Japanese keyboard is that pressing enter deselects the current suggestion context, while the other keyboards follow the word near the cursor. Not sure if that could be causing an issue.

FriederHannenheim commented 7 months ago

I don't know how the Japanese keyboard works so I can't help you. I'm pretty sure the issue is not in Mucke. You can maybe try looking in the keyboard settings if you can find a toggle to always show suggestions or something like that

empathicqubit commented 7 months ago

Do you want me to submit a PR to fix it? It works fine in other apps as I demonstrated. With Japanese it doesn't make sense to always show suggestions.