Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows, new file do not create a new file #2656

Closed
fyah opened this issue Nov 12, 2020 · 2 comments
Closed

windows, new file do not create a new file #2656

fyah opened this issue Nov 12, 2020 · 2 comments

Comments

@fyah
Copy link

fyah commented Nov 12, 2020

Hello,

Geany 1.36/1.37 (maybe this exists since a long time)

Start geany without opening a document
you get the following window
image

clicking on new file, do not create any new file
we can see however the action in the logs
image

but no new file created
image

If I start geany with a document opened then all I can observe is the same (message, logs) except that the new file action is working fine
image

If I start the application without any document and then I open a file afterwards, it also works as expected

@fyah fyah mentioned this issue Nov 12, 2020
@codebrainz
Copy link
Member

I believe this is intentional and has been the case since very early, if not the initial commit.

See the code here; when you open new untitled document and there's only one new/untitled document that hasn't been changed, it closes the previous untitled document and opens a new one. I'm not sure I see the point of that, but I also don't see a particular problem with it, unless I'm just not seeing the use case for wanting many new/untitled tabs open with no changes to them.

@fyah
Copy link
Author

fyah commented Nov 12, 2020

indeed that seems rigth to me 👍
i just never realized this until recently, because i was looking into the slow startup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants