withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.06k stars 58 forks source link

iTerm2 floating windows doesn't work #2601

Open sleepymalc opened 1 year ago

sleepymalc commented 1 year ago

Checks

Operating system

macOS 13.4.1 (22F82)

Expected behaviour

Works in iTerm2's hotkey window (All Space): image image

Actual behaviour

Nothing is showing up: image While a separated iTerm2 terminal does work: image

Steps to reproduce

Not sure how to reproduce it since it just doesn't work.

However, it's possible to make it "work" by calling out a separated iTerm2 terminal (which works) and then calling the hotkey window. However, after some normal use, it stops working again.

https://github.com/withfig/fig/assets/60427058/532ae81e-7ad2-41d0-a632-d4183ad20b5a

Environment

fig-details:
  - 2.16.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Apple M1 Pro
  - cores: 10
  - mem: 32.00 GB
os-info:
  - macOS 13.4.1 (22F82)
environment:
  - shell: /usr/local/Cellar/fish/3.3.1/bin/fish
  - terminal: iterm
  - cwd: /Users/pbb
  - exe-path: /Users/pbb/.fig/bin/fig
  - install-method: unknown
  - env-vars:
    - FIG_TERM: 2.16.0
    - SHELL: /usr/local/bin/fish
    - __CFBundleIdentifier: com.googlecode.iterm2
    - FIG_PARENT: 
    - FIGTERM_SESSION_ID: e5766b18-c05f-4266-8b50-57308d9ca9d5
    - TERM: xterm-256color
    - PATH: /Users/pbb/opt/anaconda3/bin:/Users/pbb/opt/anaconda3/condabin:/opt/homebrew/sbin:/opt/homebrew/bin:/usr/local/homebrew/bin:/Users/pbb/.fig/bin:/Users/pbb/.local/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/go/bin:/Library/TeX/texbin
    - FIG_PID: 9713
    - FIG_SET_PARENT: w0t0p0:4912FAEE-20F3-40D8-8699-E3EFB4AD8D1B
krooyh commented 1 year ago

I have same issue. It works only if I have opened other "normal window" of iterm2 and only on the same "space" as the "normal window". When I switch to other "space" and run the hotkey window which is floating over fullscreen app, it stops working. But when I will get back to the "space" that i have the "normal window" open - it works again in hotkey window.

edit: and after disabling "floating window" it works as expected

Nfinished commented 1 year ago

Happening to me as well.

fig-details:
  - 2.16.0
hardware-info:
  - model:
  - model-id:
  - chip-id: Apple M2 Pro
  - cores: 12
  - mem: 32.00 GB
os-info:
  - macOS 13.5.0 (22G74)
environment:
  - shell: /bin/zsh
  - terminal: iterm
  - cwd: /Users/atrager
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - FIGTERM_SESSION_ID: 70c4d51f-2e1d-44d3-8cfb-5de9c1eca291
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.16.0
    - PATH: <omitted>
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - __CFBundleIdentifier: com.googlecode.iterm2
    - FIG_PID: 2574
    - FIG_SET_PARENT: 70c4d51f-2e1d-44d3-8cfb-5de9c1eca291
lonesta commented 1 year ago

I have same issue.

sleepymalc commented 7 months ago

Is there any update on this? It stops working for nearly half a year.