Bug 491494 - Blank Home Page
Summary: Blank Home Page
Status: CONFIRMED
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (show other bugs)
Version: 5.1.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
: 496854 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-08-09 17:00 UTC by İsmail
Modified: 2024-12-01 21:29 UTC (History)
2 users (show)

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


Attachments
Screenshot that shows the blank home page issue. (124.68 KB, image/png)
2024-08-09 17:00 UTC, İsmail
Details
Terminal output of "$ kmymoney 2&> kmymoney-out" (138.33 KB, text/plain)
2024-08-09 17:02 UTC, İsmail
Details
Screenshot of the components tab (45.64 KB, image/png)
2024-08-10 16:24 UTC, İsmail
Details
Nvidia driver report (3.89 KB, text/plain)
2024-08-11 15:23 UTC, İsmail
Details

Note You need to log in before you can comment on or make changes to this bug.
Description İsmail 2024-08-09 17:00:49 UTC
Created attachment 172447 [details]
Screenshot that shows the blank home page issue.

SUMMARY
When I launch the KMyMoney, it frequently starts with a blank home page even though I have enough records to display. I don't know what causes this. I suspect from some incompatibility of wayland. But can it be affected from global theming as well? I attach a screenshot showing the issue.

STEPS TO REPRODUCE
1. Open a session in Wayland
2. If the error does not occur, try changing the global themes, try using non-breeze themes
3. Launch KMyMoney

OBSERVED RESULT
A blank home page.

EXPECTED RESULT
A home page that display some summary of my financial state.

SOFTWARE/OS VERSIONS
Operating System: Garuda Linux
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.3-zen1-2-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i5-12450H
Memory: 31.1 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2

ADDITIONAL INFORMATION
Added a screenshot. Please let me know if I should provide further details. I will also provide the terminal output when I launch it from konsole as an attachment.
Comment 1 İsmail 2024-08-09 17:02:48 UTC
Created attachment 172448 [details]
Terminal output of "$ kmymoney 2&> kmymoney-out"
Comment 2 Jack 2024-08-09 17:44:56 UTC
The home page (as well as the display of many reports) is generated as HTML, and there seem to be some circumstances where this is not handled correctly (or at all) leading the the black area.  It is certainly possible wayland is involved, but we need more information first.
What are the KDE versions shown by the Components tab of Help/About KMyMoney?  (KMyMoney has not yet been ported to Qt/KDE 6.)
Also, can you try running an Appimage version to see if it works?  Over the past months, some of the underlying libraries KMM uses have changed, but of course I don't remember the details when it matters.  (see https://kmymoney.org/appimage.html)
Comment 3 İsmail 2024-08-10 16:22:54 UTC
(In reply to Jack from comment #2)
> The home page (as well as the display of many reports) is generated as HTML,
> and there seem to be some circumstances where this is not handled correctly
> (or at all) leading the the black area.  It is certainly possible wayland is
> involved, but we need more information first.
> What are the KDE versions shown by the Components tab of Help/About
> KMyMoney?  (KMyMoney has not yet been ported to Qt/KDE 6.)
> Also, can you try running an Appimage version to see if it works?  Over the
> past months, some of the underlying libraries KMM uses have changed, but of
> course I don't remember the details when it matters.  (see
> https://kmymoney.org/appimage.html)

I have already tried with the latest AppImage and the behaviour is the same. It resets when I delete ~/.config/kmymoney directory but the next time I launch it, it is blank again. I will attach a screenshot of the "Components" tab as next.
Comment 4 İsmail 2024-08-10 16:24:55 UTC
Created attachment 172476 [details]
Screenshot of the components tab
Comment 5 Jack 2024-08-10 16:58:01 UTC
If you delete ~/.config/kmymoney and start the app (only Appimage or also the distro's 5.1.3?) it works ok, but only the first time you run it?
Have you also tried an Appimage from master branch?
Comment 6 Jack 2024-08-10 17:17:41 UTC
I am unable to reproduce this on ArtixLinux (similar to ArchLinux, but with openrc and no systemd) either the distro 5.1.3, or a recent 5.1 or master branch Appimage, either on xorg or on wayland.  I doubt the Arch and Artix PKGBUILDs are different, but I'll have to check to be sure.

However, I just found https://bbs.archlinux.org/viewtopic.php?id=296427 which looks like your problem.  What video driver are you using?  Do any of the suggestions there help?
Comment 7 İsmail 2024-08-11 15:22:44 UTC
Hi,
I will try with the AppImage's master branch. Have you tried to reproduce using different global themes? I will also attach my graphic driver information please check it. No, I didn't tried to degrade my GPU driver version and as a matter of fact I am not willing to do it.
Comment 8 İsmail 2024-08-11 15:23:18 UTC
Created attachment 172510 [details]
Nvidia driver report
Comment 9 Bug Janitor Service 2024-08-26 03:47:32 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 10 İsmail 2024-08-28 20:36:50 UTC
I confirm that this is a Wayland related issue. I use KMyMoney home page without any issue in X11 no matter what theme selected.
Comment 11 farfouille64 2024-09-17 09:28:33 UTC
Hi,
I started the topic in arch linux forum referenced in https://bugs.kde.org/show_bug.cgi?id=491494#c6.
I can only use kmymoney 5.1.3 with wayland if it runs under Xwayland (QT_QPA_PLATFORM="xcb" kmymoney) or using Xorg session.
Since that topic, I don't have to downgrade Nvidia driver to 535 serie anymore, since Nvidia 555.58 driver serie, kmymoney works correctly using Xwayland. Though, it still displays a blank home page in native wayland with an awful bunch of fail messages (EGL_BAD_CONTEXT stuff) that clutters the journal and slow down significantly kmymoney (look at the messages frequency in https://bugsfiles.kde.org/attachment.cgi?id=172448)

My setup :
- kmymoney 5.1.3
- linux : 6.10.10
- nvidia driver : 560.35.03-6
- gnome : 46.5
Comment 12 Thomas Baumgart 2024-11-30 11:46:26 UTC
*** Bug 496854 has been marked as a duplicate of this bug. ***
Comment 13 hongster 2024-11-30 21:13:02 UTC
One observation and perhaps a good news is something I tried - I booted up the liveCD, installed KMyMoney from the repository, and it all worked, home page appeared correctly. Not sure then if this would help lead to any clues as to what may be contributing to this bug.
Comment 14 Jack 2024-12-01 19:20:45 UTC
*** Bug 496854 has been marked as a duplicate of this bug. ***
Comment 15 Jack 2024-12-01 19:22:08 UTC
@hongster:  when you did have the problem, were you running X11 or Wayland, and which were you running from the liveCD?
Comment 16 hongster 2024-12-01 21:29:37 UTC
When I ran with problems, it's not from the livecd, on Wayland.