The project_ask_close dialog box ("Do you want to close it before proceeding?") slows down switching between different projects, so I'd like a way to disable it.
I've made the following change in my local copy: add "skip_project_ask_close" to the various options tab, and check it in project_ask_close(). Default false to preserve the current behaviour.
If you have the changes then best to make a pull request, don't forget to do the manual entry for the setting.
sorry, that commit doesn't include the manual update, I'll do that
Can't we just have a "Don't show this message again"-style checkbox on the dialog itself?
Can't we just get rid of this annoying dialog altogether? Geany is able to save the session and project related settings, and it has a recent projects menu, so if you by some fluke accidentally closed the project, you can re-open it in like 2 seconds, instead of making every single user suffer the dialog each and every time unless they find some obscure various setting. </rant>
I guess experienced users don't need or want the dialog, but new users may be expecting both projects to be open like many other IDEs and like `open`ing files. If the dialog is removed then when a project is already open the `Open Project` menu item should change to `Switch Project` to indicate to new users its not an additional project, oh wait changing menus violates G* rules ... by being useful and helpful </my rant>.
I like the suggestion by @kugel- of a "don't show this again" on the dialog, we are trying to not let stuff be heaped into `Various` prefs.
I have serious doubts removing a confusing dialog will confuse new users more than not having it. All of Geany's UI updates when a new project is open, so there's no possibility for confusion, it shows the project in the titlebar, a message in the statusbar, and logs a message in the status tab.
The same UI changes could just as easily indicate that the new additional project was opened. That doesn't override any user expectation of how it works. We have had questions that make it obvious that users don't understand the limitation of one Geany "project" at a time and heaven forbid they should RTFM.
For reference it was added since day one of project support with no rationale given in 716360ee6d1b5f566000c0ac04ad0fe5fc98d4b9. @eht16 do you happen to recall why this dialog was added?
github-comments@lists.geany.org