[Desktop-packages] [Bug 1847618] Re: im-config ignores input methods other than xim in my current locale

2020-03-25 Thread Launchpad Bug Tracker
This bug was fixed in the package im-config - 0.44-1ubuntu1

---
im-config (0.44-1ubuntu1) focal; urgency=medium

  * Merge with Debian unstable, remaining changes:
- d/maintscript: Remove /etc/profile.d/input-method-config.sh
- d/p/01-ubuntu-default-mode.patch
- d/p/reverse-Remove-imconfig_find_files_with_prefixpath_glob.patch
  * d/p/reverse-Remove-imconfig_find_files_with_prefixpath_glob.patch:
- Reverse new approach for setting env variables

im-config (0.44-1) unstable; urgency=medium

  * Clean up imconfig_find_files_with_prefixpath_glob.

  [ Boyuan Yang ]
  * Add initial configuration data for fcitx5 support.

  [ Gunnar Hjalmarsson ]
  * im-launch.1: Fix a typo in the man page. (LP: #1851997)
  * xinputrc.common.in: Use LC_ALL=C for dpkg-query to ensure
English output. (LP: #1847618)

 -- Gunnar Hjalmarsson   Wed, 25 Mar 2020 22:44:00
+0100

** Changed in: im-config (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to im-config in Ubuntu.
https://bugs.launchpad.net/bugs/1847618

Title:
  im-config ignores  input methods other than xim in my current locale

Status in im-config package in Ubuntu:
  Fix Released

Bug description:
  I use Ubuntu 16.04.6 LTS. I can not reach other input methods such as
  ibus, fcitx in my current locale which is LANGUAGE=tr_TR.UTF-8. It's
  not listed in unity-control-center>Language Support>Keyboard Input
  Method System. If I launch unity-control-center from terminal which is
  using different locale "LANGUAGE=en_US.utf8 unity-control-center" then
  there is no problem, all of the installed input methods are in the
  list.

  I also tested "python3 
/usr/lib/python3/dist-packages/LanguageSelector/ImConfig.py"
  it also ignores input methods other than xim and none.
  If I export "LANGUAGE=en_US.utf8" it lists all the other input methods.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1847618/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1847618] Re: im-config ignores input methods other than xim in my current locale

2019-10-11 Thread Gunnar Hjalmarsson
On 2019-10-11 20:13, kenn wrote:
> Ironically `LC_MESSAGES=tr_TR.UTF-8 LANGUAGE= im-config -l` prints
> full list:
> ibus uim scim xim
> 
> but not this `LC_MESSAGES=tr_TR.UTF-8 im-config -l`, this prints:
> xim

Well, since you have set LC_ALL=C.UTF-8 your case is a bit different
compared to what I guessed and described in the merge request. (I would
recommend you to drop that setting. It makes no sense on an Ubuntu
system, and - as you just noticed - it may cause surprise behavior.)

> I confirm that replacing LANG with LC_ALL in
> /usr/share/im-config/xinputrc.common fixes the bug.

Great, thanks for confirming!

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to im-config in Ubuntu.
https://bugs.launchpad.net/bugs/1847618

Title:
  im-config ignores  input methods other than xim in my current locale

Status in im-config package in Ubuntu:
  In Progress

Bug description:
  I use Ubuntu 16.04.6 LTS. I can not reach other input methods such as
  ibus, fcitx in my current locale which is LANGUAGE=tr_TR.UTF-8. It's
  not listed in unity-control-center>Language Support>Keyboard Input
  Method System. If I launch unity-control-center from terminal which is
  using different locale "LANGUAGE=en_US.utf8 unity-control-center" then
  there is no problem, all of the installed input methods are in the
  list.

  I also tested "python3 
/usr/lib/python3/dist-packages/LanguageSelector/ImConfig.py"
  it also ignores input methods other than xim and none.
  If I export "LANGUAGE=en_US.utf8" it lists all the other input methods.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1847618/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1847618] Re: im-config ignores input methods other than xim in my current locale

2019-10-11 Thread kenn
I confirm that replacing LANG with LC_ALL in 
/usr/share/im-config/xinputrc.common 
fixes the bug.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to im-config in Ubuntu.
https://bugs.launchpad.net/bugs/1847618

Title:
  im-config ignores  input methods other than xim in my current locale

Status in im-config package in Ubuntu:
  In Progress

Bug description:
  I use Ubuntu 16.04.6 LTS. I can not reach other input methods such as
  ibus, fcitx in my current locale which is LANGUAGE=tr_TR.UTF-8. It's
  not listed in unity-control-center>Language Support>Keyboard Input
  Method System. If I launch unity-control-center from terminal which is
  using different locale "LANGUAGE=en_US.utf8 unity-control-center" then
  there is no problem, all of the installed input methods are in the
  list.

  I also tested "python3 
/usr/lib/python3/dist-packages/LanguageSelector/ImConfig.py"
  it also ignores input methods other than xim and none.
  If I export "LANGUAGE=en_US.utf8" it lists all the other input methods.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1847618/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1847618] Re: im-config ignores input methods other than xim in my current locale

