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;
 }


Comments:

I've ported the glib head patch to gnome 2.26. The fix will be available in b118
See 6844802 for details

Posted by Erwann on June 11, 2009 at 10:49 PM PDT #

Hi,

Great news Erwann, thanks.

Quick lounge applet still has the same issues, they put lots of patches into the code for this issue.

As it only happens on separate X secreens on Nvidia and Fedora and Ubuntu don't use quick lounge much, I'm having to read the code, I'll let you know if I fix it.

Dave

Posted by David Clack on June 12, 2009 at 02:16 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
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