Bug 230278

Summary: Remember scroll position on home page
Product: [Applications] kmymoney Reporter: David Houlden <djhoulden>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Houlden 2010-03-11 00:10:18 UTC
Version:           SVN 1101783 (using KDE 4.3.5)
OS:                Linux
Installed from:    Compiled From Sources

In the KDE3 version, the vertical scroll position of the homepage view is remembered when switching between the various views. This doesn't happen in the KDE4 version.
e.g. Go to the homepage and scroll to the bottom. Switch to another view such as the ledger. Now switch back to the homepage and it will be positioned back at the top. In the KDE3 version it is still scrolled to the bottom. I prefer the KDE3 version behavior. Other views such as ledger view remember the vertical scroll position.
Comment 1 David Houlden 2010-03-11 00:20:26 UTC
In tabbed view, the homepage vertical scroll position is remembered but in list or tree view it is not.
Comment 2 Cristian OneČ› 2010-04-27 20:31:47 UTC
SVN commit 1119736 by conet:

BUG: 230278
Avoid an unnecessary reload of all views when switching between views. This also brings with it a bit of performance improvement. The unnecessary reload was probably introduced during the KDE4 port because the views, for which show() was not replaced with showEvent, showed no data on activation.

 M  +2 -2      kforecastview.cpp  
 M  +1 -1      kforecastview.h  
 M  +2 -2      kgloballedgerview.cpp  
 M  +1 -1      kgloballedgerview.h  
 M  +14 -10    khomeview.cpp  
 M  +2 -2      kinvestmentview.cpp  
 M  +1 -1      kinvestmentview.h  
 M  +1 -2      kmymoneyview.cpp  
 M  +2 -2      kpayeesview.cpp  
 M  +1 -1      kpayeesview.h  
 M  +2 -2      kscheduledview.cpp  
 M  +1 -1      kscheduledview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1119736