2019-10-11 Thread kenn
Thank you for responding and quick coverage.
I added my current locale in the attachment.
Ironically `LC_MESSAGES=tr_TR.UTF-8 LANGUAGE= im-config -l` prints full list:
ibus uim scim xim

but not this `LC_MESSAGES=tr_TR.UTF-8 im-config -l`, this prints:
xim

I am happy to hear that you pinpoint the bug.

I thought it was a more complicated issue.
I can apply the workaround you suggested.
Cheers

** Attachment added: "mylocale.txt"
   
https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1847618/+attachment/5296618/+files/mylocale.txt

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to im-config in Ubuntu.
https://bugs.launchpad.net/bugs/1847618

Title:
  im-config ignores  input methods other than xim in my current locale

Status in im-config package in Ubuntu:
  In Progress

Bug description:
  I use Ubuntu 16.04.6 LTS. I can not reach other input methods such as
  ibus, fcitx in my current locale which is LANGUAGE=tr_TR.UTF-8. It's
  not listed in unity-control-center>Language Support>Keyboard Input
  Method System. If I launch unity-control-center from terminal which is
  using different locale "LANGUAGE=en_US.utf8 unity-control-center" then
  there is no problem, all of the installed input methods are in the
  list.

  I also tested "python3 
/usr/lib/python3/dist-packages/LanguageSelector/ImConfig.py"
  it also ignores input methods other than xim and none.
  If I export "LANGUAGE=en_US.utf8" it lists all the other input methods.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1847618/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1847618] Re: im-config ignores input methods other than xim in my current locale

2019-10-11 Thread Gunnar Hjalmarsson
I figured out a way to reproduce the problem:

$ im-config -l
 ibus fcitx xim
$ LC_MESSAGES=tr_TR.UTF-8 LANGUAGE= im-config -l
 xim
$ 

By now I'm pretty sure that you have explicitly set either LC_MESSAGES
or LC_ALL to "tr_TR.UTF-8". While I'd advise you from doing so on an
Ubuntu desktop (none of those variables would have been explicitly set
if you had relied on Language Support for handling your locale), it
still makes no sense that it causes the 'im-config -l' command to fail.

So I submitted a merge request to Debian:
https://salsa.debian.org/input-method-team/im-config/merge_requests/3/diffs

You should be able to fix it for yourself either by not setting
LC_MESSAGES and/or LC_ALL explicitly, or by editing the /usr/share/im-
config/xinputrc.common file in accordance with the merge request.

Would appreciate your confirmation that this is it.

** Changed in: im-config (Ubuntu)
   Importance: Undecided => Low

** Changed in: im-config (Ubuntu)
   Status: Incomplete => In Progress

** Changed in: im-config (Ubuntu)
 Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to im-config in Ubuntu.
https://bugs.launchpad.net/bugs/1847618

Title:
  im-config ignores  input methods other than xim in my current locale

Status in im-config package in Ubuntu:
  In Progress

Bug description:
  I use Ubuntu 16.04.6 LTS. I can not reach other input methods such as
  ibus, fcitx in my current locale which is LANGUAGE=tr_TR.UTF-8. It's
  not listed in unity-control-center>Language Support>Keyboard Input
  Method System. If I launch unity-control-center from terminal which is
  using different locale "LANGUAGE=en_US.utf8 unity-control-center" then
  there is no problem, all of the installed input methods are in the
  list.

  I also tested "python3 
/usr/lib/python3/dist-packages/LanguageSelector/ImConfig.py"
  it also ignores input methods other than xim and none.
  If I export "LANGUAGE=en_US.utf8" it lists all the other input methods.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1847618/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp