Bug 135907 - lyrics tab is not scrolled to the origin when changed
Summary: lyrics tab is not scrolled to the origin when changed
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Context View (show other bugs)
Version: 1.4.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-18 15:10 UTC by Thomas Schildknecht
Modified: 2006-10-24 01:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schildknecht 2006-10-18 15:10:30 UTC
Version:           1.4.3 (using KDE 3.5.5, Kubuntu (dapper) 4:3.5.5-0ubuntu1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-27-386

when a song is played and it's lyrics showed, the scrollbar is not put back on the top when the next track is played (and new lyrics are showed)
Comment 1 Alexandre Oliveira 2006-10-24 01:37:21 UTC
SVN commit 598567 by aoliveira:

when the track (and thus the lyrics) changes, reset scrollbar position of lyrics tab to the top
BUG: 135907


 M  +2 -0      contextbrowser.cpp  


--- trunk/extragear/multimedia/amarok/src/contextbrowser.cpp #598566:598567
@@ -3096,6 +3096,8 @@
 
 
     m_lyricsPage->set( m_HTMLSource );
+    //Reset scroll
+    m_lyricsPage->view()->setContentsPos(0, 0);
     saveHtmlData(); // Send html code to file
 
     m_lyricsToolBar->getButton( LYRICS_BROWSER )->setEnabled( !m_lyricCurrentUrl.isEmpty() );