Updates:
        Status: Started

Comment #5 on issue 1444 by takao.fujiwara1: The candidate box would exceed the screen bottom when I use multiple monitors
http://code.google.com/p/ibus/issues/detail?id=1444

Ah, ok. The recent xorg is easy to be used :).

I think your first monitor is left and the second monitor is right and the languagebar is shown in the second monitor.

The following is the tentative fix:

--- /usr/share/ibus/ui/gtk/languagebar.py.orig 2012-04-17 17:45:56.223813250 +0900 +++ /usr/share/ibus/ui/gtk/languagebar.py 2012-04-17 18:29:04.213305628 +0900
@@ -245,6 +245,9 @@ class LanguageBar(gtk.Toolbar):

     def set_position(self, x, y):
         w, h = self.__screen.get_width(), self.__screen.get_height()
+        if self.__screen.get_n_monitors() > 1:
+            rect = self.__screen.get_monitor_geometry(0)
+            w, h = rect.width, rect.height
         if x < 0 or y < 0:
             x = w - 20
             y = h - 40


--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复