GNOME Bugzilla – Bug 651818
Crash in gtk_app_chooser_refresh()
Last modified: 2011-10-10 12:49:50 UTC
Forwarded from downstream Fedora report: https://bugzilla.redhat.com/show_bug.cgi?id=699046
+ Trace 227366
Thread 1 (Thread 0x7f47a7b2c9c0 (LWP 2607))
we have the same issue at https://bugs.launchpad.net/gtk/+bug/861605
Without any description of when this happens, I can only guess that this is a case of missing cancellation for an async operation. We need to cancel when the dialog is destroyed before the operation is done.
Created attachment 198112 [details] [review] appchooser: add a GCancellable to the search operation So that we can cancel it when the dialog is destroyed.
Created attachment 198113 [details] [review] appchooser: make the "Find applications online" follow search state Set the button as insensitive while searching, so that it can't be accidentally clicked twice.
No way to reproduce the bug, but the two attached patches should help in any case.
Review of attachment 198113 [details] [review]: Makes sense, I guess.
Review of attachment 198112 [details] [review]: ok
Attachment 198112 [details] pushed as 569b5ff - appchooser: add a GCancellable to the search operation Attachment 198113 [details] pushed as 3a6996e - appchooser: make the "Find applications online" follow search state Thanks, pushed to master now.
Thanks, is there any reason to not commit those fixes to gtk-3-2 as well?