Bug 498330

Summary: Blank Homepage Summary in KMyMoney when using Wayland
Product: [Applications] kmymoney Reporter: Alain AUBERT <aubert66>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal CC: john.kizer, p2ranger
Priority: NOR    
Version First Reported In: 5.1.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alain AUBERT 2025-01-06 19:05:03 UTC
SUMMARY
When I launch a KDE or GNOME session with Wayland, the customized homepage of KMyMoney appears completely blank (white). It displays correctly when X11 is used.
In the homepage configuration (Configuration > KMyMoney Configuration > Homepage), when I click the box "Remember zoom factor when closing the application after manually changing it with the mouse wheel", the homepage summary displays correctly.
To verify, I open a KDE session under X11, and KMyMoney correctly displays the homepage summary. Then, I switch back to Wayland, and the homepage is entirely blank. The display bug persists.
When I slightly adjust the zoom factor value, the homepage displays correctly.

STEPS TO REPRODUCE

    Enable Wayland.
    Open KMyMoney.
    The homepage summary is completely blank.
    Adjust the zoom factor values.
    The homepage summary displays correctly.

OBSERVED RESULT
The homepage summary is completely blank.

EXPECTED RESULT
The homepage summary should display correctly as soon as the application is opened.

ADDITIONAL INFORMATION
I tried on MX Linux, the bug was identical
Comment 1 Alain AUBERT 2025-01-06 19:14:34 UTC
Operating System: Arch Linux 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.8-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor
Memory: 15.5 Gio of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
Comment 2 John Kizer 2025-01-13 17:55:18 UTC
Hi - for what it's worth, I can't reproduce using those steps on the system below (using the KMyMoney Flatpak):

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.8-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 30.4 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070 SUPER/PCIe/SSE2
Comment 3 Jason Cotting 2025-02-10 03:23:53 UTC
I can reproduce the blank home page on Wayland with proprietary NVIDIA drivers. It worked on X11. 

@Alain Aubert 's steps to fix with the zoom setting brought it back once. After closing it and openning it back up again, the zoom fix does not work.
Comment 4 Jason Cotting 2025-02-10 03:28:31 UTC
(In reply to Jason Cotting from comment #3)
> I can reproduce the blank home page on Wayland with proprietary NVIDIA
> drivers. It worked on X11. 
> 
> @Alain Aubert 's steps to fix with the zoom setting brought it back once.
> After closing it and openning it back up again, the zoom fix does not work.

Openning KMM by command line using this will bring back the homepage:

QMLSCENE_DEVICE=softwarecontext QT_OPENGL=software kmymoney