Bug 304215

Summary: Cannot resize window
Product: [Applications] kmymoney Reporter: hermanj04
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DOWNSTREAM    
Severity: major CC: agander93, daniel.bezivin, hermanj04, onet.cristian, ostroffjh, yurchor
Priority: NOR    
Version: 4.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.6.3
Sentry Crash Report:

Description hermanj04 2012-07-29 02:22:12 UTC
After upgrading to Ubuntu 12.04 and KMyMoney4, the window is too wide to be usable on my netbook.  When I attempt to resize the window I cannot change it beyond the current size.  This renders the program and all my previous data unusable.

Reproducible: Always

Steps to Reproduce:
1. Open KMyMoney4 on a 1024x600 resolution screen.
2. Attempt to resize the window to fit the screen.
Actual Results:  
Screen should resize.

Expected Results:  
Screen does not resize
Comment 1 Yuri Chornoivan 2012-07-29 04:43:35 UTC

*** This bug has been marked as a duplicate of bug 295883 ***
Comment 2 hermanj04 2012-07-29 21:09:01 UTC
I already attempted to install the patch for that bug.  It did not work for my system.
Comment 3 Jack 2012-07-29 22:02:20 UTC
As in that bug, what is your font, and have you tried changing it?  That might provide the developer with more information.
Comment 4 hermanj04 2012-07-30 02:04:33 UTC
I was using the default, Ubuntu (size 11).  I did attempt to change it, and while the proportions of the screen would change, the resizing problem remained.
Comment 5 Jack 2012-08-19 04:41:52 UTC
Sorry I missed  your earlier response.  I don't think Ubuntu is a font, and the specific font is likely  important for a developer to track down the problem.  Also, can you be more  specific about "screen does not resize" ?  Can you not grab the side/bottom/corner to resize, or can you grab it, but no matter where  you move it, the window doesn't actually change size?  Can you change height or width, or neither one?  What happens if you try to maximize the window?  Sorry I don't have any suggestions - I'm just trying to get more information that might trigger some ideas.
Comment 6 allan 2012-08-19 09:44:21 UTC
(In reply to comment #5)
> Sorry I missed  your earlier response. 

> I don't think Ubuntu is a font, and
> the specific font is likely  important for a developer to track down the
> problem. 

Ubuntu is a font name on Ubuntu-based distros.
Comment 7 allan 2012-08-19 09:49:54 UTC
See also 
https://bugs.launchpad.net/ubuntu/+source/kmymoney/+bug/875040 re a problem when using Unity.

Are you using Unity?

Can you try the XFCE or LXDE desktops?
Comment 8 Dan 2012-09-13 18:27:15 UTC
Same problem in Mageia2 / KDE 4.8.5 using Kmymoney Version 4.6.2.
The window is too wide (maximized or not) and no way to resize it.
Comment 9 allan 2012-09-13 18:57:10 UTC
This is a KDE feature that definitely works for me.

Drag the KMM window  to the side, far enough for the pointer to reach the edge.  As it gets there, a quarter screen-size window outline appears.  Release the left button and you get a resized KMM window which you can then resize to your requirements.  That's if you drag the title bar;  if you drag the window body using the alt key as well, you get a half width window instead.
Comment 10 Dan 2012-09-14 09:53:26 UTC
@ Allan 
I tried your method : i get a double sided arrow but no way to resize the window; or perhaps i did not understood what you mean.
Comment 11 Dan 2012-09-14 10:06:39 UTC
@allan
I think i understand what you mean : by dragging the window to a side, i got a shade of a small window, and the i release the left button:
ok i get a small KMM window; but if i want to resize it, it becomes back too wide !!!
Comment 12 allan 2012-09-14 10:22:14 UTC
My reply to your previous post collided with your second, but here it is to be sure we're on the same wavelength.
"(In reply to comment #10)
> @ Allan 
> I tried your method : i get a double sided arrow but no way to resize the
> window; or perhaps i did not understood what you mean.

OK!  I think the double-sided arrow shows when you drag a window border to resize it.  That's not what is needed here.  The easiest way is to click/hold left button in the title bar and drag to the edge.  When the pointer gets to the edge, the new quarter-size window outline will appear.  Now release the mouse button.  That should do it, unless your distro does its own thing instead of allowing KDE to work the way it should.  I'm using Mint 12 KDE version, but openSuse works too.  It also works for non-KDE programs - Firefox, Claws and  Thunderbird.

> @allan I think i understand what you mean : by dragging the window to a side, i got a shade of > a small window, and the i release the left button: ok i get a small KMM window; but if i want to > resize it, it becomes back too wide !!!

After I get the new window, I'm able to drag to resize in the usual way, click/hold on any border, and it stays at the new size when I release the mouse.  When you drag your new window, does it just do its own thing when you release the button?  If so, I'm afraid I can't help you, and I would shout at your distro support guys.
Comment 13 Dan 2012-09-14 13:34:10 UTC
"When you drag your new window, does it just do its own thing when you release the button?"
I do obtain a half or quater sized window after releasing the button, but as soon as i click anywhere, it comes back to it first width !
I'm using Megeia2 with Kde 4.8.5 with a 1024x768 resolution screen,
I posted this problem here : http://www.mageialinux-online.org/forum/topic-13545+probleme-avec-kmymoney.php#m130949.but no useful answer for the moment.
Anyway, thanks for your help
Comment 14 allan 2012-09-17 10:43:54 UTC
How about right click in KMM title bar, then select Advanced >Special Application Setting>Size and Position>Size/Apply Now and enter a suitable size?

KDE System Settings give enough options to keep you busy for days.
Comment 15 allan 2012-09-17 10:57:59 UTC
Alternatively, from a Google
"n KDE 4.8 when you go to

System Settings => Shortcuts and Gestures => Global Keyboard Shortcuts

and choose KDE component: KWin

you can assign keyboard shortcuts to actions:

Quick Tile Window to the Left / Right."  Then choose a key combination.

I'm on KDE 4.7 but it works there.  It moves KMM to the side at half width.
Comment 16 Dan 2012-09-18 07:22:05 UTC
"How about right click in KMM title bar, then select Advanced >Special Application Setting>Size and Position>Size/Apply Now and enter a suitable size? KDE System Settings give enough options to keep you busy for days."
I've tried many settings about the window, but no change !

"Alternatively, from a Google "n KDE 4.8 when you go to System Settings => Shortcuts and Gestures => Global Keyboard Shortcuts and choose KDE component: KWin you can assign keyboard shortcuts to actions: Quick Tile Window to the Left / Right." Then choose a key combination. I'm on KDE 4.7 but it works there. It moves KMM to the side at half width."
That is a good idea, but give me nothing more than i can do (i can move the window right or left )
KMM worked fine when i was in Mandriva 2011.
I hope this bug will soon be solved, either by Mageia or by Kde team !
Comment 17 allan 2012-09-18 11:01:22 UTC
(In reply to comment #16)
> "How about right click in KMM title bar, then select Advanced >Special
> Application Setting>Size and Position>Size/Apply Now and enter a suitable
> size? KDE System Settings give enough options to keep you busy for days."
> I've tried many settings about the window, but no change !
> 
> "Alternatively, from a Google "n KDE 4.8 when you go to System Settings =>
> Shortcuts and Gestures => Global Keyboard Shortcuts and choose KDE
> component: KWin you can assign keyboard shortcuts to actions: Quick Tile
> Window to the Left / Right." Then choose a key combination. I'm on KDE 4.7
> but it works there. It moves KMM to the side at half width."
> That is a good idea, but give me nothing more than i can do (i can move the
> window right or left )
> KMM worked fine when i was in Mandriva 2011.
> I hope this bug will soon be solved, either by Mageia or by Kde team !

So neither method worked.

Well, I've now installed Mint13 KDE at 4.8.5 and all still works for me, so I think it must be a distro thing.