status of theme support on Windows and unreadable items

Thomas Baumgart thb at net-bembel.de
Sun Nov 16 08:06:04 GMT 2025


On Dienstag, 4. November 2025 08:34:18 CET Ingo Klöcker via KMyMoney-devel wrote:

> On Dienstag, 4. November 2025 02:48:04 Mitteleuropäische Normalzeit Jack via 
> KMyMoney-devel wrote:
> > There have been multiple recent bugs and Discuss threads regarding
> > issues with Windows themes resulting in either transactions or ledger
> > header lines being displayed with background and foreground colors
> > either the same or too close for the text to be readable.  Are all the
> > solutions offered so far only workarounds for Windows handling of
> > themes or perhaps KMM's interaction with Windows handling of themes, or
> > is there any better understanding of the underlying problem?
> 
> I'm wondering if KMyMoney uses custom colors for certain UI elements (via 
> stylesheets or by explicitly setting palette colors) or whether it relies on 
> the widget style. If it's the former then this is would point to wrong 
> assumptions about foreground and background colors when setting custom colors. 
> On the other hand, if KMyMoney relies on the widget style (which should always 
> be Breeze on Windows) then things can likely be fixed in the Breeze style. I 
> have fixed a few things in Breeze with regards to Windows' High Contrast color 
> themes that I noticed while working on Kleopatra for Windows. I'm not aware of 
> issues with Breeze Light or Breeze Dark on Windows. If KMyMoney doesn't do so 
> already I strongly suggest that KMyMoney uses KColorScheme and the Breeze 
> color schemes on Windows.

KMyMoney uses KColorScheme and the widget style. Yesterday, I made this change

  https://invent.kde.org/office/kmymoney/-/commit/d9fda547

which solves the problem. The same problem in fact is also present in the KPageView
widget which also has been reported by (KMyMoney) users and is reproducible for
me on Win10 by starting KMyMoney with the option --style=windows11. 

@Ingo: do you know of a method to build a KMyMoney windows executable using KDE's
craft build system with the framework/kwidgetaddons of a specific branch? Or is
this not even possible?

Thomas

-- 

Regards

Thomas Baumgart

-------------------------------------------------------------
Teamwork is the secret that makes common people achieve uncommon results.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20251116/6b521d02/attachment.sig>


More information about the KMyMoney-devel mailing list