Bug 364311 - Ledgers columns can't be resized
Summary: Ledgers columns can't be resized
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-14 11:28 UTC by mhaquila
Modified: 2016-06-16 17:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.x


Attachments
Screenshot with the window at the screen width (125.32 KB, image/png)
2016-06-14 15:01 UTC, mhaquila
Details
Screenshot with the window at the middle of the screen width (434.08 KB, image/png)
2016-06-14 15:02 UTC, mhaquila
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mhaquila 2016-06-14 11:28:39 UTC
There is no way to configurate the *width of the columns*, when an account is displayed in the Ledgers. The _date_ is not totally visible and the FIGURES (in _DEBIT_, _CREDIT _and BALANCE_) are limited to five visible numbers (for exemple 215,38 instead on 10215,38).

Reproducible: Always

Steps to Reproduce:
1. Open any file
2. Go to the Ledgers
3. Try to resize columns

Actual Results:  
It is impossible the resize columns

Expected Results:  
Resize of columns should be allowed
Comment 1 allan 2016-06-14 12:01:53 UTC
Did you try widening the KMyMoney window?
Comment 2 mhaquila 2016-06-14 12:49:10 UTC
(In reply to allan from comment #1)
> Did you try widening the KMyMoney window?

Yes, I did. However for an easy use of the program, the window can't be widened more than the screen size, so resize the column seems to be essential.
Comment 3 allan 2016-06-14 14:14:42 UTC
(In reply to mhaquila from comment #2)
> (In reply to allan from comment #1)
> > Did you try widening the KMyMoney window?
> 
> Yes, I did. However for an easy use of the program, the window can't be
> widened more than the screen size, so resize the column seems to be
> essential.

I assume you know that you can reposition the KMM window to allow stretching to the right?
I'm not suggesting that this is a satisfactory solution, but may be a possible work-around.  I did actually implement a change to allow column widening, but the current method was preferred by the developers.

Just so we have the complete picture, would you give -
The KMM version you are using -
Your screen size -
Whether repositioning is helpful.

Perhaps you could attach a screen-shot?
Comment 4 mhaquila 2016-06-14 14:59:50 UTC
Thanks for your answer.

The solution that you propose don't correct the problem. Indeed _if to extend the window over the screen size is possible under Linux, it is impossible under Windows_, so it don't help all the users of KMyMoney.

Furthermore when we extend the window size, *only the 'Details' column is extended*, but not the others, so the problem persists.

For illustrate that, I send you screen shots taken under Windows with a computer whose screen size is 1600×800, but the example works also under Linux with a windows stretched to the right as long as we can want.
Comment 5 mhaquila 2016-06-14 15:01:16 UTC
Created attachment 99498 [details]
Screenshot with the window at the screen width
Comment 6 mhaquila 2016-06-14 15:02:18 UTC
Created attachment 99499 [details]
Screenshot with the window at the middle of the screen width
Comment 7 allan 2016-06-14 17:21:08 UTC
I don't recollect seeing that sort of behaviour recently.  You didn't say what revision of KMM you use?

It's some while since I dabbled in this area.  Again looking for a work-around, if you add extra characters into one of your narrow columns, does that increase the column width?
Comment 8 mhaquila 2016-06-14 19:02:54 UTC
My version for Linux is the 4.6.4 (KDE 4.14.2) and for Windows is the 4.7.2 (KDE 4.12.5).

No, it's just the problem: adding extra characters into one narrow column don't increase the column width which is fixed I think in percent of the screen size independently of the window size.
Comment 9 allan 2016-06-14 21:29:10 UTC
(In reply to mhaquila from comment #8)
> My version for Linux is the 4.6.4 (KDE 4.14.2) and for Windows is the 4.7.2
> (KDE 4.12.5).

4.6.4  is now very old and you are missing a lot of bug fixes and improvements, particularly in KMM.  I would strongly advise getting the latest release from the Claydoh ppa.   Hopefully you don't see exactly the same behaviour on the Windows version?

> No, it's just the problem: adding extra characters into one narrow column
> don't increase the column width which is fixed I think in percent of the
> screen size independently of the window size.

I'm pretty certain this is not the case in the latest versions.
Comment 10 mhaquila 2016-06-16 09:02:09 UTC
I do see the same behavior on the Windows version (4.7.2), as I yet said. So the problems persists.
Comment 11 allan 2016-06-16 13:19:53 UTC
> 4.6.4  is now very old and you are missing a lot of bug fixes and
> improvements, particularly in KMM.  I would strongly advise getting the
> latest release from the Claydoh ppa.

If you want to use KMM on Linux, then will you upgrade?  No development work will occur if the problem has already been fixed.

I have just installed 4.7.2 again and checked this.  All columns are fully displayed.  On a wide screen, the Details column expands, but the other columns are still displayed correctly.  An empty Number field starts off narrow, but expands to show the data in full.

I don't think I can say more.
Comment 12 mhaquila 2016-06-16 16:12:00 UTC
As I said you, on a screen size of 1600x800 with the version 4.7.2 IT DIDN'T FUNCTION CORRECTLY: the screen shots are taken with this version… Because, as I yet said, the column width depends of the screen size.

And I don't know at all what you put the bug resolved when it's not!
Comment 13 mhaquila 2016-06-16 16:33:11 UTC
What is sure is: under Windows, what the lastest version (4.7.2) it didn't work correctly: the columns are absolutely fixed, as the screenshot show.
Comment 14 allan 2016-06-16 17:24:08 UTC
(In reply to mhaquila from comment #12)
> As I said you, on a screen size of 1600x800 with the version 4.7.2 IT DIDN'T
> FUNCTION CORRECTLY: the screen shots are taken with this version… Because,
> as I yet said, the column width depends of the screen size.
> 
You also said, in comment #8 "My version for Linux is the 4.6.4 ...", and the screenshots were provided in comment #5 and #6, so prior to your saying you were on 4.6.4.

I can only repeat that 4.7.2 works correctly for me.  If it doesn't for you, I would look to your distro/whatever.

I cannot help with a Windows problem as I gave up on that some years ago.  I believe there have been build problems with the Widows version, but I understand that that issue is now resolved, but probably not yet distributed.

> And I don't know at all what you put the bug resolved when it's not!