Bug 476121 - After entering budget details nothing is displayed in either the Account pane or the Your Budgets pane.
Summary: After entering budget details nothing is displayed in either the Account pane...
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.1.3
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-26 19:31 UTC by Louise
Modified: 2023-11-10 07:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.2
Sentry Crash Report:


Attachments
Empty budgets panels (119.74 KB, image/png)
2023-10-26 19:31 UTC, Louise
Details
Budget Report (124.17 KB, image/png)
2023-10-26 19:34 UTC, Louise
Details
Right mouse button clicked on header (15.94 KB, image/png)
2023-11-07 10:53 UTC, Thomas Baumgart
Details
attachment-2423735-0.html (1.49 KB, text/html)
2023-11-09 15:55 UTC, Louise
Details
1NlTIJsf62YdfUG1.png (130.72 KB, image/png)
2023-11-09 15:55 UTC, Louise
Details
8u2MrUvXQ00QXIk0.png (131.09 KB, image/png)
2023-11-09 15:55 UTC, Louise
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Louise 2023-10-26 19:31:18 UTC
Created attachment 162577 [details]
Empty budgets panels

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Select subCategory
2. Leave Include subaccounts unchecked
3. Select Monthly period
4. Enter monthly amount
5. Click Upd button
6. Click Save button

OBSERVED RESULT
Nothing displays in either the Accounts pane, or the Your Budgets pane.
Display the Yearly budget report, All details entered are shown.
Closing and opening the app does not change the situation.
Reloading tab (bug 385990 - Skrooge) does not change the situation.

EXPECTED RESULT
As per the online help, I was expecting to see the entered budget details appear in the two panes.

SOFTWARE/OS VERSIONS
Windows: 
 

ADDITIONAL INFORMATION
Edition	Windows 10 Home
Version	22H2
Installed on	‎2022-‎10-‎22
OS build	19045.3570
Experience	Windows Feature Experience Pack 1000.19052.1000.0

Device name	Desktop
Processor	AMD Ryzen 9 5900X 12-Core Processor               3.70 GHz
Installed RAM	32.0 GB
Device ID	ECD072E0-B5A3-4B9A-9C80-1DA8C4E57995
Product ID	00325-82281-60336-AAOEM
System type	64-bit operating system, x64-based processor
Pen and touch	No pen or touch input is available for this display
Comment 1 Louise 2023-10-26 19:34:12 UTC
Created attachment 162578 [details]
Budget Report
Comment 2 Thomas Baumgart 2023-11-07 10:53:53 UTC
Created attachment 162922 [details]
Right mouse button clicked on header

Did you try a right mouse button click on the header? This should allow you to select the visible columns.
Comment 3 Thomas Baumgart 2023-11-07 10:54:15 UTC
Updated state
Comment 4 Louise 2023-11-07 14:58:56 UTC
That did do the trick, thank you!


On 2023-11-07 3:53 a.m., Thomas Baumgart wrote:
> https://bugs.kde.org/show_bug.cgi?id=476121
>
> --- Comment #2 from Thomas Baumgart <tbaumgart@kde.org> ---
> Created attachment 162922 [details]
>    --> https://bugs.kde.org/attachment.cgi?id=162922&action=edit
> Right mouse button clicked on header
>
> Did you try a right mouse button click on the header? This should allow you to
> select the visible columns.
>
Comment 5 Jack 2023-11-07 21:48:09 UTC
Should this be closed, or left as a wishlist to consider increasing the default list of columns in many displays to avoid users thinking the data is missing, instead of just seeing they need to add columns?  I don't know if there is any obvious way to indicate that columns can be added by right-clicking in the header.  Perhaps a tool-tip over the header?
Comment 6 Louise 2023-11-08 15:02:53 UTC
Hi,

As a user, I would like to see the data I have just added displayed, 
with the appropriate header. I don't see the reason for keeping data 
hidden. I spent a lot of time looking for why what I had just enteredwas 
not displayed.

Also, there is still a problem with the panel layout. The last column 
data does not align with the heading, unless a "filler" column is add as 
the last column.

Just my two cents worth.

Louise.



On 2023-11-07 2:48 p.m., Jack wrote:
> https://bugs.kde.org/show_bug.cgi?id=476121
>
> --- Comment #5 from Jack <ostroffjh@users.sourceforge.net> ---
> Should this be closed, or left as a wishlist to consider increasing the default
> list of columns in many displays to avoid users thinking the data is missing,
> instead of just seeing they need to add columns?  I don't know if there is any
> obvious way to indicate that columns can be added by right-clicking in the
> header.  Perhaps a tool-tip over the header?
>
Comment 7 Jack 2023-11-08 20:32:02 UTC
[When replying to a bug by email, please delete all of the previous message, since your entire message becomes the next comment.]

Your points are all valid.  While I don't think it is always best to default to showing ALL available columns in a display, the default should definitely include enough to show that the data is present, even if you need to take some action to see further details.

Can you attach a screen-shot of the misaligned headers?  Is the header over the wrong column, or is it just that the header and column had one  right-aligned and the other left-aligned?   The former could be a bug we can fix.  The latter may be an effect of the table display tool used, and may be harder to deal with, although we'll certainly look.
Comment 8 Louise 2023-11-09 15:55:31 UTC
Created attachment 162975 [details]
attachment-2423735-0.html

Hi Jack,

Here is the screen showing the last column misalignment.

If I add a column after the Total value, the amounts line up with the 
heading.
Comment 9 Louise 2023-11-09 15:55:31 UTC
Created attachment 162976 [details]
1NlTIJsf62YdfUG1.png
Comment 10 Louise 2023-11-09 15:55:31 UTC
Created attachment 162977 [details]
8u2MrUvXQ00QXIk0.png
Comment 11 Jack 2023-11-09 16:51:29 UTC
That does not count as a misaligned column.  The last column shows the Total Value.  The problem is that the label is aligned to the left edge of the column and the values are all aligned to the right.  If you made the window narrower, the alignment would also look better.    The team is aware of this issue.  I think there is already a bug open for it, but I can't check right now.  I don't know if there is any easy solution, although I have plans to try allowing the table to use only as much space as it needs, instead of forcing it to use 100% of the available space.
Comment 12 Thomas Baumgart 2023-11-10 07:34:52 UTC
Git commit 31de8589a061b7bc5ac2d153698cd24d029ccc01 by Thomas Baumgart.
Committed on 10/11/2023 at 08:34.
Pushed by tbaumgart into branch 'master'.

Use same alignment for header and data in accounts view
FIXED-IN: 5.2

M  +28   -24   kmymoney/mymoney/storage/accountsmodel.cpp

https://invent.kde.org/office/kmymoney/-/commit/31de8589a061b7bc5ac2d153698cd24d029ccc01