fig icon indicating copy to clipboard operation
fig copied to clipboard

PhpStorm - Fig saves bash last position

Open doiska opened this issue 1 year ago • 3 comments

Sanity 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 tested again (tell us if that fixed it)

Issue Details

Description:

Howdy, I installed Fig today. You may reproduce if you close the git bash (win terminal), then fig saves the last position and shows weirdly on PhpStorm.

https://user-images.githubusercontent.com/40711231/191327103-557f021f-50b7-421d-b1fc-4a60d92cb1eb.mp4

Environment

fig-details:
  - cli-version: 1.5.0
  - desktop-version: 2.4.14
  - figterm-version: 5.2.0
hardware-info:
  - chip-id: AMD Ryzen 5 3600 6-Core Processor              
  - cores: 6
  - mem: 16320.348 GB
os-info:
  - Windows 10 Pro (or newer) - build 22000
environment:
  - shell: C:\Program Files\Git\usr\bin\bash.exe
  - terminal: <unknown>
  - cwd: C:\Users\doiska\Documents\Manyplaces\parsers\csv_merged
  - exe-path: C:\Users\doiska\AppData\Local\Fig\latest\fig.exe
  - install-method: unknown
  - env-vars:
    - DISPLAY: needs-to-be-defined
    - FIG_INTEGRATION_VERSION: 8
    - FIG_PID: 1491
    - FIG_TERM: 1
    - FIG_TERM_VERSION: 5.2.0
    - FIG_WORKFLOWS_KEYBIND: ^f
    - PATH: C:\Users\doiska\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users
\doiska\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\doiska\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\User
s\doiska\Documents\Tools\nvm;C:\Users\doiska\Documents\Tools\nodejs;C:\Users\doiska\Documents\Tools\Tortoise\bin;C:\Program Files\Git\cmd;C:\Program Files\GitHub CLI;C:\Users\doiska\Documents\Tools\php;C:\ProgramData\chocolatey\
bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\ProgramData\ComposerSetup\bin;C:\Program Files\PowerShell\7;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Docker\Docker\resources\bin;C:\Program
Data\DockerDesktop\version-bin;C:\Program Files\Cloudflare\Cloudflare WARP;C:\Users\doiska\AppData\Local\Microsoft\WindowsApps;C:\Users\doiska\Documents\Tools\nvm;C:\Users\doiska\Documents\Tools\nodejs;C:\Program Files\JetBrains
\PhpStorm 2022.1.3\bin;C:\Users\doiska\AppData\Roaming\Composer\vendor\bin;C:\Users\doiska\AppData\Local\JetBrains\Toolbox\scripts;C:\Users\doiska\AppData\Local\Programs\oh-my-posh\bin;C:\Users\doiska\AppData\Local\Programs\Espa
nso;C:\Users\doiska\AppData\Local\Programs\Microsoft VS Code Insiders\bin;C:\Users\doiska\AppData\Local\Fig\latest;C:\Users\doiska\Documents\Manyplaces\parsers\csv_merged\node_modules\.bin;C:\Users\doiska\.local\bin;C:\Users\doiska\.fig\bin;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl
    - SHELL: C:\Program Files\Git\usr\bin\bash.exe
    - TERM: xterm-256color
    - TERM_SESSION_ID: 14223ef1-8288-48f4-b396-9ea429ae1718

doiska avatar Sep 20 '22 17:09 doiska

Hey @doiska! Thanks for reporting this.

We currently don't support JetBrains on Windows (since we haven't built an integration to determine the cursor position yet)! We should probably disable Autocomplete from appearing until we have support.

mschrage avatar Sep 21 '22 00:09 mschrage

cc @chaynabors

mschrage avatar Sep 21 '22 00:09 mschrage

I'll need to install PHPStorm to test, but if Jetbrains IDE's support accessibility how we expect, then supporting this will be as simple as adding a process name to an array. I'll download now and see how simple this is.

chaynabors avatar Sep 21 '22 00:09 chaynabors