[Fedora-i18n-bugs] [Bug 744667] ibus 1.4 update: broke preferences "show language bar when active" on JP input

bugzilla at redhat.com bugzilla at redhat.com
Sun Oct 16 03:01:39 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=744667

nomnex <nomnex at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Flag|needinfo?(nomnex at gmail.com) |

--- Comment #3 from nomnex <nomnex at gmail.com> 2011-10-15 23:01:38 EDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > The "input method name" is now grayed out.
> 
> It means focus_in event is not called.

okay

> Are you able to look at the same problem with gtk applications likes gedit?

yes, the same problem remains no matter the application (default text editor in
lxde is leafpad).

> Are you able to see any errors with verbose mode?
> 1. Right click on ibus panel icon and choose 'Quit'.
> 2. Run 'ibus-daemon --xim --verbose'

yes, there is an error. see ibus log attached below

> Are you able to modify the /usr/share/ibus/ui/gtk/panel.py below and run ibus
> panel directly?

I could, but I need more information:

- attached below: the default panel.py & a "panel_modified.py" file (with your
lines below). can you confirm the "panel_modified.py" file content is correct?
Then, I will install it.

> --- /usr/share/ibus/ui/gtk/panel.py.orig
> +++ /usr/share/ibus/ui/gtk/panel.py
> @@ -320,9 +320,11 @@ class Panel(ibus.PanelBase):
>                  self.__focus_ic.enable()
> 
>      def focus_in(self, ic):
> +        print "test1"
>          self.reset()
>          self.__focus_ic = ibus.InputContext(self.__bus, ic)
>          enabled = self.__focus_ic.is_enabled()
> +        print "test2"
> 
>          use_bridge_hotkey = self.__use_bridge_hotkey()
>          self.__set_default_layout_engine(use_bridge_hotkey)
> @@ -357,6 +359,7 @@ class Panel(ibus.PanelBase):
>                  self.__set_im_name(None)
>                  if self.__bus.get_use_sys_layout():
>                      self.__xkblayout.set_layout()
> +        print "test3"
>          self.__language_bar.focus_in()
> 
>      def focus_out(self, ic):
> @@ -373,6 +376,7 @@ class Panel(ibus.PanelBase):
>          if not self.__focus_ic:
>              return
> 
> +        print "test4"
>          enabled = self.__focus_ic.is_enabled()
> 
>          if self.__use_bridge_hotkey():
> @@ -388,6 +392,7 @@ class Panel(ibus.PanelBase):
>              else:
>                  self.__language_bar.set_enabled(False)
>          else:
> +            print "test5", enabled
>              self.__language_bar.set_enabled(enabled)
> 
>          if enabled == False:
> 
> 
> % ps -ef | grep ibus/ui
> account 16077 16031  /usr/bin/python /usr/share/ibus/ui/gtk/main.py
> % kill 16077
> % env IBUS_PREFIX=/usr python /usr/share/ibus/ui/gtk/main.py

> Then when you focus in a GTK text application, I expect "test1", "test2",
> "test3" are shown.
> And when you type Control + Space, I expect "test4" and "test5" are shown.

After I installed the modified panel.py:

- do I need to log-off?
- can I start ibus normally (from the menu) or do I need to launch it from a
terminal?

Thank you.

Additional info:

I installed ibus 1.400 on the other notebook running LXDE and I can reproduce
the same error.

I apologize for the delay to answer the bug reports, but I study and work with
the PC and it often is very busy. Thank you for your understanding.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the i18n-bugs mailing list