Bug 493802 - OS 4k display scaling 200% fails on home page
Summary: OS 4k display scaling 200% fails on home page
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.1.3
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-29 00:10 UTC by Pete
Modified: 2024-09-29 19:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pete 2024-09-29 00:10:34 UTC
STEPS TO REPRODUCE
1. launch KMM
2. 
3. 

OBSERVED RESULT
Home Page font is not scaled as per display setting. Monitor is set to 4k resolution. Scaling is set to 200%.

EXPECTED RESULT
Scaling factor of 200% applied to the entire home page.

SOFTWARE/OS VERSIONS
Ubuntu Linux 22.04
Comment 1 Jack 2024-09-29 00:33:49 UTC
I'd start by raising this on an Ubuntu forum or mailing list.  I'm pretty sure KMM doesn't do anything special based on display resolution or scaling - that's the job of the window manager.  I assume you are using Gnome, and I have no experience there (I use KDE/Plasma.)  Are you using xorg or Wayland?  Have you tried the other?  Is KMM the only program that fails to scale properly?
Comment 2 Pete 2024-09-29 00:51:35 UTC
(In reply to Jack from comment #1)
> I assume you are using Gnome
YES

> Are you using xorg or Wayland?
Wayland is the default

> Have you tried the other?
NO

> Is KMM the only program that fails to scale properly?
YES (so far)
Comment 3 Pete 2024-09-29 15:32:06 UTC
When you highlight a row other than the last one (most recent) in an account's register, then minimize the KMM software, then un-minimize, the selected row in no longer highlighted.  It is the last one that acquires the highlight.

This is a real productivity buster.

You need to review how KMM behaves in a 4k environment.  It has very obviously not been tested under these conditions.
Comment 4 Jack 2024-09-29 16:15:16 UTC
I'll be glad to test if you want to buy me a 4K monitor :-)   The developers can only test on equipment they have.  I recall we've had issues reported on hi-dpi displays, and it's possible that's the actual issue, rather than the actual screen resolution.  I'll see if I can try testing with scaling on a smaller monitor - it might also show the problem.

Regarding losing focus after minimizing, I just confirmed that behavior on a non-4k screen under Xorg with 5.1, but apparently fixed in master branch.

If your original issue is still present in master branch, then it would really help if you could test on Xorg, and if you could test other KDE programs.  (See https://kmymoney.org/download.html for how to get an Appimage version compiled from git master branch.)
Comment 5 danfrantes 2024-09-29 16:18:02 UTC
Hello, can you specify what version of app and KDE plasma are using?
 
PS. Try updating
Comment 6 Pete 2024-09-29 18:34:10 UTC
I am not sure I fully understand your jargon.

The AppImage at your link provided above is what I have been using for months (version 3218).  Is this what you call master branch?

I can try booting my Ubuntu 22.04 LTS with Xorg, if you wish.  I will report back later this afternoon on this test.
Comment 7 Pete 2024-09-29 18:44:28 UTC
I am so busy I did not bother to read to the end of the page, sorry about that :-)

The master (version 3536) eliminates the scaling problem and the register focus problem with default Ubuntu 22.04 LTS.

However, on the home page, in the liability accounts at the very top, the amounts that were always in red are now in black.  Please fix.  Thanks.
Comment 8 Jack 2024-09-29 19:06:51 UTC
Sorry for any confusing terminology.  When reporting the version you are using, it helps state what Help/About KMyMoney says.  In this case, it wouldn't have actually mattered, but the full version would have told us you were using the Appimage and not a version released by the distribution. (You would have to include that in the report, as the dropdown for versions does include "git(master)" but not a way to say git(stable) or git(5.1).

Code development is done in git, in which there are different "branches" which allows multiple lines of development to be tracked.  The 5.1 branch has the code for 5.1.3, and includes bug fixes.  The Appimage versions compiled from the code in the 5.1 branch will have versions like kmymoney 5.1.3-eef04f1 where that last bit shows the exact "commit" (specific change) included.  The "master" branch includes additional bug fixes, plus new features.  In this case, one of the major changes is a major rewrite of the ledger code.  Versions from master branch look like kmymoney 5.1.80-fd13f44.

The code from master branch will be released as 5.2, but there is not yet a definite timeline for that.  Given that your two main problems have been addressed there, I will close this as resolved in 5.2.  Although using master branch is labelled as experimental, there are multiple folks who have been using it for their day-to-day work.  The only special advice is be sure to keep good backups. 

I'm not absolutely certain, but I believe that the change of display color for the balance of liability accounts is intentional.  Since they are LIABILITY accounts, a positive amount (shown in black) is what you owe.  While you could open a wishlist bug requesting it be changed back, or made a configuration choice, I do not suspect it will get much priority.
Comment 9 Pete 2024-09-29 19:17:35 UTC
With the master, quotes no longer work for Currency and Yahoo Finance.

Could you please provide the required updates or just issue a revised master?

Thanks.
Comment 10 Pete 2024-09-29 19:33:08 UTC
Again in the master, I just noticed that home page future payments for credit cards now generate 2 rows rather than one.

Very confusing.

The schedule name (credit card) and account (chequing) appear as before with the amount in red as before.

The "duplicate" useless new row shows the schedule name (credit card) and account (credit card) with the same amount but in black.  Please filter this out, it is seriously confusing and counter productive.
Comment 11 Pete 2024-09-29 19:50:09 UTC
Again in the master, the stock quote screen does not remember its resizing.  It always reverts back to a too-small screen.
Comment 12 Jack 2024-09-29 19:58:55 UTC
This is now getting away from bugs and towards user support and usage issues.  Please work through these on Discuss or the mailing list or other location listed at https://kmymoney.org/support.html.   Thanks for understanding.