Bug 529920 - language bar pops up on the wrong monitor
Summary: language bar pops up on the wrong monitor
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peng Huang
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-20 18:05 UTC by Matthias Clasen
Modified: 2009-12-10 04:23 UTC (History)
3 users (show)

Fixed In Version: 1.2.0.20091204-1.fc12
Clone Of:
Environment:
Last Closed: 2009-12-10 04:23:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthias Clasen 2009-10-20 18:05:51 UTC
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.

Comment 1 Bug Zapper 2009-11-16 13:54:56 UTC
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:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Jens Petersen 2009-11-25 05:53:13 UTC
(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.  

Yep annoying.

Comment 3 Peng Huang 2009-11-25 23:58:14 UTC
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?

Comment 4 Matthias Clasen 2009-11-26 01:46:18 UTC
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).

or

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.

Comment 5 Peng Huang 2009-11-28 08:13:35 UTC
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.

Comment 6 Fedora Update System 2009-12-04 09:08:24 UTC
ibus-1.2.0.20091204-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/ibus-1.2.0.20091204-1.fc12

Comment 7 Fedora Update System 2009-12-04 23:41:26 UTC
ibus-1.2.0.20091204-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

Comment 8 Fedora Update System 2009-12-10 04:22:57 UTC
ibus-1.2.0.20091204-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.