Bug 782484
Summary: | ibus returns "No input window" for terminals executed via launcher | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Corey Welton <cwelton> | ||||
Component: | ibus | Assignee: | fujiwara <tfujiwar> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | i18n-bugs, shawn.p.huang, tfujiwar | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: |
xfce 4.8
ibus-1.4.0-17.fc16.x86_64
ibus-pinyin-1.3.99.20110706-2.fc16.x86_64
|
|||||
Last Closed: | 2012-03-19 01:29:08 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Corey Welton
2012-01-17 15:29:54 UTC
Fixing Fedora version -> 16 Hmm.., I think you don't run any window managers. The new ibus needs the focus in event to set the input methods. I think you can switch input method engines if you run 'metacity &' command. The current ibus uses no global input mode and it will be changed in f17 but I'd think changing f16 implementation might be a risk. So I'd suggest to run metacity or change the ibus property: 1. Run ibus-setup. 2. Select 'Advanced' tab and enable 'Use toggle shortcut keys to enable or disable an input method' check button. I'm running xfwm as part of xfce. Also, setting the hotkey method does not appear to enable the ime in the scenario listed above. I have no problem with xfwm. 1. Run gnome-terminal as the initial session. 2. Run xfwm4 3. Run ibus-daemon --xim I also tried xfce4-sesion and 'xfwm4 --replace' and ibus also works fine. Probably I will close this bug. Please review the description and the steps. It's not a matter of just running $whatever from gnome-terminal. Rather, you will need to create a launcher (icon on the desktop, etc.) and launch $whatever from there. Items executed as triggered from a launcher fail. Created attachment 559302 [details]
Desktop launcher testcase
1. Place the attached launcher file in ~/Desktop.
2. Double-click to execute
3. Attempt to initialise the IME and/or click on the IME applet to read that it has "No input window"
TBH I am still having a hard time determining whether this is an ibus bug or xfce.
I don't see any problems with attachment 559302 [details]. I think it should not be be a problem how gnome-terminal is launched. I think the problem is how you launch ibus-daemon and configure gtk-im-module. > TBH I am still having a hard time determining whether this is an ibus bug or xfce. Probably I think it's neither an ibus bug or xface but your setting failure. When you say to click the desktop file, it means the desktop enviroment is running with a window manager likes metacity. You could check if your client could load ibus gtk-im-module. % strace gnome-terminal 2>&1 | grep im-ibus.so stat("/usr/lib64/gtk-3.0/3.0.0/immodules/im-ibus.so", {st_mode=S_IFREG|0755, st_size=31640, ...}) = 0 open("/usr/lib64/gtk-3.0/3.0.0/immodules/im-ibus.so", O_RDONLY|O_CLOEXEC) = 13 |