#156 enabling @input-methods
Opened 2 years ago by petersen. Modified a year ago

Recently the i18n team spent some time getting imsettings/im-chooser to work well again allowing ibus to be setup easily once installed in KDE for both Plasma Wayland and Xorg

We would really like to see the @input-methods package group enabled for the KDE Plasma spin.
It would be great to have that from F36 at least.

(It is a lot easier to remove ibus than post-install it: if it is pre-installed IMEs get setup automatically for CJK locales etc, but choosing the right packages by hand it a lot trickier and requires restarting or even rebooting to work correctly.)


Metadata Update from @ngompa:
- Issue set to the milestone: Fedora Linux 36
- Issue tagged with: experience, meeting

2 years ago

I don't have a problem with this, but we'll discuss it in today's KDE SIG meeting to confirm.

@fujiwara Ping for input on this issue.

I'm a user trying to get Japanese input working on Kinoite and was directed to this.

imsettings package is missing from Fedora Kinoite 35.20211212.0:

imsettingsmissing.png

I don't see a "input-methods" package listed on: https://src.fedoraproject.org/projects/rpms/%2A so I'm not what to look for on my system. Other packages that seem to be required, ibus-anthy and anthy-unicode, are installed, but I don't have the "Japanese (Anthy)" layout option that it sounds like should exist going by: https://libredd.it/r/Fedora/comments/prbjku/using_japanese_kana_input_in_fedora_34/

Just to make it easier for anyone to pull package list from Kinoite since it currently isn't documented well. You may need to edit your Konsole Profile settings' Scrolling config to allow longer scrollback:

rpm-ostree status
(Copy BaseCommit value)
rpm-ostree db list <BaseCommit value>

Could it be because fedora-kde-minimization.ks excludes @input-methods?
At least that would explain why the most current KDE Live spins don't actually include any ibus IMEs
(like ibus-anthy, ibus-hangul, ibus-libpinyin etc).

(The IMEs are in Kinoite though.)

Probably this re-ordering would fix the problem:

diff --git a/fedora-live-kde.ks b/fedora-live-kde.ks
index cc5c1df..20d7e84 100644
--- a/fedora-live-kde.ks
+++ b/fedora-live-kde.ks
@@ -7,9 +7,9 @@
 # - Sebastian Vahl <fedora@deadbabylon.de>
 # - Fedora KDE SIG, http://fedoraproject.org/wiki/SIGs/KDE, kde@lists.fedoraproject.org

-%include fedora-live-kde-base.ks
 %include fedora-live-minimization.ks
 %include fedora-kde-minimization.ks
+%include fedora-live-kde-base.ks

 # DVD payload
 part / --size=7200

We probably want to keep the order, but we can drop the -@input-methods from kde-minimization kickstart.

Also I think the imsettings change should also be added to https://pagure.io/workstation-ostree-config/blob/main/f/kde-desktop-pkgs.yaml ?

https://src.fedoraproject.org/rpms/ibus-qt/blob/rawhide/f/ibus-qt.spec > Looks like we need to update this one to build against Qt5 instead

https://src.fedoraproject.org/rpms/ibus-qt/blob/rawhide/f/ibus-qt.spec > Looks like we need to update this one to build against Qt5 instead

Does that mean what I think it does? That there is currently no ibus plugin for Qt5 in Fedora?

That would explain https://pagure.io/fedora-kde/SIG/issue/166 (assuming the author is on X11)

https://src.fedoraproject.org/rpms/ibus-qt/blob/rawhide/f/ibus-qt.spec > Looks like we need to update this one to build against Qt5 instead

Does that mean what I think it does? That there is currently no ibus plugin for Qt5 in Fedora?

That would explain https://pagure.io/fedora-kde/SIG/issue/166 (assuming the author is on X11)

actually Qt5 ships ibus integration itself: https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforminputcontexts/ibus

So I guess https://src.fedoraproject.org/rpms/ibus-qt/blob/rawhide/f/ibus-qt.spec is obsolete then

actually Qt5 ships ibus integration itself: https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforminputcontexts/ibus

So I guess https://src.fedoraproject.org/rpms/ibus-qt/blob/rawhide/f/ibus-qt.spec is obsolete then

Oh, I remember a discussion about that but I don't remember the conclusion :confused:. I'm completely unfamiliar with that stack.

actually Qt5 ships ibus integration itself: https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforminputcontexts/ibus

That is correct: qt5 supports ibus natively upstream.

I think ibus-qt4 is still needed for qt4 apps, but it could be installed as a weak dependency perhaps.

We probably want to keep the order, but we can drop the -@input-methods from kde-minimization kickstart.

Okay I can open a PR to that effect - that would make fedora-kde-minimization.ks redundant basically.

Assuming the other KDE derived spins (I don't know how many are active) are okay with including input-methods.

I've merged them, thanks! Let us know with the next compose whether that resolves this issue.

Yes it does, but there seem to be some issues with the ibus applet in Wayland that we are going to look into.

https://pagure.io/workstation-ostree-config/pull-request/281

Please let me know when this makes it to a published branch and I can test on Fedora Kinoite 36 the "Japanese (Anthy)" not being listed out of the box like SilverBlue, or rebase to some testing branch of Kinoite briefly.

Merged https://pagure.io/workstation-ostree-config/pull-request/282 today. Should be in F36 tomorrow or Monday.

Should be fixed in the next build. If some packages are still missing, feel free to re-open and we will add them.

Metadata Update from @siosm:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

It looks like the panel is now launched on Kinoite by default, which is not great.

Metadata Update from @siosm:
- Issue status updated to: Open (was: Closed)

2 years ago

Might revert that for F36 (keeping it in Rawhide).

Metadata Update from @siosm:
- Issue untagged with: meeting

2 years ago

Metadata Update from @siosm:
- Issue tagged with: meeting

2 years ago

Metadata Update from @siosm:
- Issue untagged with: meeting

2 years ago

F36 revert until we have better support: https://pagure.io/workstation-ostree-config/pull-request/283

Is there an issue/bug report for the support needed with KDE Frameworks or wherever the support is needed so it has visibility to the relevant KDE/Fedora resources?

The environment variables are set automatically by imsettings if you have the imsettings-systemd package installed. However, from what @apol tells me, we shouldn't need to do it that way for Plasma Wayland if everything is working properly.

As for kimpanel, I don't recognize it, does it still exist in Plasma 5?

Here's kimpanel:
https://invent.kde.org/plasma/plasma-desktop/-/tree/master/applets/kimpanel/

AFAIK, it's still needed to provide UIs that integrate properly.

Ping. This was set for Fedora 36. Is it still an issue?

Metadata Update from @justinz:
- Issue set to the milestone: None (was: Fedora Linux 36)

a year ago

Ping. This was set for Fedora 36. Is it still an issue?

I still see this as an issue for Fedora Kinoite 37.20230103.0, Fedora KDE's sibling. "Japanese (Anthy)" is not a listed option on Kinoite out of the box like it is for SIlverblue. This is also repeatable with brand new installs of Fedora Kinoite 37.

I would expect "Japanese (Anthy)" to be an option given it shows up in Silverblue as a layout and ibus-anthy is the default IME for Japanese as of Fedora 34: https://fedoraproject.org/wiki/Changes/ibus-anthy_for_default_Japanese_IME

If there's any logs, etc you'd like me to do to help determine root cause I'm happy to do so.

Login to comment on this ticket.

Metadata
Attachments 1
Attached 2 years ago View Comment
Related Pull Requests
  • #282 Merged 2 years ago
  • #281 Merged 2 years ago