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 742123 - Hitting 'cancel' while creating new playlist crashes program
Hitting 'cancel' while creating new playlist crashes program
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
unspecified
Other other
: Normal major
: 3.16
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2014-12-30 19:16 UTC by Maia
Modified: 2015-01-19 12:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Set cursor when column values is present (1.17 KB, patch)
2015-01-02 10:10 UTC, Sagar Ghuge
none Details | Review

Description Maia 2014-12-30 19:16:19 UTC
On the "select playlist" menu (after selecting songs and clicking 'add to playlist'), if you type something in the 'new playlist' field and then click 'cancel' (or press 'esc') without first hitting 'enter' or clicking outside the textfield (i.e. without exiting the textfield), the program crashes with the following error message:

  • File "/home/maia/jhbuild/install/lib/python3.4/site-packages/gnomemusic/__init__.py", line 44 in wrapped
    retval = fn(*v, **k)
  • File "/home/maia/jhbuild/install/lib/python3.4/site-packages/gnomemusic/widgets.py", line 747 in _on_playlist_created
    self.view.get_columns()[0], False)
IndexError: list index out of range

(On Fedora 21)
Comment 1 Sagar Ghuge 2015-01-02 10:10:42 UTC
Created attachment 293595 [details] [review]
Set cursor when column values is present