fig icon indicating copy to clipboard operation
fig copied to clipboard

bug: Suggestions pop-up not showing in-line of JetBrains IDE installed via Toolbox

Open samspencerdeveloper opened this issue 3 years ago • 8 comments

Checks

  • [X] I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
  • [X] I have run fig doctor in the affected terminal session
  • [X] I have run fig restart and replicated the issue again

Operating system

MacOS Big Sur

Expected behaviour

suggestions pop-up to appear in-line when typing in IntelliJ IDEA terminal.

Actual behaviour

suggestions pop-up appears in a seemingly random place on the screen.

Screenshot 2022-11-09 at 16 10 53

Steps to reproduce

try to cd into any directory, suggestions pop-up appears in the centre of the screen, not within the terminal.

Environment

fig-details:
  - 2.7.5
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  - cores: 8
  - mem: 16.00 GB
os-info:
  - macOS 11.7.0 (20G817)
environment:
  - shell: /bin/zsh
  - terminal: intellij.ce
  - cwd: 
  - exe-path: /usr/local/bin/fig
  - install-method: brew
  - env-vars:
    - FIGTERM_SESSION_ID: 7c229fcd-89fc-46b6-89b5-3a3345e825dd
    - FIG_HOSTNAME: DSDEVMAC23s-MacBook-Pro.local
    - FIG_TERM: 2.7.5
    - PATH: 
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - FIG_PID: 1074
    - FIG_PARENT: 7c229fcd-89fc-46b6-89b5-3a3345e825dd
    - FIG_SET_PARENT: 7c229fcd-89fc-46b6-89b5-3a3345e825dd

samspencerdeveloper avatar Nov 09 '22 16:11 samspencerdeveloper

@samuel-spencer have you run fig doctor? Also how is this JetBrains IDE installed? (Did you use JetBrains toolbox?)

mschrage avatar Nov 09 '22 16:11 mschrage

I have been having that same issue recently (intellij 2022.2.3, macos 11.6, fig 2.7.7)

What I noticed is that the seemingly random position of the dialog is actually the last position of the terminal app. I assume it could also apply to any other tool which fig supports. Interestingly, fig remebers that position also after quitting the terminal

https://user-images.githubusercontent.com/588128/201048203-67edf6f0-f913-4fef-becf-09e341f0c738.mov

@mschrage in my case fig doctor did not help and yes, intellij installed from the toolbox

tpluscode avatar Nov 10 '22 09:11 tpluscode

@samuel-spencer have you run fig doctor? Also how is this JetBrains IDE installed? (Did you use JetBrains toolbox?)

I have run fig doctor and it says everything is ok and yes I used toolbox to install. thanks.

samspencerdeveloper avatar Nov 10 '22 10:11 samspencerdeveloper

I believe there is a regression in the new rust rewrite that broke support for IDEs installed via JetBrains ToolBox.

If you install the IDE directly, autocomplete will work as expected.

mschrage avatar Nov 10 '22 17:11 mschrage

@mschrage I see multiple similar issues from various editors. I don't think this was really an issue related to JetBrains ToolBox

See, I just updated to macOS Ventura and now it works 🤔

`fig diagnostic`
fig-details:
  - 2.7.9
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz
  - cores: 8
  - mem: 40.00 GB
os-info:
  - macOS 13.0.1 (22A400)
environment:
  - shell: /bin/zsh
  - terminal: terminal
  - cwd: /Users/tplus
  - exe-path: /usr/local/bin/fig
  - install-method: unknown
  - env-vars:
    - FIGTERM_SESSION_ID: d90f2fa2-5900-4379-9a21-49dd44510c0b
    - FIG_HOSTNAME: Tomaszs-iMac.lan
    - FIG_TERM: 2.7.9
    - PATH: /Users/tplus/.rvm/gems/ruby-3.0.0/bin:/Users/tplus/.rvm/gems/ruby-3.0.0@global/bin:/Users/tplus/.rvm/rubies/ruby-3.0.0/bin:/Users/tplus/.local/share/fig/plugins/git-open:/usr/local/opt/curl/bin:/Users/tplus/.pyenv/shims:/Users/tplus/.zinit/polaris/bin:/Users/tplus/.nvm/versions/node/v16.13.2/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/tplus/.fig/bin:/Users/tplus/.local/bin:/Users/tplus/.local/bin:/Users/tplus/.rvm/bin:/Users/tplus/.local/bin
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - FIG_PID: 51043
    - FIG_PARENT: d90f2fa2-5900-4379-9a21-49dd44510c0b
    - FIG_SET_PARENT: d90f2fa2-5900-4379-9a21-49dd44510c0b

tpluscode avatar Nov 16 '22 13:11 tpluscode

Hello, wanted to check in to see if there has been any development on this. Noticed a few other tickets with the same issue have popped up since. (wasn't that rule number 1!?) To clarify, I have installed IDEA directly (not through toolbox) since this thread was started and the issue still persists. I've had to disable Fig for the time being.

samspencerdeveloper avatar Nov 23 '22 15:11 samspencerdeveloper

I have the same issue with JetBrains IDEs installed through Toolbox, where the autocomplete window appears at the last location of a previous/other terminal. Leaving my small bit of research into this issue - I think it has something to do with the macOS input methods installation. I've attempted reinstall, re-running fig install --input-method, and others, but no Fig-controlled input method appears in System Preferences or elsewhere, and the Fig dashboard popup indicating that it needs to be installed has gone away. The outdated FAQ at https://fig.io/docs/support/enabling-input-method also doesn't work, as ime seems to be a removed subcommand for debug.

adamegyed avatar Nov 26 '22 21:11 adamegyed

I have the same issue with JetBrains IDEs installed through Toolbox, where the autocomplete window appears at the last location of a previous/other terminal. Leaving my small bit of research into this issue - I think it has something to do with the macOS input methods installation. I've attempted reinstall, re-running fig install --input-method, and others, but no Fig-controlled input method appears in System Preferences or elsewhere, and the Fig dashboard popup indicating that it needs to be installed has gone away. The outdated FAQ at https://fig.io/docs/support/enabling-input-method also doesn't work, as ime seems to be a removed subcommand for debug.

I've had a pop up recently that notified me that fig input method is not compatible with my version of OSX (I have to use BigSur for work). and there is a thread above that suggests the issue is fixed if you update to Ventura. I'm going to test this with my non-work mac this eve and will report back.

samspencerdeveloper avatar Dec 01 '22 14:12 samspencerdeveloper