Bug 171048

Summary: Deleting from playlist does not refresh scrollbar of playlist
Product: [Applications] amarok Reporter: Bassio <ahmedbassi>
Component: PlaylistAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal CC: stharward
Priority: NOR    
Version: 2.0-SVN   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Bassio 2008-09-14 15:22:39 UTC
Version:           1.90 (using 4.1.1 (KDE 4.1.1), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-19-generic

Say you have like 50 items in a playlist, of course this needs a scrollbar to appear.

But say you delete 49 items only to leave one.

Expected behavior is to recalculate the height of the playlist to see if the scrollbar is needed anymore.

However this is not the case when I tried this .. and the scrollbar persistent leaving like 3 page-heights of emptiness in which you can freely scroll up and down.

Only after adding a new file to the playlist, the repaint will be invoked and the scrollbar removed.
Comment 1 Lydia Pintscher 2008-09-18 22:37:31 UTC
Happens here as well.
Comment 2 Mark Kretschmann 2008-10-08 15:28:57 UTC
Fixed with Soren's new playlist code.