[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2024-04-03 Thread ԜаӀtеr Ⅼарсһуnѕkі
** No longer affects: lubuntu-default-settings -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928360 Title: Switch to Fcitx 5 for Chinese To manage notifications about this bug go to:

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-06-08 Thread handsome_feng
> @handsome_feng: Since Kylin will ship both fcitx 4 and fcitx 5 in 21.10, I'm > thinking that Kylin > would be a perfect platform for testing this input configuration. So it would > be good if you > could include some testing also of fcitx 5 and be attentive to possible > issues in light of

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-06-08 Thread Gunnar Hjalmarsson
** Changed in: snappy Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928360 Title: Switch to Fcitx 5 for Chinese To manage notifications about this bug go to:

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-06-08 Thread Gunnar Hjalmarsson
On 2021-06-08 08:54, James Henstridge wrote: >> Is there such a snap you could point me to so I can test? > > The candidate channel of the gedit snap is built with core20 and the > gnome-3-38-2004 platform snap. But as I said, I don't think that > platform snap currently includes the fcitx5

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-06-08 Thread James Henstridge
> Is there such a snap you could point me to so I can test? The candidate channel of the gedit snap is built with core20 and the gnome-3-38-2004 platform snap. But as I said, I don't think that platform snap currently includes the fcitx5 input module. -- You received this bug notification

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-06-08 Thread Gunnar Hjalmarsson
So it was changed in im-config. In Debian the change was uploaded to experimental instead of unstable/bullseye for now, since the principal fcitx package maintainer Shengjing Zhu senses some degree of uncertainty. He wants to give the users some time to provide feedback before changing it in

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-06-07 Thread Launchpad Bug Tracker
This bug was fixed in the package im-config - 0.47-1 --- im-config (0.47-1) experimental; urgency=medium * Team upload * Bug script tweaks [ Shengjing Zhu ] * Change IM_MODULE env for fcitx5 to "fcitx" (closes: #977203, LP: #1928360) -- Gunnar Hjalmarsson Mon, 07 Jun

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-06-05 Thread Gunnar Hjalmarsson
On 2021-06-05 06:32, James Henstridge wrote: > It's probably going to be easiest to see if we can get things > working with a core20 based platform snap though, since we have > fcitx5 packages there (albeit for a git prerelease version). Is there such a snap you could point me to so I can test?

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-06-04 Thread James Henstridge
I hadn't realised that they renamed the IM module with the version bump: that means snaps built against older platforms won't load the old (but working) Fcitx 4 module when run on a host system configured with Fcitx 5. We can certainly look at adding the new IM module to the platform snaps, but

Re: [apparmor] [Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-06-04 Thread Seth Arnold
On Sat, Jun 05, 2021 at 01:27:19AM -, Gunnar Hjalmarsson wrote: > It means that it explicitly looks for the fcitx 5 gtk im module, while > Chromium only has access to the fcitx 4 one. Oh! Excellent debugging to find the root cause. Thanks -- You received this bug notification because you

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-06-04 Thread Gunnar Hjalmarsson
I presented the snap problem for James Henstridge, and he gave me a very useful hint: The Chromium snap makes use of the bionic library stack (the gnome-3-28-1804 snap) including the im module installed by fcitx- frontend-gtk3, i.e. the fcitx 4 gtk im module. That made me think of

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-24 Thread Seth Arnold
Gunnar, indeed, it had much less in it than I expected; I don't know much about the snap packaging for Chromium, but it looked to me like it was trying to do bluetooth things and that's all that was denied. I'm no fcitx expert but I didn't think it looked related. Thanks -- You received this

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-23 Thread Gunnar Hjalmarsson
@Seth: I suppose that the DENIED file I attached in comment #7 does not help much. Fcitx 5 is a separate process, i.e. /usr/bin/fcitx5 as opposed to /usr/bin/fcitx. When in Chromium it behaves as if fcitx5 does not exist, even if the process runs and I can use fcitx5 in other applications. I

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-21 Thread Launchpad Bug Tracker
This bug was fixed in the package language-selector - 0.212 --- language-selector (0.212) impish; urgency=medium * data/pkg_depends: - Don't pull Fcitx for non-Chinese languages. This is consistent with the IM_CONFIG_PREFERRED_RULE variable in

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-20 Thread Gunnar Hjalmarsson
Thanks handsome_feng! The Kylin discussion makes me confident that it's fine for Lubuntu as well. The Lubuntu situation is different, though, since im-config is disabled by default unless a Chinese locale is in effect. This discourse topic comes to mind:

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-20 Thread handsome_feng
> Does this mean that the proposed changes to pkg_depends is fine from > an Ubuntu Kylin POV, and that no further changes are needed? Yes, Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-20 Thread Gunnar Hjalmarsson
On 2021-05-20 15:39, handsome_feng wrote: > With the fcitx items in the current seed, I think pkg_depends don't > need to pull in the fcitx 4 packages for Ubuntu Kylin 21.10, Ok, good. > also it's okay to pull in the fcitx 5 packages, since the im-config > will set the default input method to

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-20 Thread handsome_feng
Hi, With the fcitx items in the current seed, I think pkg_depends don't need to pull in the fcitx 4 packages for Ubuntu Kylin 21.10, also it's okay to pull in the fcitx 5 packages, since the im-config will set the default input method to fcitx 4 for Ubuntu Kylin 21.10? -- You received this bug

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-20 Thread Gunnar Hjalmarsson
@handsome_feng: Great! I have a follow-up question then: In the desktop seed of Ubuntu Kylin I see these packages: * (im-config) * (fcitx) * (fcitx-frontend-gtk2) * (fcitx-frontend-gtk3) * (fcitx-frontend-qt5) * (fcitx-ui-classic) * (fcitx-table) * (fcitx-module-cloudpinyin) *

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-20 Thread handsome_feng
> Would that plan make sense to you? This is a good way for us, we agree with it, thanks a lot! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928360 Title: Switch to Fcitx 5 for Chinese To

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-20 Thread Gunnar Hjalmarsson
@handsome_feng: I suppose it is possible. Of course it would have been desirable to do it in 21.10 to get more time to identify possible issues before next LTS, but OTOH I know that Sogou is considered important on Kylin. Thinking... Maybe we can have it both ways. :) What I mean is that we could

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-19 Thread handsome_feng
Hi, Gunnar, After talking to our partners such as Sogou, they want to postpone this migration until 22.04 so that they have enough time to work on the adaptation, is this possible? Thanks, handsome_feng -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-19 Thread handsome_feng
** Changed in: ubuntukylin Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928360 Title: Switch to Fcitx 5 for Chinese To manage notifications about this bug go

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-18 Thread Gunnar Hjalmarsson
Sure, Seth, attached please find the output from cat /var/log/audit/audit.log | grep DENIED ** Attachment added: "apparmor_denied-lines_chromium.txt" https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1928360/+attachment/5498578/+files/apparmor_denied-lines_chromium.txt --

Re: [apparmor] [Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-18 Thread Seth Arnold
On Tue, May 18, 2021 at 07:39:48PM -, Gunnar Hjalmarsson wrote: > On 2021-05-16 22:23, Gunnar Hjalmarsson wrote: > > As regards apparmor it's possible that no change is needed. > > Well, I simply tested with the Chromium snap. fcitx5 does not work in > Chromium, while fcitx4 does. So

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-18 Thread Gunnar Hjalmarsson
On 2021-05-16 22:23, Gunnar Hjalmarsson wrote: > As regards apparmor it's possible that no change is needed. Well, I simply tested with the Chromium snap. fcitx5 does not work in Chromium, while fcitx4 does. So something needs to be done. -- You received this bug notification because you are a

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-16 Thread Gunnar Hjalmarsson
As regards apparmor it's possible that no change is needed. fcitx5 creates the folder ~/.config/fcitx/dbus (i.e. not ~/.config/fcitx5/dbus) with a long file name whose contents is "unix:path=/run/user/1000/bus". Not sure how to safely confirm that, though. -- You received this bug notification

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-16 Thread Gunnar Hjalmarsson
I submitted a merge proposal with suggested changes to language-selector (pkg_depends). Please review and give feedback. ** Changed in: language-selector (Ubuntu) Status: New => In Progress ** Changed in: language-selector (Ubuntu) Assignee: (unassigned) => Gunnar Hjalmarsson

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-16 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~gunnarhj/ubuntu/+source/language-selector/+git/language-selector/+merge/402791 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928360 Title:

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-16 Thread Gunnar Hjalmarsson
It struck me that Lubuntu, which ships Fcitx by default, has a special interest in this change, so added a Lubuntu bug task. ** Also affects: lubuntu-default-settings Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1928360] Re: Switch to Fcitx 5 for Chinese

2021-05-14 Thread Gunnar Hjalmarsson
Assuming that this may require apparmor changes, I added an apparmor (Ubuntu) bug task. ** Also affects: apparmor (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.