Wednesday Jun 03, 2009

OpenSolaris (Nevada) B115 separate X screen partial fixed

Hi All,

 So this issue with the programs not appearing  on the correct screen if your running nvidia with separate X screens configured has already been solved in the Ubuntu forums.

It's a bug in glib, I applied the patch and rebuilt glib, the problem has gone away for the gnome panel launch, but quick lounge (launcher list applet) is still having the problem, I'll have to check the source code.

This is the patch for glib 2.20.1

 diff -ur clean/glib2.0-2.20.1/gio/gdesktopappinfo.c postclean/glib2.0-2.20.1/gio/gdesktopappinfo.c
--- clean/glib2.0-2.20.1/gio/gdesktopappinfo.c    2009-03-31 18:04:20.000000000 -0500
+++ postclean/glib2.0-2.20.1/gio/gdesktopappinfo.c    2009-05-29 13:52:50.000000000 -0500
@@ -831,16 +831,16 @@
 {
   while (\*a == \*b)
   {
-    if (\*a == 0 || \*b == 0)
+    if (\*a == 0 || \*b == 0 || \*b == '=') /\* cover naughty equals usage. \*/
       return FALSE;
-    
-    if (\*a == '=')
-      return TRUE;

     a++;
     b++;
   }

+  if (\*a == '=' && \*b == 0)
+    return TRUE;
+
   return FALSE;
 }


About

I work for the Java Embedded Global Business Unit of Oracle within Java Industry Solutions group under Alliances and Channels . I'm focused on the Java SE Embedded and BDB for ARM and PPC across multiple verticals

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today