-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Autocomplete renders in the wrong place #2058
Comments
I am encountering this when using Kitty. |
I've also started having this issue on MacOS since the latest update. I have PhpStorm running on one monitor, and when I type in the terminal on that screen the Fig pop sometimes displays in the exact bottom-left corner of my main monitor. |
To be clear, for me this is an intermittent issue. I just opened PhpStorm back up and the popup is in the correct place. I didn't update anything. I just opened it back up for work today; it wasn't working yesterday, it is today. Gotta love these kinds of bugs. 😅 |
Having the same issue with fig 2.9.0, macOS 13.0.1 (22A400). Started happening after I installed Rectangle, which is similar to @admapop's Magnet. Specifically, it happens only on my secondary monitor, not the main (laptop) one. Intellij installed from Toolbox, but that hasn't been an issue for me previously. |
👋 Another Kitty user here experiencing the same issue. |
I'm no longer working at Fig, maybe @grant0417 can take a look |
This should be resolved now in Fig 2.10, let me know if you continue to have any issues! |
Nope, the issue still persists. It is probably related to #2109. |
Can you make sure to restart both Fig and intellij |
The issue persists with Fig v2.10.1 when using Kitty, after restarting both. Screen.Recording.2022-12-15.at.10.01.41.mov |
I'm still getting this issue in kitty with 2.10.1 |
Did not realize this was an issue on Kitty, thought it was only Jetbrains. If you are having this issue with Kitty can you share the output of the following:
|
~
❯ kitty --version
kitty 0.26.5 created by Kovid Goyal
~
❯ echo $__CFBundleIdentifier
net.kovidgoyal.kitty
~
❯ fig debug input-method
Installed? true
TISInputSource {
bundle_id: Some(
"io.fig.cursor",
),
input_source_id: Some(
"io.fig.cursor",
),
input_source_category: Some(
"TISCategoryPaletteInputSource",
),
input_source_is_enabled: Some(
true,
),
input_source_is_selected: Some(
true,
),
localized_name: Some(
"FigInputMethod",
),
input_mode_id: None,
category_keyboard: None,
}
~ |
Hey @tomhendra can you also run |
Sure can, @grant0417. Here you go. Let's check if you're logged in... Let's check your dotfiles... Let's make sure Fig is setup correctly... Let's make sure Fig is running... Cannot GET /authenticate/ticket(status: 404 Not Found) Let's see if Fig is in a working state... Let's check if your system is compatible... Let's check fig diagnostic... Let's check your terminal integrations... |
@tomhendra can you share a screen recording of the behavior? To confirm, the autocomplete window appears with the correct suggestions but it is simply located in the wrong place on the screen? Does Fig autocomplete work as expected in other terminals, like iTerm or the native terminal app? |
@mschrage the autocomplete window appears on my MBP screen, while the Kitty window I am using is on an external display. I have supplied two separate screen recordings as I can't seem to find a way to record both screens at the same time. screen-rec-fig-1.mp4It seems that the native terminal and iTerm2 work as expected. screen-rec-fig-0.mp4Hope this helps. |
That does help, seems that kitty might be reporting the coordinates relative to the local screen, could you try @mschrage is this an error with our IME logic or kitty? |
@grant0417 I can confirm the issue is present with alacritty. |
This issue has been automatically closed because there has been no activity for 14 days. |
Did you good folks manage to get any further with the Kitty issue? —Sorry to be a pest! |
Do you use an external monitor/secondary @tomhendra? That might have been an issue with kitty. |
Thanks for reopening this @grant0417. Yes that is exactly the problem I have—with the secondary monitor. |
This issue has been automatically closed because there has been no activity for 14 days. |
@tomhendra that should be resolved in 2.11 which will be release in a week or two. |
2.11 is live, please let me know if this version resolves your issues |
Hi @grant0417 - i have upgraded to 2.11 and i'm still encountering the issue with kitty. |
Hello @grant0417, it works on my machine... Thank you! If I can be of any more use with diagnostics or whatever to get things working for Richard, I'd be happy to help. |
I ran
|
@richardcase can you run Also can you run |
Thanks @mschrage. Here you go:
And the 2 terminals recording (kitty and the standard mac terminal): I saved the Let me know if there is anything i can do to help (i love ❤️ fig by the way) |
Hey @richardcase! Glad to hear you're liking Fig :) Strange request: can you try quitting Microsoft Teams and seeing if this helps? |
@mschrage - i quit teams and it still does it. I will run some tests to confirm, but I think I get the error when I do this:
And i think it works if i do this:
I will run some tests to see if ^^^^^ is true and confirm back. |
I'm still encountering this issue with IntelliJ on the latest version. EDIT: |
Fig v2.12.0 and kitty 0.26.5 and the issue is present |
Also running into issues with Fig 2.14.2, kitty 0.27.1, and MacOS 12.6.3 If I use the built-in terminal the autocomplete shows up in the correct location, but with kitty it always shows up in the bottom left corner of my external monitor. Even if Kitty is in my laptop's screen.
|
Same as @freddygv for me, always in the bottom left corner |
I'm facing the same issue with kitty - autocomplete always appears in the bottom left corner of a display > fig --version
fig_cli 2.17.0
> kitty --version
kitty 0.31.0 created by Kovid Goyal
> echo $__CFBundleIdentifier
net.kovidgoyal.kitty
> fig debug input-method
Installed? true
TISInputSource {
bundle_id: Some(
"io.fig.cursor",
),
input_source_id: Some(
"io.fig.cursor",
),
input_source_category: Some(
"TISCategoryPaletteInputSource",
),
input_source_is_enabled: Some(
true,
),
input_source_is_selected: Some(
true,
),
localized_name: Some(
"FigInputMethod",
),
input_mode_id: None,
category_keyboard: None,
} |
Facing the exact same issue mentioned by @b4lk0n with IntelliJ IDEA. |
I still have this issue with all terminal emulators besides iTerm2. MacOS Catalina. |
I have this issue too on mac with Intellij terminal |
Checks
fig doctor
in the affected terminal sessionfig restart
and replicated the issue againOperating system
macOS 12.3.1 (21E258)
Expected behaviour
When the autocomplete window appears it should be next to what I am typing
Actual behaviour
When the autocomplete window appears it is in a completely different place. Could be on the same screen but far away from where I'm typing, same screen but completely random or even on a completely different screen.
Where I'm typing
Where it's showing, completely random on a different screen.
Steps to reproduce
Start up IntelliJ IDEA, open a terminal and start typing.
Environment
The text was updated successfully, but these errors were encountered: