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

MacOS T-Rec producing empty gif #194

Open
5 of 12 tasks
ddxtanx opened this issue Mar 8, 2023 · 6 comments
Open
5 of 12 tasks

MacOS T-Rec producing empty gif #194

ddxtanx opened this issue Mar 8, 2023 · 6 comments
Labels
OS: MacOS This Issue is MacOS specific Type: Bug Something isn't working

Comments

@ddxtanx
Copy link

ddxtanx commented Mar 8, 2023

Describe the bug
Every time I call t-rec, whether it be in iTerm2, Terminal, or WezTerm, the produced gif is always blank.

To Reproduce
Steps to reproduce the behavior:

  1. I installed it both via cargo and via brew, both lead to the same options
  2. I went to any folder and ran t-rec
  3. I entered some commands, and exited with CTRL-D
  4. I opened the gif and it was a blank white rectangle.

Expected behavior
I expect the gif to be populated w/ my terminal recording.

Screenshots
This is the output from t-rec.
t-rec

Your MacOS Version

  • 11 Big Sur
  • 10.15 Catalina
  • 10.14 Mojave
  • 10.13 High Sierra
  • 10.12 Sierra
  • Older than 10.12

Your Architecture

  • x86 / Intel
  • arm / Apple Silicon

Your Terminal

  • iTerm
  • Alacitty
  • Apple Terminal
  • Other: Wezterm

Additional context

  • I'm running zsh with a couple custom plugins, if they would have any impact
@ddxtanx ddxtanx added OS: MacOS This Issue is MacOS specific Type: Bug Something isn't working labels Mar 8, 2023
@sassman
Copy link
Owner

sassman commented Mar 8, 2023

Can you please double check if your screen recording settings would allow your terminal to record anything? Should look like this:

image

I'm also running on MacOS M1 and don't have any issues.

@ddxtanx
Copy link
Author

ddxtanx commented Mar 8, 2023

I have enabled screen recording for all the terminals I’ve used t-rec on. Even with that it still won’t record

@sassman
Copy link
Owner

sassman commented Mar 8, 2023

You could try to run in --verbose mode and check if the temp-dir (named: Frame cache dir) is filling up with frames.
Then see what is to see on those frames.

@ddxtanx
Copy link
Author

ddxtanx commented Mar 8, 2023

In the folder listed (in this case it was /var/folders/89/hxbx_tts6vd_5gdhbfyhn1300000gn/T/.tmpkHmg9F) there is only one file t-rec-frame-000000255.bmp which is empty just like the GIF. Preview complains that it is damaged or a format it cannot recognize.

@ddxtanx
Copy link
Author

ddxtanx commented Mar 8, 2023

Interestingly, it now seems to only be a problem with the terminal window being fullscreened. Native terminal, iTerm2 and WezTerm all work in windowed mode, but none of them work in fullscreen mode

@sassman
Copy link
Owner

sassman commented Mar 8, 2023

Oh, that is surprising. Never tested that tbh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: MacOS This Issue is MacOS specific Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants