When lauching there is : [jacques@localhost ~]$ pinta Gtk-Message: Failed to load module "canberra-gtk-module" Unhandled Exception: System.ArgumentException: 'gtk-close' is not a valid resource name of assembly 'Pinta.Resources, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null'. at Gdk.PixbufLoader.InitFromAssemblyResource (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0 at Gdk.Pixbuf..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0 at Gdk.Pixbuf.LoadFromResource (System.String resource) [0x00000] in <filename unknown>:0 at Pinta.Resources.ResourceLoader.GetIcon (System.String name, Int32 size) [0x00000] in <filename unknown>:0 at Pinta.ResourceManager.GetIcon (System.String name, Int32 size) [0x00000] in <filename unknown>:0 at Pinta.ResourceManager.GetIcon (System.String name) [0x00000] in <filename unknown>:0 at Pinta.Gui.Widgets.OpenImagesListWidget..ctor () [0x00000] in <filename unknown>:0 at Pinta.OpenImagesPad.Initialize (MonoDevelop.Components.Docking.DockFrame workspace, Gtk.Menu padMenu) [0x00000] in <filename unknown>:0 at Pinta.MainWindow.CreateDockAndPads (Gtk.HBox container) [0x00000] in <filename unknown>:0 at Pinta.MainWindow.CreatePanels (Pinta.WindowShell shell) [0x00000] in <filename unknown>:0 at Pinta.MainWindow.CreateWindow () [0x00000] in <filename unknown>:0 at Pinta.MainWindow..ctor () [0x00000] in <filename unknown>:0 at Pinta.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: 'gtk-close' is not a valid resource name of assembly 'Pinta.Resources, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null'. at Gdk.PixbufLoader.InitFromAssemblyResource (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0 at Gdk.Pixbuf..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0 at Gdk.Pixbuf.LoadFromResource (System.String resource) [0x00000] in <filename unknown>:0 at Pinta.Resources.ResourceLoader.GetIcon (System.String name, Int32 size) [0x00000] in <filename unknown>:0 at Pinta.ResourceManager.GetIcon (System.String name, Int32 size) [0x00000] in <filename unknown>:0 at Pinta.ResourceManager.GetIcon (System.String name) [0x00000] in <filename unknown>:0 at Pinta.Gui.Widgets.OpenImagesListWidget..ctor () [0x00000] in <filename unknown>:0 at Pinta.OpenImagesPad.Initialize (MonoDevelop.Components.Docking.DockFrame workspace, Gtk.Menu padMenu) [0x00000] in <filename unknown>:0 at Pinta.MainWindow.CreateDockAndPads (Gtk.HBox container) [0x00000] in <filename unknown>:0 at Pinta.MainWindow.CreatePanels (Pinta.WindowShell shell) [0x00000] in <filename unknown>:0 at Pinta.MainWindow.CreateWindow () [0x00000] in <filename unknown>:0 at Pinta.MainWindow..ctor () [0x00000] in <filename unknown>:0 at Pinta.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 [jacques@localhost ~]$
Assignee: bugsquad => malo
Thanks for the report. Can you install gnome-icon-theme and see if that fixes the problem?
Status: NEW => ASSIGNED
With gnome-icon-theme it is the same problem.
Ok. I could reproduce the bug. On i586, when I select the oxygen icon theme in kde-settings, pinta produces the error above. If another icon theme is selected, it works fine. I can't reproduce on x86_64 though. I also don't understand why the kde-settings matters for this application which seems to use gtk ... A bug in oxygen?
CC: (none) => juan.baptiste
CC: (none) => hugo
The reason why the kde settings matter is that oxygen-gtk forces the use of the icon theme selected for KDE in gtk applications, for consistency sake. Now, there are some known (non standard) icons in gnome icon theme, that are not implemented in oxygen (because of the non-standardness). Oxygen-gtk has a mechanism to remap some of these missing icons to existing ones. Why this mechanism fails for pinta whereas it works for all other applications is a mistery. This is likely due to some "hard-coded" names in the application. I'll investigate a bit.
(PS: first thing: an application should not -never- crash in case of a missing icon. So this at least, is a pinta bug)
Thanks Hugo. Upstream BR https://bugs.launchpad.net/pinta/+bug/879043
See Also: (none) => https://launchpad.net/bugs/879043
Also, do you have the "gnome" icon theme installed ? Here when this installed, the crash does not happen any more (when using oxygen-gtk), the reason being that oxygen-gtk is supposed to use this theme as a "fallback", when available.
Yes I have gnome-icon-theme installed. I use LXDE. When I choose clearlooks for interface theme and tango for icon theme, pinta work fine without messages. And when I choose oxygen for interface and icon theme, it crashes.
I applied a patch from upstream. It fixes the crash. Thanks for reporting it.
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED