After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 658247 - First time setup should prompt to save file
First time setup should prompt to save file
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: User Interface General
2.4.x
Other Linux
: Normal major
: ---
Assigned To: Mike Evans
Geert Janssens
Depends on:
Blocks:
 
 
Reported: 2011-09-05 12:08 UTC by Ryan Twitchell
Modified: 2018-06-29 23:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ryan Twitchell 2011-09-05 12:08:43 UTC
When running GnuCash for the first time, I was not prompted to save my accounts as a file after the account hierarchy druid completed.  Additionally, the Save button was not enabled while editing unsaved files (the Save As command was enabled under the file menu, however).  This led me to believe the file was already saved in a default location (this was my first experience with GnuCash).  After closing and reopening the program, I was quite surprised to find no file was opened, and the accounts I had created were nowhere to be found after inspecting my home directory and the ~/.gnucash directory.

This happened with GnuCash 2.4.7 on Gentoo Linux x86_64.

Further invocations of the account hierarchy druid *did* prompt me to save a file at the end when creating new files, but not the instance which is run the first time the program is started.

I was able to replicate this behavior by removing the ~/.gnucash directory and the /apps/gnucash key under gconf and then running GnuCash again: no save dialog is presented at the end of first time setup.

Specifically:
# mv -v ~/.gnucash ~/.gnucash.old
# gconftool-2 --recursive-unset /apps/gnucash
# gnucash

I have marked this bug as major as I feel it affects the impression GnuCash makes on new users (as in my case).  I entered approximately a month's worth of transactions while going through the concepts manual (which is great, thanks!), but lost all that data after closing the program the first time.

I would also like to suggest that: the Save button be enabled for unsaved files, and that it simply behaves like Save As under these circumstances; and that GnuCash prompts to save new files on exit.  These behaviors are quite common for file-based GUI programs and are probably what a lot of new users will expect (I did).

Also, thanks for such a great program.
Comment 1 Mike Evans 2011-11-30 13:45:14 UTC
Thank you for reporting this bug.

I can confirm this behaviour still exists in the devel version and I agree with your remarks.
Comment 2 Mike Evans 2011-12-16 14:40:37 UTC
Fix commited to trunk as r21732.

NB. To save your gconf settings also do:
gconftool-2 --dump apps/gnucash > gnucash.settings
then,
gconftool-2 --load gnucash.settings
to restore.

This doesn't appear to be well documented in the gconftool-2 man page.
Comment 3 Mike Evans 2011-12-16 14:41:45 UTC
(In reply to comment #2)

Forgot:
Fix supplied by Bob in patch, Bug 665996.
Comment 4 John Ralls 2017-09-24 22:47:11 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 5 John Ralls 2018-06-29 23:00:43 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=658247. Please update any external references or bookmarks.