-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding GTK4 IM modules to support IME frameworks in Wayland #106
Comments
Is there a bug filed for the runtime to add this yet? I wouldn't mind adding it here if there's no plans to add it to 21.08 / has an undefined timeline, but if it's coming relatively SOON(tm) I don't want to end up with an accidentally slightly incompatible version or something. |
No, I haven't reported it myself and didn't see a relevant bug report. I wasn't sure if the devs would agree to add GTK4 and other libraries to the An extension that can be reused seems like a good temporary solution until the I haven't looked at IBus yet, so I can't comment about it. Anyway, I hoped to get here some feedback, and maybe move this extension solution forward. Note the existing issues:
|
I added the GTK4 IBus IM module, and at first glance it works correctly, even though Fcitx5 has a IBus backend, so it's possible to use the IBus IM module with the Fcitx5 daemon. |
I looked at this again today, and confirmed that Chrome uses GTK4 at least also for the system printing popup window. The handful Chromium based browsers and CEF based apps can build and package GTK4, the IM modules, and printing backends, if needed. I updated the packaging, and now it's pretty minimal, building and installing just needed dependencies and features. Other possible changes that can be made:
If it's decided to bundle GTK4 and the IM modules in the app, then I can send a PR. |
I've been testing with Chrome dev builds, so I haven't noticed that we need to wait for Chrome 97, so a PR with my changes won't help much without switching release channel. I sent a PR to the Edge app, and it's working there, as the Beta channel is on 97. CUPS backend is also packaged now and working. |
Oh! Stable due date is today. I'll send a PR. |
Closing in favor of adding to Chromium base app. |
This should be fixed in the runtime, but a proof-of-concept, I created an extension that adds the IM modules to test this new feature.
You would need first to build and install the base app, as the extension need to be mounted somewhere during build time.
And then you can build the extension.
Only Fcitx5 modules were added. Maybe I'll try adding IBus later.
Changes needed to the app:
/app/immodules
--env=GTK_PATH=/app/lib/gtkmodules:/app/immodules
in thefinish-args
arrayChrome should be started with the flag
--gtk-version=4
The text was updated successfully, but these errors were encountered: