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

Tabs in Ghostty treated as visible windows #887

Closed
lukeberry99 opened this issue Dec 27, 2024 · 3 comments
Closed

Tabs in Ghostty treated as visible windows #887

lukeberry99 opened this issue Dec 27, 2024 · 3 comments
Labels
bug Something isn't working as expected

Comments

@lukeberry99
Copy link

lukeberry99 commented Dec 27, 2024

Describe the bug
When creating new tabs in Ghostty, they're treated as additional windows on the page - which just serves to shrink the current visible window.

I believe this is related to the native tabs issue below?

Related issues you could find
#68

@lukeberry99 lukeberry99 added the bug Something isn't working as expected label Dec 27, 2024
@lukeberry99
Copy link
Author

Closing, as I've found a few issues that are identical to this that are already closed

#778

@lukeberry99 lukeberry99 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2024
@pix2D
Copy link

pix2D commented Dec 27, 2024

Just for reference if anyone else runs into this. My workaround is this in the AeroSpace config:

[[on-window-detected]]
if.app-id = "com.mitchellh.ghostty"
check-further-callbacks = true
run = "layout floating"

Reload the config, this needs to be in place before Ghostty is started (so if you just added it, reload the AeroSpace config and then restart Ghostty). It will then always start in floating mode, and when you unfloat it (opt-shift-semicolon f by default) everything works fine.

The key seems to be that it starts floating. If you start it normally, and then float and unfloat it does not work.

@crierr
Copy link

crierr commented Dec 27, 2024

The reason it looks like it works is because only one of the tabs is tiled. While using this as a workaround, you should remember which tab is the tiled layout and not close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

3 participants