Description of problem:
After installing Firefox Nightly, I wanted to set it as the default in Gnome Settings. However, it crashes when I try to select "Nightly" as the default application.
Version-Release number of selected component:
cmdline: gnome-control-center --overview
runlevel: N 5
Thread no. 1 (10 frames)
#0 default_app_changed at cc-info-panel.c:893
#5 gtk_combo_box_set_active_internal at gtkcombobox.c:4405
#6 gtk_combo_box_set_active_iter at gtkcombobox.c:4463
#7 gtk_combo_box_menu_activate at gtkcombobox.c:3298
#8 g_cclosure_marshal_VOID__STRINGv at gmarshal.c:1004
#9 _g_closure_invoke_va at gclosure.c:831
#12 item_activated_cb at gtktreemenu.c:1481
#17 gtk_widget_activate at gtkwidget.c:7806
#18 gtk_menu_shell_activate_item at gtkmenushell.c:1380
#19 gtk_menu_shell_button_release at gtkmenushell.c:792
Potential duplicate: bug 958288
Created attachment 992908 [details]
Created attachment 992909 [details]
Created attachment 992910 [details]
Created attachment 992911 [details]
Created attachment 992912 [details]
Created attachment 992913 [details]
Created attachment 992914 [details]
Created attachment 992915 [details]
Created attachment 992916 [details]
Created attachment 992917 [details]
Created attachment 992918 [details]
Where did you install it from? How did you install it?
Your .desktop file for the application seems to export a mime-type that says it handles HTTP (otherwise it wouldn't show up in the list) but then doesn't list any mime-types (which returns NULL, hence the crash).
The Firefox Nightly build is Mozilla's official x86_64 binary, unzipped and run locally from my local directory. It prompts to set itself as the default browser, which seems not to work properly.
This might be a bug in Firefox too, but it shouldn't crash gnome-control-center.
$ gvfs-mime --query x-scheme-handler/http
Default application for 'x-scheme-handler/http': userapp-Nightly-J4KDUX.desktop
$ cat /home/hadess/.local/share/applications/userapp-Nightly-J4KDUX.desktop
Comment=Custom definition for Nightly
Author: Bastien Nocera <email@example.com>
Date: Wed Feb 18 10:10:08 2015 +0100
info: Fix crash when application supports no mime-type
It seems to be possible for Firefox Nightly to set itself up as the
default x-scheme-handler/http without actually handling any mime-types.
You'll want to file a bug against Firefox so it adds the MimeTypes= line when creating its own .desktop file though.
Thanks for a quick response! Firefox bug filed here: