SUMMARY Recent changes in master case the welcome page no longer shown when no book is loaded. It shows for a second but gets replaced by an empty graphs — "Net Worth Forecast" in my case. STEPS TO REPRODUCE 1. Open a book 2. Close a book OBSERVED RESULT Notice the graph is shown, not the welcome page EXPECTED RESULT Welcome page should be shown as previously
(In reply to Dawid Wróbel from comment #0) > Recent changes in master case the welcome page no longer shown when no book > is loaded. It shows for a second but gets replaced by an empty graphs — "Net > Worth Forecast" in my case. Thanks for pointing this out, which is probably an issue with https://invent.kde.org/office/kmymoney/-/commit/897ccf9e4163c1f42e254bd81dd914827938a12d The simplest solution is to revert this commit, fixing that commit will need some investigation.
(In reply to Ralf Habacker from comment #1) > The simplest solution is to revert this commit, I did that, but it didn't help. The reason for this issue is that KMyMoneyView::loadView() does not recognize the "closed file" case.
Git commit 71a67b8280d45e42820550f45e8488a8519b87da by Ralf Habacker. Committed on 14/10/2022 at 07:08. Pushed by habacker into branch 'master'. Fix 'Welcome page no longer shown after closing a book' KHomeViewPrivate::loadView() did not recognize the case "file close". M +5 -1 kmymoney/views/khomeview.cpp M +5 -0 kmymoney/views/khomeview_p.h https://invent.kde.org/office/kmymoney/commit/71a67b8280d45e42820550f45e8488a8519b87da
(In reply to Ralf Habacker from comment #3) > Git commit 71a67b8280d45e42820550f45e8488a8519b87da by Ralf Habacker. .. > KHomeViewPrivate::loadView() did not recognize the case "file close". This problem only occurs in the master branch. In 5.1and 4.8 this is detected correctly (see https://invent.kde.org/office/kmymoney/-/blob/5.1/kmymoney/views/khomeview_p.h#L417).