GnuCash
Contact   Instructions
Bug 788157 - "Open Budget" Menu Item Doesn't Select Default Budget
Summary: "Open Budget" Menu Item Doesn't Select Default Budget
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Budgets (show other bugs)
Version: 2.6.x
Hardware: Other Windows
: Normal normal
Target Milestone: ---
Assignee: core
QA Contact: core
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-25 16:03 EDT by Robert Chapin
Modified: 2020-06-01 15:26 EDT (History)
5 users (show)

See Also:


Attachments

Description Robert Chapin 2017-09-25 16:03:17 EDT
Steps to reproduce this bug:

1. Create at least 2 budgets under Actions > Budget > New Budget.
2. Go to File > Properties > Budgeting tab.
3. Select a Default Budget and click OK.
4. Go to Actions > Budget > Open Budget.

Expected behavior:

The default budget should be highlighted so that I only have to press Enter.

Actual behavior:

GnuCash always highlights the first item in the list, which appears to be the most recently created budget.  They are not even in alphabetical order.
Comment 1 Robert Chapin 2018-04-18 17:38:53 EDT
Same problem exists in GnuCash 3.0.
Comment 2 Robert Chapin 2018-05-09 18:52:54 EDT
GnuCash 3.1 same problem.
Comment 3 Robert Chapin 2018-07-26 09:20:43 EDT
GnuCash 3.2 same problem.
Comment 4 Adrien 2018-08-14 12:20:13 EDT
Yes, for me too they seem to be in the order they were created with newest at the top and selected. (so I just have to hit [ENTER] to open it) Though, this is not the default set in File > Properties > Budget as you describe.

I would have thought that preference to operate on reports/charts because it specifically says "Budget to be used when none is otherwise specified" and opening a budget involves selecting it, but usually running a report the first time requires specifying the budget to be used.

However, this is not the case. Changing that preference has no effect on what budget is used for any report or chart. (it defaults to the current budget)

I even tried exiting and reloading GnuCash to see if the Apply button was not working properly, with no effect.

I don't see any other place a budget would need to be 'default' because it might not yet be selected. I suppose offering the newest budget is a sane default, but if you're given the option to specify some other default, that preference should be honored.
Comment 5 Robert Chapin 2018-10-03 08:41:38 EDT
Default Budget still completely broken in 3.3.  Does not apply to Open Budget.  Does not apply to Budget Report.  Useless.
Comment 6 Robert Chapin 2019-01-07 20:16:20 EST
Confirmed bug in v3.4.
Comment 7 Robert Chapin 2019-04-04 16:18:59 EDT
Confirmed bug in v3.5.
Comment 8 John Ralls 2019-05-23 15:42:12 EDT
Adrién Panella has contributed a fix that will be in tomorrow's nightly. Please test it.
Comment 9 Robert Chapin 2019-05-30 12:53:20 EDT
Fixed for me in 3.5-238

Note You need to log in before you can comment on or make changes to this bug.