tiliado / nuvolaplayer

Nuvola Player - Tight integration of web-based media streaming services with your desktop
https://nuvola.tiliado.eu/
BSD 2-Clause "Simplified" License
334 stars 27 forks source link

Support input method #662

Closed cognition9144 closed 2 years ago

cognition9144 commented 4 years ago

Is your feature request related to a problem? Please describe:

When searching (e.g. in Spotify) in CJK languages, it's not possible to input keywords directly in Nuvola apps so far.

Describe the solution you'd like:

Probably it's related to CEF. Some disscussions are made in https://bitbucket.org/chromiumembedded/cef/issues/1813/cef-does-not-work-with-imes-on-linux. But cef is deprecated by nuvola now. Hopefully QtWebEngine supports IME natively.

Describe alternatives you've considered:

A clear and concise description of any alternative solutions or features you've considered.

Additional context:

Add any other context or screenshots about the feature request here.

jiri-janousek commented 4 years ago

Hello @xcffl, indeed, I'll look at it once QtWebEngine port is complete.

jiri-janousek commented 4 years ago

This will be fixed in the QtWebWengine port of Nuvola in #583. The work-in-progress components Wayland Embedded View Framework Server and Wayland Embedded View Framework Client use the basic GTK+ 3 IM context to support dead keys (´ + a = á, etc.), but more work must be done to support CJK languages.

cognition9144 commented 3 years ago

I think I'll need some time to get familiar with how to integrate IM context. I suppose https://developer.gnome.org/gtk3/stable/GtkIMContext.html isn't sufficient. Can you suggest any materials or reference implementation that might enlight me?

jiri-janousek commented 3 years ago

I don't know whether GtkIMContext is sufficient or not. I haven't explored inputting CJK languages in detail yet.

cognition9144 commented 3 years ago

Well, but is the Client ready to use (as a demo)? If not, please remind me if it's usable and I'll figure out. Thanks.

jiri-janousek commented 3 years ago

Well, but is the Client ready to use (as a demo)? If not, please remind me if it's usable and I'll figure out. Thanks.

Not yet.

cognition9144 commented 3 years ago

Sorry there's a typo. I mean when it's usable, please remind me, because to my understanding QtWebEngine natively supports IME. But perhaps it's not the case, as it's embedded through a server.

jiri-janousek commented 2 years ago

I'm closing this ticket as Nuvola Player has discontinued active development. We are going to provide only integration bug fixes on a best-effort basis until the final End-of-Life on December 31, 2022. I'm sorry that I haven't managed to resolve this ticket in time.