Bug 174584

Summary: right click on a selected album clears the selection (no context menu actions possible on a pre-selected album)
Product: [Applications] amarok Reporter: Panagiotis Papadopoulos <pano_90>
Component: PlaylistAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal CC: edward.hades, nhn
Priority: NOR    
Version: 2.0-SVN   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: A short video, showing the bug

Description Panagiotis Papadopoulos 2008-11-08 00:24:56 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Unlisted Binary Package

I recently noticed this bug on Amarok2 beta3:

When you try to remove an entire album, that is on your playlist, by right clicking on it and choosing the option "Remove from Playlist", nothin actually happens. If you selcet the tracks and press the DEL key, they are removed.


On an terminal, I get these messages:

amarok: [Playlist::GroupingProxy] [WARNING!] DEPRECATED:  int Playlist::GroupingProxy::groupRowCount(int) const                         

amarok: [Playlist::GroupingProxy] [WARNING!] DEPRECATED:  int Playlist::GroupingProxy::lastInGroup(int) const                           

amarok: [Playlist::GroupingProxy] [WARNING!] DEPRECATED:  int Playlist::GroupingProxy::firstInGroup(int) const                          

amarok: [Playlist::GroupingProxy] [WARNING!] DEPRECATED:  int Playlist::GroupingProxy::groupRowCount(int) const                         

amarok: [Playlist::GroupingProxy] [WARNING!] DEPRECATED:  int Playlist::GroupingProxy::lastInGroup(int) const                           

amarok: [Playlist::GroupingProxy] [WARNING!] DEPRECATED:  int Playlist::GroupingProxy::firstInGroup(int) const                          

amarok: [Playlist::GroupingProxy] [WARNING!] DEPRECATED:  int Playlist::GroupingProxy::groupRowCount(int) const

amarok: [Playlist::GroupingProxy] [WARNING!] DEPRECATED:  int Playlist::GroupingProxy::lastInGroup(int) const

amarok: [Playlist::GroupingProxy] [WARNING!] DEPRECATED:  int Playlist::GroupingProxy::firstInGroup(int) const

amarok: BEGIN: void Playlist::ViewCommon::trackMenu(QWidget*, constQModelIndex*, const QPoint&, bool)
amarok: BEGIN: void Playlist::Controller::removeRows(QList<int>&)
amarok: END__: void Playlist::Controller::removeRows(QList<int>&) -Took 0.00031s
amarok: END__: void Playlist::ViewCommon::trackMenu(QWidget*, constQModelIndex*, const QPoint&, bool) - Took 0.94s
Comment 1 Panagiotis Papadopoulos 2008-11-09 22:24:11 UTC
Created attachment 28443 [details]
A short video, showing the bug

I recorded this video, so that people can imagine what I'm talking about :)
Comment 2 Edward Hades 2008-11-09 22:35:13 UTC
Confirmed.

Actual problem is that if you select the album (by left-clicking), then immediately after the right click (and before the context menu appears) the selection is dropped.
Comment 3 Nikolaj Hald Nielsen 2008-11-19 15:38:42 UTC
fixed by SVN commit 886451