Bug 229642

Summary: Cannot adjust width of columns in Price Editor so the sum of widths is bigger than pane
Product: [Applications] kmymoney Reporter: Ian Neal <iann_bugzilla>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of Price Editor

Description Ian Neal 2010-03-06 02:50:46 UTC
Version:           3.96.1 (using KDE 4.4.0)
Compiler:          gcc 4.4.1 
OS:                Linux
Installed from:    Fedora RPMs

Steps to reproduce:
1) Open price editor
2) Try to make Commodity column wider

Expect result
1) Column is made wider and pane gets a horizontal scroll bar if needed

Actual result
1) Column width jumps about as you try and drag it but reverts to original width

Workaround
1) Make another column smaller and then increase the size of the one you want wider.
Comment 1 Cristian OneČ› 2010-03-11 23:48:06 UTC
SVN commit 1102157 by conet:

BUG: 229642
Disable resizing of the columns by the user in this view since the columns sizes are set automatically according to the size of the view. Maybe we could let the user decide this when this view will be ported to Qt4.

 M  +1 -0      kmymoneypriceview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1102157
Comment 2 Ian Neal 2010-03-12 00:36:20 UTC
Created attachment 41550 [details]
Screenshot of Price Editor

As you can see from the screenshot, making the columns not adjustable does not help, in that most columns are probably wider than need to be (e.g. Source). At the moment it looks like all columns are the same width and probably don't need to be.
Comment 3 Cristian OneČ› 2010-03-12 09:08:43 UTC
I agree but this is not a bug, it's been this way since that view was implemented. Like I've said in the commit log when porting the prices view we can make the columns user re-sizable and persistent, but this is a wish not a bug.