Bug 510312 - Highlighted transaction in ledger now unreadable as highlight is white on white
Summary: Highlighted transaction in ledger now unreadable as highlight is white on white
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (other bugs)
Version First Reported In: 5.2.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-06 18:15 UTC by Lawrence Wright
Modified: 2025-10-09 15:57 UTC (History)
2 users (show)

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


Attachments
Broken display (149.82 KB, image/png)
2025-10-06 18:15 UTC, Lawrence Wright
Details
Correct display (153.16 KB, image/png)
2025-10-06 18:15 UTC, Lawrence Wright
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lawrence Wright 2025-10-06 18:15:15 UTC
Created attachment 185558 [details]
Broken display

SUMMARY

The ledger view is really hard to use on recent KMyMoney 5.2 builds as the highlighted transaction is now white on white, rather than white text with a blue background. From the versions I have easily available:

Version 5.2.1-4b18ddd (5.2-4851) - Broken
Version 5.2.1-14d2930 (5.2-4845) - Broken
Version 5.2.1-0683f36 (5.2-4820) - OK

STEPS TO REPRODUCE
1. Install affected version
2. Go to ledger
3. Move up and down through transactions and watch them disappear as they're highlighted

OBSERVED RESULT

Transaction "disappears" as display is same-colour on same-colour (e.g. white text on a white background)

EXPECTED RESULT

Transaction highlighted with dark background (e.g.) blue and white text

SOFTWARE/OS VERSIONS
Windows: 24H2

ADDITIONAL INFORMATION

Please see attachments for screenshots
Comment 1 Lawrence Wright 2025-10-06 18:15:38 UTC
Created attachment 185559 [details]
Correct display
Comment 2 Adilson Urso 2025-10-08 12:10:20 UTC
I have the same problem, the selected ledger row is unreadable.
Version 5.2.1-4b18ddd (Windows 11 24H2)
Comment 3 Thomas Baumgart 2025-10-09 11:18:02 UTC
Very strange. The only relevant code change between

Version 5.2.1-14d2930 (5.2-4845) - Broken
Version 5.2.1-0683f36 (5.2-4820) - OK

is https://invent.kde.org/office/kmymoney/-/commit/a31e15fc and I don't see how this could influence the foreground and/or background color.  Plus, it only happens on Windows. I can't duplicate it here on Linux using Qt5 nor Qt6.
Comment 4 Ingo Klöcker 2025-10-09 12:03:30 UTC
The newer build uses a different Craft cache (which means that something basic changed). Could be the update to Qt 6.9.2.
Comment 5 Thomas Baumgart 2025-10-09 14:44:35 UTC
I doubt that: The build kmymoney-5.2-4867-windows-cl-msvc2022-x86_64.exe works just fine on Win10. To me this seems another problem introduced by/on Win11.
Comment 6 Ingo Klöcker 2025-10-09 15:12:42 UTC
Thomas: Which style does KMyMoney use on Windows? Breeze?

Lawrence: Does the problem also occur if you start KMyMoney from cmd.exe with `kmymoney -style fusion` or `kmymoney -style windows`?
Comment 7 Lawrence Wright 2025-10-09 15:57:17 UTC
Hi Ingo,

Launching from cmd.exe

kmymoney = has issue
kmymoney -style fusion = works correctly
kmymoney -style windows = works correctly

Hope that helps!

Lawrence.