GNOME Bugzilla – Bug 355392
Quit without "last window" prompt if only one window is used
Last modified: 2018-06-29 21:12:32 UTC
This is Debian bug # 386923. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386923 The prompt that is raised when the main gnucash window is closed is incongruous. GnuCash2, by default, remains within the one window so this prompt is confusing. Either the prompt should be tied to the *actual* number of windows open at the time or it should be a configuration setting with a default of OFF. Better still, a Quit button on the toolbar would be much easier for everyone, provided that quits without prompting. Just because some users keep gnucash open for long periods of time does not mean others should be delayed when they want to load gnucash, enter a single transaction and close it quickly.
I agree. If gnucash is displayed as one window anyway, then this warning should not appear. It's bothering me as well if I happen to click the window manager closing button. The "Unsaved data" warning will still appear if closing would mean data loss, so this is not affected.
I do not agree ;-) Is not this what http://svn.gnucash.org/trac/changeset/14580 addresses? Actually I see several possibilities: - wait for GnuCash 2.2 (my favorite) or back-port the change - remove prompt completely. Almost every app does it that way, but Gnucash is not GApp ;-) - add a Quit button on the toolbar. I hate it, what is File->Quit for then ;-) Do not crowd the toolbar. How does this fix closing by the window manager and what app does it anway? - show warning only if "not only one window is used". This means to me that we change an internal state once a second main window is opened and show the warning at the end of the session then, although the user might have worked in one window almost all the time. Counter-intuitive to me. But maybe I did not understand the initial request :)
The whole point of this prompt is that it only appears when there is a single window open and you are trying to close it via the window manager close box. It dates from a time where closing the final window would cause gnucash to quit with no opportunity to cancel and see what unsaved changes were in the file. (c.f. bug 116334) Given that the save changes dialog now allows you to stop the quit operation, I think this dialog can be removed. The Human Interface Guidelines explicitly state that you shouldn't add a quit button to the toolbar because its rarely used and the space is better used for other more useful controls. Typing Ctrl-Q will quit the program without this dialog.
The dialog has been removed on trunk in r14944.
*** Bug 371830 has been marked as a duplicate of this bug. ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=355392. Please update any external references or bookmarks.