David Clack, Ocean Shores, WA Netbooks Plus Java

Wednesday Jun 03, 2009

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 12, 2009 at 05:49 AM 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 09:16 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed