[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#983695: ibus-anthy: does not work out of the box on the GNOME desktop



On 2021-03-01 13:32, YOSHINO Yoshihito wrote:
So once ibus is installed on the GNOME desktop for some reason,
ibus is always preferred by default.
On the GNOME desktop, "non-ibus IM framework is installed and used by
default, switch to ibus if you want it" is no longer possible.
I wrote "breaks" in this sense.

Now I understand better. Thanks for explaining!

The current design of im-config is not set in stone, of course, but OTOH there is a reason for the limitation you mention.

GNOME relies on IBus, and IBus is the only IM framework supported by GNOME. So when you use a non-IBus framework you do it at your own risk. For that reason I think it makes sense that the user needs to actively select a framework to be able to use a non-IBus framework on a GNOME desktop.

It would be possible to change im-config so IM_CONFIG_PREFERRED_RULE is effective also with GNOME. But by doing so, Debian would make a choice behind the scenes resulting in a combination which is known to be fragile and break certain aspects of the desktop.

If I understand it correctly, your conclusion is to switch to IBus on GNOME by adding recommends to task-japanese-gnome-desktop and keep recommending uim packages in task-japanese-desktop. Personally I think that makes sense.

As regards your proposal in this bug report, it may be worth mentioning that Ubuntu uses another method to enable certain input methods out of the box. We do so via a patch in gnome-settings-daemon:

https://salsa.debian.org/gnome-team/gnome-settings-daemon/-/blob/ubuntu/master/debian/patches/ubuntu_ibus_configs.patch

Can't tell if a similar approach would make sense in Debian, but in any case it's too late in the cycle to consider it.

Your proposal, OTOH, seems possible to get in.

On 2021-03-01 15:25, Shengjing Zhu wrote:
I'm not a GNOME user. But reading this, I feel it's seriously broken.
GNOME shouldn't take over the responsibility of tasksel to decide
what the IM engine to use.
Japanese GNOME desktop users should continue to use uim if it's
prefered by Japanese users.
And Chinese GNOME desktop users should continue to use fcitx as
their default IM engine.

The GNOME (upstream) choice in this respect is unfortunate. A flexible design with support for multiple IM frameworks had of course been preferable. But they made their strategic decision several years ago, and we won't likely make them change their mind.

Given the circumstances it's not obvious to me that Debian should keep defaulting to non-IBus IM frameworks on GNOME. A user who wants to use e.g. a Fcitx IM basically have the choice to

1. actively select Fcitx on a GNOME desktop, and with that give up some features which GNOME only offers together with IBus, or

2. switch to some other desktop environment.

GNOME favors IBus, and Debian should relate to that IMO.

--
Cheers,

Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: