Red Hat Bugzilla – Bug 529920
language bar pops up on the wrong monitor
Last modified: 2009-12-09 23:23:06 EST
I just hit Ctrl-space accidentally (that happens uncomfortably often to me...), and notice the ibus 'panel' pop up on my otherwise unused second monitor, while I was trying to type on the first monitor.
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.
More information and reason for this action is here:
(In reply to comment #0)
> I just hit Ctrl-space accidentally (that happens uncomfortably often to me...),
Hmm dunno if we want to/should disable Ctrl+Space.
> and notice the ibus 'panel' pop up on my otherwise unused second monitor, while
> I was trying to type on the first monitor.
Currently, the initial position of the panel is on the left bottom of the workarea. So if your second monitor is on the left of your primary monitor, the initial postion will be on the second monitor.
I am thinking what is the best solution of this problem. Do you have any suggestion?
You could either
Always place the panel on the primary monitor. See XRRGetOutputPrimary(), GTK+ api for this will be available in 2.20 before the end of the year. This is what the gnome-panel does (or at least tries to do).
Make the panel jump to the monitor which contains the active window. See things like gdk_screen_get_monitor_geometry() and gdk_screen_get_active_window() for how to get the necessary information.
I fixed this bug by adding code to remember the position of the language panel. If the panel pops up on a wrong monitor, user just need move it into the right monitor, and then ibus will remember the new position for next time reboot.
The code is in upstream git repo now, I will build it for fedora soon.
ibus-18.104.22.16891204-1.fc12 has been submitted as an update for Fedora 12.
ibus-22.214.171.12491204-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update ibus'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12644
ibus-126.96.36.19991204-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.