Bug 221805

Summary: Tabbed layout too wide for screen
Product: [Applications] kmymoney Reporter: David Houlden <djhoulden>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: pupp_e_dog
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot
current width

Description David Houlden 2010-01-08 15:26:14 UTC
Version:            (using KDE 4.3.4)

I really like the new option to have a tabbed layout instead of the navigation 
bar on the left side of the screen. However, on my laptop with a screen 
resolution of 1024x768, the kmymoney window is too wide for the screen. The 
forecast tab and right side of the window are off the right hand edge of the 
screen. Is there any way this can be fixed? Maybe by scrolling the tabs or 
spreading them over two rows?
Comment 1 KMyMoney Devel Mailing List 2010-01-09 05:32:15 UTC
I improved it a little, though it's not optimal yet. Can you get the latest SVN and let me know. You have to compile from scratch.
Comment 2 David Houlden 2010-01-09 13:24:32 UTC
Created attachment 39709 [details]
Screenshot
Comment 3 David Houlden 2010-01-09 13:26:24 UTC
Compiled from latest SVN but I still see the same problem. See attached screen shot.
Comment 4 David Houlden 2010-01-09 13:28:54 UTC
Info provided.
Comment 5 KMyMoney Devel Mailing List 2010-01-09 13:30:55 UTC
This only happens with the tabbed layout? 
I checked and it shows the arrows on the right when there are too many tabs to
show.
You can't resize to a sensible size?
Comment 6 David Houlden 2010-01-09 13:43:47 UTC
Yes, it only happens with the tabbed layout.
I cannot drag the window to a more reasonable size. The width is fixed although I can reduce the height slightly.
Comment 7 KMyMoney Devel Mailing List 2010-01-09 14:01:08 UTC
Switch to the budget view and try to shrink the width there. Don't ask me why, but I can't shrink it from the home page but I can when on the budget view.
Comment 8 David Houlden 2010-01-09 14:09:48 UTC
No. I cannot shrink it on the budget view. The width will not reduce below the total width of the tabs.
Comment 9 KMyMoney Devel Mailing List 2010-01-09 14:37:03 UTC
Created attachment 39710 [details]
current width

Here is the width I can get on my PC. You can see the arrows at the right of the tabs, to move from left to right.
Comment 10 Thomas Baumgart 2010-01-09 14:42:04 UTC
I still have the same problem with non-tabbed mode (icons to the left)
Comment 11 David Houlden 2010-01-09 16:49:24 UTC
Just in case something had gone wrong, I uninstalled, deleted my source tree and build directory, checked out a fresh copy from svn and ran cmake, make, make install. I also tried starting kmymoney without a kmymoneyrc file. Unfortunately I am still having the same problem.
Comment 12 David Houlden 2010-01-14 22:32:12 UTC
After updating to SVN 1074829 I am seeing different behaviour in the tabbed layout. 
The kmymoney window opens slightly wider than my screen width. I can see the minimise and maximise buttons but not the close button top right. I drag the window so I can see the right hand edge and the scroll arrows for the tabs are visible now. By selecting the budgets tab I am able to drag the window to reduce its width to fit my screen. I am not able to reduce the width to less than the width of my screen. If I click the window maximise button, the window maximises to my screen size and the maximise button changes to reflect this. However, if I close kmymoney with the window maximised this is not remembered next time I restart kmymoney. It restarts wider than my screen as described above. All of this only occurs in tabbed mode.
Comment 13 Cristian OneČ› 2010-01-21 23:20:11 UTC
SVN commit 1078264 by conet:

BUG: 221805
Improved the minimal resolution of the application by changing some size policies and using short month names in the budget view. Now the minimal resolution is 703x652 with title bar toolbar and status bar and 703x545 without these (in tabbed mode). Now KMyMoney can be used on netbooks.

 M  +1 -1      views/kbudgetviewdecl.ui  
 M  +1 -1      views/kpayeesviewdecl.ui  
 M  +1 -1      widgets/kbudgetvalues.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1078264
Comment 14 Cristian OneČ› 2010-02-09 05:29:45 UTC
*** Bug 225994 has been marked as a duplicate of this bug. ***