After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679769 - Clicking Properties on empty search result crashes application
Clicking Properties on empty search result crashes application
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: User Interface
2.4.1
Other Linux
: Normal critical
: ---
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-11 22:29 UTC by jeremy
Modified: 2013-04-14 20:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
CLI output for the application when it crashes (4.59 KB, text/plain)
2012-07-11 22:29 UTC, jeremy
Details

Description jeremy 2012-07-11 22:29:55 UTC
Created attachment 218590 [details]
CLI output for the application when it crashes

Overview:

When a search is performed that returns "All Artists (0)" or "All Albums (0)", after focusing the zero result icon, the user can still click "Properties" in either the "Edit" menu or the context menu on either of those items and it crashes the program.

To Reproduce:

1. Search for a term that will return no results in the search field at the top right of the application.

2. Click Properties via either the Edit menu or the context menu on the icon for either All Artists (0) or All Albums (0)

Actual Results:

The application crashes.

Expected Results:

The Properties menu option should either be disabled or should bring up the Track Properties dialog with no data.

Version and Platform:

2.4.1 on Ubuntu

Crash log attached.
Comment 1 Bertrand Lorentz 2013-04-14 20:58:59 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.

The Properties option should be disabled, but it's a bit tricky to do right now, so I've just added a null check to prevent the crash, so the dialog opens and is empty.