The check box 'Show Unused Accounts' on the budget screen has to be ticked each time the budget is accessed. Would it be possible for the user choice to be kept similar to the way it works on the accounts screen.
I have changed the default to show unused accounts in PR442. The value is saved as part of saving the page when it is open on exit just like the accounts page. If you close the budget page and then reopen it you will get the default setting which will show the unused accounts. Hopefully this will get added in time for 3.4, just need to see if it is accepted.
As you hinted in the commit comment, this change is only part of the gui's save state, not the budget itself. One step back: I can valid used cases for both defaults. Not showing unused accounts by default makes sense when the user is mostly consulting a previously set up budget or when the budget is covering only a small subset of the available accounts. On the other hand showing unused accounts by default is more user friendly when the user is frequently adding budget data to still unused accounts. By flipping the default for unused accounts when opening a budget report, you are now transferring the annoyance from users in the second group to users in the first group :( If we commit this as is you can expect a bug report for the opposite case. I have been there in the past with similar changes. So I think the proper solution is as you already guessed: make it a budget level option which accounts to show. If we can add this in a way that that budget can still be read in older versions of gnucash (albeit by ignoring the option) it can go in the 3.x series, otherwise it will have to go into 4.x.
I have dropped this from the PR, will think about it.
Hi guys thank you for looking at this. The problem is not the default but the fact if you change the setting and save it when you next access the budget your choice has not been saved. Is it possible to amend one of the files to stop this from happening?
I think that should be possible: we could choose to save state for each budget regardless of whether it's currently open or not. We do the same for registers. This state is saved in the metadata file. To be clear we currently don't do this for budgets. My suggestion is we could in the future.
Bob has written a patch for the budgetting code such that a. budgets will show unused accounts by default b. The user can override this per budget via View->Filter By... c. the user preference will be saved and restored when reopening the book This patch will be part of gnucash 3.5
Thanks Bob, much appreciated, great product.
*** Bug 796990 has been marked as a duplicate of this bug. ***