Skip to content

Please bring back: opening files as additional tab, not as new window #1858

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

Closed
bub0-bub0 opened this issue May 27, 2025 · 3 comments
Closed
Labels
feature feature requests from users

Comments

@bub0-bub0
Copy link

bub0-bub0 commented May 27, 2025

Current issue

I'm very frustrated with the new version 5.1.6, because now every opened file is a new window. :-(

BTW:
The Merge function for open files is not an alternative ATM, because it messes up existing tabs! :-(

The solution you'd like

I like to use several text files in tabs, love the auto save function of CotEditor.
So I use much tabs with code or other text documents as drafts, until I decide to save them with names on SSD.
And I have always tabs open with my favourite files like .htaccess and log files of my websites.

I don't want to open files in new windows.
I like it to add new opened files to my tabs and switch between them.

Please, bring this function back!
Thanks in advance.

Alternatives you've considered

Merge all opened files as tabs could only be a solution, if CotEditor keeps the sequence of existing tabs and don't mix everything up.

CotEditor version

5.1.6

macOS version

Sequoia 15.5

Additional context

No response

@bub0-bub0 bub0-bub0 added the feature feature requests from users label May 27, 2025
@1024jp
Copy link
Member

1024jp commented May 28, 2025

The window tab feature has not been removed.
You can manage the behavior in Settings > Window > "Open documents in tabs."
When "Always" is set all documents should be opened as a tab for existing window.
Please check your setting.
If it doesn't work, it must be a bug. Please report it.

Image

However, if the document is a folder document, window tabbing is not available.
This has been already discussed in #1712.

@bub0-bub0
Copy link
Author

Thank you for fast reply.
While I was checking again all possibilities and repeating the steps – suddenly it works again as expected!

I have only switched force and back in the Settings > Window > "Open documents in tabs":
My normally set: “Always”.
Switched to “Automatically” (doesn't work, but expected. Only a test).
Switched back to the right and always used setting “Always”.

Since then it works! Now I can use F4 in Commander One Pro to open every file I haven't open before to get it as additional tab in my existing tab window again. :)

@1024jp
Copy link
Member

1024jp commented May 30, 2025

Thanks for the status report.
First of all, I'm glad your problem is resolved.

As for not opening in tab windows despite the correct setting, I’ve checked the code as well, but unfortunately, I haven’t been able to pinpoint the cause yet.
However, I’ll keep this issue in mind and try to recall it when I receive similar feedback in the future.

@1024jp 1024jp closed this as completed May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature feature requests from users
Development

No branches or pull requests

2 participants