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

Issue with iTerm (hotkey window, term window forced to stay on top) #131

Closed
darrenburns opened this issue Jun 10, 2021 · 8 comments
Closed
Labels
codebase:macos Issues related to the macOS Application terminal:iTerm Issues related to iTerm type:bug Something isn't working

Comments

@darrenburns
Copy link

darrenburns commented Jun 10, 2021

Description:

Fig is appearing behind my terminal window.

I have iTerm configured to open when I press Option + Space (hotkey window feature).

iTerm is configured to stay in front of other windows:

Here's what it looks like in practice:

image

Is there some way I can force the z-ordering such that Fig appears on top? I'd like for my terminal window to remain floating, but for Fig to have priority and always appear on top of it.

Details:

macOS Fig Shell
10.15.7 Version 1.0.42 (B207) /usr/local/bin/fish
fig diagnostic

Version 1.0.42 (B207) [Debug] 
UserShell: /usr/local/bin/fish
Bundle path: /Applications/Fig.app
Autocomplete: true
Settings.json: true
CLI installed: true
CLI tool path: /Users/darrenburns/.fig/bin/fig
Accessibility: true
Number of specs: 107
SSH Integration: true
Tmux Integration: true
Keybindings path: /Users/darrenburns/.fig/user/keybindings
iTerm Integration: true
Hyper Integration: false
VSCode Integration: true
Docker Integration: true
Symlinked dotfiles: false
Only insert on tab: false
Installation Script: true
PseudoTerminal Path: /Users/darrenburns/.pyenv/shims:/Users/darrenburns/.poetry/bin:/Users/darrenburns/.fig/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin
SecureKeyboardInput: false
SecureKeyboardProcess: 
Current active process: /usr/local/Cellar/fish/3.1.2/bin/fish (70919) - ttys004
Current working directory: /Users/darrenburns/Code/ward
Current window identifier: 501/389098967-8203-4083-AC72-17A07CBBBEA7% (com.googlecode.iterm2)

@mschrage
Copy link
Member

Hey @darrenburns! Thanks so much for creating this issue.

A few other people have mentioned this #19. I am looking into a fix.

We've found a workaround you can use for the time being. Check out this post on the forum.

PS. You seem to have the "Force Popup to Appear" setting turned on. I would recommend disabling this as it is just meant to be used when debugging. (The option to toggle it off can be found under the Developer menu).

Screen Shot 2021-06-10 at 12 57 54 PM

@mschrage mschrage added type:bug Something isn't working terminal:iTerm Issues related to iTerm labels Jun 10, 2021
@mschrage mschrage added the codebase:macos Issues related to the macOS Application label Jul 21, 2021
@HSalaila
Copy link

The workaround mentioned in #135 does not work when the window is in floating mode. See also Google Drive Video

@Nutlope
Copy link
Contributor

Nutlope commented Aug 10, 2021

Hey @mschrage, can you check out @HSalaila's issue? It seems like the workaround isn't working for him.

@aSapien
Copy link

aSapien commented Sep 1, 2021

Yep, same here. The Fig suggestions pane appears behind the hotkey floating window. The workaround doesn't work for me either.

MacOS: 11.5.2
iTerm2: 3.4.8

@mschrage
Copy link
Member

I will investigate the floating window issue further this week!

@mschrage
Copy link
Member

This should be fixed as of v1.0.49.

@manishprivet
Copy link

manishprivet commented Mar 7, 2023

This issue seems to be still there for Floating Windows

iTerm2: Build 3.4.19
MacOS: 13.2.1
Fish Shell: 3.4.1

image

The workaround option mentioned above also seems to be gone now @mschrage

fig diagnostic
fig-details:
  - 2.14.2
hardware-info:
  - model:
  - model-id:
  - chip-id: Apple M1
  - cores: 8
  - mem: 16.00 GB
os-info:
  - macOS 13.2.1 (22D68)
environment:
  - shell: /opt/homebrew/Cellar/fish/3.4.1/bin/fish
  - terminal: iterm
  - cwd: /Users/manishprivet
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - SHELL: /opt/homebrew/bin/fish
    - __CFBundleIdentifier: com.googlecode.iterm2
    - PATH: ...
    - FIG_PARENT:
    - FIGTERM_SESSION_ID: 6a06d97b-67cc-47a0-8ade-a41b08157d03
    - TERM: xterm-256color
    - FIG_PID: 34140
    - FIG_SET_PARENT: w1t0p0:D5ED7FA2-81FA-49AD-B602-FE98E34FF282
    - FIG_TERM: 2.14.2

@joesitton
Copy link

also experiencing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codebase:macos Issues related to the macOS Application terminal:iTerm Issues related to iTerm type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants