[Bug 812189] New: Akonadi rewrite XDG_DATA_DIRS and confuse GTK applications
https://bugzilla.novell.com/show_bug.cgi?id=812189 https://bugzilla.novell.com/show_bug.cgi?id=812189#c0 Summary: Akonadi rewrite XDG_DATA_DIRS and confuse GTK applications Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Applications AssignedTo: kde-maintainers@suse.de ReportedBy: mcaj@suse.com QAContact: qa-bugs@suse.de CC: sbrabec@suse.com Found By: Community of Practice Blocker: --- HI, shortly after I updated my system to 12.3 I found that icons for GTK applications disappeared. qt apps ware fine. First I thought there is something wrong with gtkutils, because I had in logs messages like this: Gtk: Useless empty GtkIconSource GLib-GObject: g_object_unref: assertion `G_IS_OBJECT (object)' failed gtkutils: gdk_pixbuf_new_from_file() returned nothing for file /usr/share/icons/hicolor/16x16/apps/pidgin.png: Couldn't recognize the image file format for file '/usr/share/icons/hicolor/16x16/apps/pidgin.png' or: glib.GError: Couldn't recognize the image file format for file '/usr/share/heartbeat-gui/ha.png' Then I spend several hours to trying found broken settings in gtk..... via gnomevfs-ls I found the system really doesn't know png file .. The reason for it is simple. I looks like akonadi rewrite XDG_DATA_DIRS ! my set looks like this:
set |grep XDG XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_DIRS=/usr/share/akonadi/agents
on the other machine without Akonadi it looks like this: XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_DIRS=/usr/share:/etc/opt/kde3/share:/opt/kde3/share I'm not sure if/why Akonadi needs XDG_DATA_DIRS, but if so it should looks like this XDG_DATA_DIRS=/usr/share:/etc/opt/kde3/share:/opt/kde3/share:/usr/share/akonadi/agents Please can you have look into Akonadi code and fix it there ? Thanks. Martin PS Thanks to sbrabec to find it ! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812189 https://bugzilla.novell.com/show_bug.cgi?id=812189#c1 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wbauer@tmo.at --- Comment #1 from Wolfgang Bauer <wbauer@tmo.at> 2013-03-28 10:46:34 UTC --- Well, on my system with akonadi up and running (KDE and akonadi are from KDE:Release:4.10 repo), XDG_DATA_DIRS looks like this: /usr/local/share:/usr/share:/etc/opt/kde3/share:/opt/kde3/share And on a fresh install of 12.3 with akonadi running, it's set to just: /usr/share So I don't think this is caused by an openSUSE package... Maybe you should grep for "/usr/share/akonadi/agents" to see where this comes from? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812189 https://bugzilla.novell.com/show_bug.cgi?id=812189#c2 Martin Caj <mcaj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #2 from Martin Caj <mcaj@suse.com> 2013-04-10 11:50:32 UTC --- Hi, I checked my files and found the $XDG_DATA_DIRS in the ~/.bashrc I'm not ware witch program package did it/ change it. I was also not able to reproduce it on the other machines. So if akonadi does not change the variable $XDG_DATA_DIRS in its code, other apps had to do it. I think you can close this bug. Martin -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com