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

Screenshare of multi-tab Ghostty only shows initial tab #692

Closed
nwjsmith opened this issue Oct 16, 2023 · 3 comments
Closed

Screenshare of multi-tab Ghostty only shows initial tab #692

nwjsmith opened this issue Oct 16, 2023 · 3 comments
Labels
os/macos upstream Issue is in an upstream project

Comments

@nwjsmith
Copy link
Collaborator

nwjsmith commented Oct 16, 2023

When screen sharing a multi-tab Ghostty window, only the initial tab is visible. A recording demonstrating with Google Meet and Chrome:

tabs-screensharing-ghostty-bug-small.mp4
@mitchellh
Copy link
Contributor

mitchellh commented Oct 16, 2023

Interesting! I'm going to have to see if this is "working as expected" or if there is anything I can do to avoid it. Some background: We're not doing anything special with tabs -- they're bog standard macOS native tabs. But native tabbing in macOS is done through multiple windows: each tab is a separate NSWindow under the covers (that's the official API, nothing we can avoid). I wonder if Google Meet is binding to some specific NSWindow id...

I'm not blaming them, I haven't looked into this yet, just my initial "oh I wonder...." thoughts.

If that is the case, there is nothing we can probably do about it. Lots of applications implement a custom tab bar and I'm sure this sort of thing is one of the reasons. That's not really reasonable for me to do right now (its a ton of work, you have to reimplement all the behaviors like drawing, focus, drag to reorder, drag out/in, overflow, etc.), so I hope that's not it!

@mitchellh mitchellh added the upstream Issue is in an upstream project label Oct 16, 2023
@mitchellh
Copy link
Contributor

Bad news. This is a macOS or Google Meet bug. I just created the SwiftUI sample project in Xcode with zero modifications and the same bug is exhibited. I don't know who to report this to exactly...

CleanShot 2023-10-16 at 12 30 31@2x

@antoineco
Copy link

For information this is a common issue on macOS, and not specific to Google Meet. Any application that uses native tabs will exhibit this behavior while sharing a single window. For instance, this can be reproduced in the macOS Finder through Slack, Zoom, Discord, Google Meet, etc.

antoineco added a commit to antoineco/dotfiles that referenced this issue Jan 23, 2025
Good replacement for the Apple Terminal, but too barebones to justify
the switch from anything else for me:

- no copy mode
  ghostty-org/ghostty#3488
- only a single tab is visible while sharing the Ghostty window
  ghostty-org/ghostty#692
- no Windows support
  ghostty-org/ghostty#2563
- no scrollback search
  ghostty-org/ghostty#189

This reverts commit 71f7167.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os/macos upstream Issue is in an upstream project
Projects
None yet
Development

No branches or pull requests

3 participants