GNOME Bugzilla – Bug 584468
weird behaviour in icon selection for tag
Last modified: 2009-10-18 19:36:59 UTC
Please describe the problem: Recently strange things happen to me when opening the icon dialog for certain tags. - I right-click on a tag and then on 'Edit selected tag'. - I click on the icon. - The dialog appears where I can choose an icon. - It says 'Photo 1 of 4'. - But Steps to reproduce: - I right-click on a tag and then on 'Edit selected tag'. - I click on the icon. - The dialog appears where I can choose an icon. - It says 'Photo 1 of 4'. Actual results: I am not able to select one of the other 3 photos. Using up/down box has no effect: clicking on the arrows does not even change the number. Entering a number manually has no effect. I can select a file manually but then I don't have the possibility to select an area in it, because the area view does not change (still shows photo 1). For some other tags I am able to scroll through only some of the pictures (for instance it would say 'Photo 1 of 24' but I can only scroll to photo 17 and then I can't go further, only back). Sometimes, when I click on 'Edit selected tag' and then on the icon, F-Spot freezes for a significant time. Expected results: Does this happen every time? Yes (but not for all tags). Other information: In the debug log I find repetitions of the following message: Domain: 'Gtk' Level: Critical Message: gtk_icon_theme_load_icon: assertion `icon_name != NULL' failed Trace follows: at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message) at Gtk.IconTheme.gtk_icon_theme_load_icon(IntPtr , IntPtr , Int32 , Int32 , IntPtr ByRef ) at Gtk.IconTheme.LoadIcon(System.String icon_name, Int32 size, IconLookupFlags flags) at FSpot.Utils.GtkUtil.TryLoadIcon(Gtk.IconTheme theme, System.String icon_name, Int32 size, IconLookupFlags flags) at FSpot.Tag.set_ThemeIconName(System.String value) at TagCommands+EditIcon.Execute(FSpot.Tag t) at TagCommands+Edit.HandleIconButtonClicked(System.Object sender, System.EventArgs args) at System.Reflection.MonoMethod.InternalInvoke(System.Object , System.Object[] , System.Exception ByRef ) at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters) at System.Delegate.DynamicInvokeImpl(System.Object[] args) at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args) at System.Delegate.DynamicInvoke(System.Object[] args) at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs args) at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args) at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) at Gtk.Dialog.gtk_dialog_run(IntPtr ) at Gtk.Dialog.Run() at TagCommands+Edit.Execute(FSpot.Tag t) at MainWindow.HandleEditSelectedTagWithTag(FSpot.Tag tag) at TagPopup+<Activate>c__AnonStorey18.<>m__26(System.Object , System.EventArgs ) at System.Reflection.MonoMethod.InternalInvoke(System.Object , System.Object[] , System.Exception ByRef ) at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters) at System.Delegate.DynamicInvokeImpl(System.Object[] args) at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args) at System.Delegate.DynamicInvoke(System.Object[] args) at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs args) at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args) at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) at Gtk.Application.gtk_main() at Gtk.Application.Run() at Gnome.Program.Run() at FSpot.Driver.Main(System.String[] args)
I reported a bug here https://bugs.launchpad.net/ubuntu/+source/f-spot/+bug/386650 before coming here. My bug is very similar, except I have this happen for all tags. I cannot use the last ten photos of a tag to create an icon, or, if less than ten photos, only the first photo. I have not experienced the freezing mentioned either.
this has been fixed in git master. it's a regression in gtk+. please read last paragraph of http://www.maxxer.it/f-blog/2009/06/moving-to-git/
*** Bug 593558 has been marked as a duplicate of this bug. ***