| Summary: | lyrics tab is not scrolled to the origin when changed | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | Thomas Schildknecht <danakil.kde> |
| Component: | Context View | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.4.3 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Thomas Schildknecht
2006-10-18 15:10:30 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() );
|