Bug 256769

Summary: Cannot maximize kMyMoney4 on netbook with Status bar and/or Tool bar enabled
Product: [Applications] kmymoney Reporter: thatonefilmguy
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: he7d3r, onet.cristian
Priority: NOR    
Version: 4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description thatonefilmguy 2010-11-13 08:22:04 UTC
Version:           4.5 (using KDE 4.5.1) 
OS:                Linux

The minimum height of kMyMoney does not allow the application to be maximized unless both "Show Toolbar" and "Show Statusbar" are unchecked in the Settings menu.

When these options are enabled, clicking on the maximize button on the top of the window title bar or double-clicking the title bar does not result in any change in size of the application either width or height.  The window will remain constrained to a size that is less than the available width of the screen and taller than the available height.

Reproducible: Always

Steps to Reproduce:
Set screen resolution to 1024x600 if not on a Netbook. This should preferrably be tested using the Unity interface.

1. Under Settings, enable "Show Toolbar" and "Show Statusbar".
2. If the window was previously maximized with these options disabled, then it will remain maximized width-wise but the window will become taller than the vertical resolution of the screen. Click the maximize button to unmaximize the window.
3. The window should now be less wide than the available screen width, and taller than the screen height.
4. Click the maximize button in the top of the title bar. The window will not resize either vertically or horizontally.
5. Click the unmaximize button to 'unmaximize' the window.
6. Double-click the title bar to maximize the window.  It will not be resized.
7. Under the settings menu, disable 'Show Toolbar' and 'Show Statusbar'. The window will be resized to the available height/width of the screen.

Actual Results:  
The window is not maximized when the maximize button is pressed.

Expected Results:  
The window should resize to the available height/width of the screen.

OS: Linux (i686) release 2.6.35-22-generic
Compiler: cc

My screen resolution is 1024x600.  I am running Ubuntu Netbook Edition 10.10.  This issue occurs when using the Ubuntu Netbook Edition Unity interface, the Ubuntu Netbook Edition 2D interface, as well as the standard Ubuntu Desktop interface. kMyMoney is installed from the Ubuntu repositories.
Comment 1 Alvaro Soliverez 2010-11-14 04:50:33 UTC
That resolution is below what's supported by KMyMoney. If anything, this could be a wishlist.

And Unity should support existing apps and not the other way around.
Comment 2 thatonefilmguy 2010-11-16 05:41:38 UTC
Wishlist would be ok. this would be nice to have :)
Comment 3 Cristian Oneț 2010-11-21 22:48:18 UTC
I will work on this.
Comment 4 Cristian Oneț 2010-11-24 22:13:13 UTC
SVN commit 1200377 by conet:

BUG: 256769
Improve the layout of the budgets and forecast views for a better vertical space usage. The only thing that was preventing the usage of KMyMoney on 1024x600 was the settings dialog which is fixed by this commit. For the status and tool bar reported for this bug they can be shown if the KMyMoney header is hidden using the settings.
So a user with 1024x600 can hide one of the following 3 items to make KMyMoney fit into 600 pixels in height:
- the title widget
- the tool bar
- the status bar

 M  +32 -32    dialogs/settings/ksettingsgeneraldecl.ui  
 M  +21 -25    views/kbudgetviewdecl.ui  
 M  +57 -66    views/kforecastviewdecl.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1200377
Comment 5 Cristian Oneț 2010-11-24 22:17:07 UTC
SVN commit 1200378 by conet:

BUG: 256769
Improve the layout of the budgets and forecast views for a better vertical space usage. The only thing that was preventing the usage of KMyMoney on 1024x600 was the settings dialog which is fixed by this commit. For the status and tool bar reported for this bug they can be shown if the KMyMoney header is hidden using the settings.
So a user with 1024x600 can hide one of the following 3 items to make KMyMoney fit into 600 pixels in height:
- the title widget
- the tool bar
- the status bar
Merged into the stable branch.

 M  +32 -32    dialogs/settings/ksettingsgeneraldecl.ui  
 M  +21 -25    views/kbudgetviewdecl.ui  
 M  +57 -76    views/kforecastviewdecl.ui  


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