sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
276 stars 14 forks source link

Tabs Considered Harmful (Sometimes) AKA Return smerge <path> Open New Window Behaviour #773

Open thoran opened 4 years ago

thoran commented 4 years ago

Problem description Previously smerge <path> would open a new window. Now it opens a new tab. All but the current tab is hidden when navigating multiple repositories via the Windows menu, hence hiding the names of the open repositories.

Preferred solution I don't see the point of tabs in this interface at all, even the new per file tabs. It just creates needless visual noise. So, either return the old behaviour of opening a new window or at least make it configurable via Preferences. Perhaps I may prefer to use tabs, but don't force me to do so. The same goes for the per file tabs. Unless I can think of some reason to have per file tabs pretty soon I'd just like them to go away. What functionality do either of things provide which at all, let alone being compelling?

Alternatives Attend design school? File a bug report as I'd almost call this a bug, since bugs aren't necessarily purely functional.

Screenshots I think the explanation above is sufficient.

srbs commented 4 years ago

Workaround: add this to your terminal profile:

alias smerge='smerge -n'
sebrichards commented 4 years ago

This is a particularly irritating regression of functionality for me — I use Alfred to open repositories, and this issue means the repository often opens on another desktop.

thoran commented 3 years ago

Workaround: add this to your terminal profile:

alias smerge='smerge -n'

Thanks for the workaround. Excuse any grumpiness. I was just about to buy a copy that day (I bought a licence the next day actually, once I got over my hissy fit.) to support you guys, even though I now use dark mode, and right before I was about to buy it you 'break' it on me! I still think that a setting internal to the app apart from respecting a command line switch would be good, since that might solve @sebrichards issue even if mine is essentially solved by the use of the -n switch.

adamkerz commented 1 year ago

@srbs that doesn't work on Windows, but you can create a launcher/wrapper that will do the same. But that has a bug (on Windows at least) -n or --new-window will open the repo in a new window ONLY if it's not already open. If it's already open, it just opens a new window and requests that you select a repo...