ghostty autocompletion popover in wrong position
Checks
- [x] I have searched github.com/aws/amazon-q-developer-cli/issues and there are no duplicates of my issue
- [x] I have run
q doctorin the affected terminal session - [x] I have run
q restartand replicated the issue again
Operating system
macOS 15.3.0 (24D60)
Expected behaviour
Actual behaviour
Steps to reproduce
No response
Environment
[q-details]
version = "1.6.1"
hash = "f66e0b0e917ab185eef528dc36eca56b78ca8b5d"
date = "2025-02-04T00:06:28.754523Z (14d ago)"
variant = "full"
[system-info]
os = "macOS 15.3.0 (24D60)"
chip = "Apple M1 Pro"
total-cores = 10
memory = "32.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "Ghostty"
install-method = "unknown"
[env-vars]
PATH = "/Users/USER/.bytebm/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/USER/.rbenv/shims:/opt/homebrew/Cellar/pyenv-virtualenv/1.2.4/shims:/Users/USER/.pyenv/shims:/Users/USER/.bytebm/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:/usr/local/share/dotnet:~/.dotnet/tools:/opt/puppetlabs/bin:/Users/USER/.cargo/bin:/Applications/Ghostty.app/Contents/MacOS:/Users/USER/.local/bin:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts"
QTERM_SESSION_ID = "03ef8e8655bc4985b7a473713bc4fefe"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.6.1"
SHELL = "/bin/zsh"
TERM = "xterm-ghostty"
__CFBundleIdentifier = "com.mitchellh.ghostty"
happens to me too
also happens to me occasionally.
Same, and not only ghosty
Do you have any steps to reproduce? It's hard to discern what could be happening here
Do you have any steps to reproduce? It's hard to discern what could be happening here
i just download ghostty, then run q integrations install input-method. nothing is special
Happens occasionally for me too.
i have been running into this very frequently. on mac os 15.3.1. i use powerlevel10k prompt if that matters
❯ ghostty --version
Ghostty 1.1.2
Version
- version: 1.1.2
- channel: stable
Build Config
- Zig version: 0.13.0
- build mode : builtin.OptimizeMode.ReleaseFast
- app runtime: apprt.Runtime.none
- font engine: font.main.Backend.coretext
- renderer : renderer.Metal
- libxev : main.Backend.kqueue
❯ q diagnostic
[q-details]
version = "1.7.0"
hash = "8885a6708f2f07d02d29460a96f9c422da095e49"
date = "2025-03-06T01:03:54.119908Z (7d ago)"
variant = "full"
[system-info]
os = "macOS 15.3.1 (24D70)"
chip = "Apple M4 Max"
total-cores = 16
memory = "128.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "Ghostty"
install-method = "unknown"
[env-vars]
PATH = "/Users/USER/.bun/bin:/Users/USER/.atuin/bin:/Users/USER/.local/share/mise/installs/node/22.13.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/USER/.bun/bin:/Users/USER/bin:/Users/USER/.local/bin:/usr/local/bin:/Users/USER/Library/pnpm:/Users/USER/.sst/bin:/Users/USER/.cargo/bin:/Users/USER/Developer/depot_tools:/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:/Applications/Ghostty.app/Contents/MacOS"
QTERM_SESSION_ID = "21433e20a5b54a9eb042bdafd278cc01"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.7.0"
SHELL = "/bin/zsh"
TERM = "xterm-ghostty"
__CFBundleIdentifier = "com.mitchellh.ghostty"
i think this started happening after v1.6.1 or v1.6.2. I would to be able to downgrade to debug more
Happens occasionally for me too.
I'm also using ghostty as my terminal, but I'm not having this issue now. If anyone is still facing this issue, please let me know how to reproduce it.
This happens for me as well, installed using the standard q integrations install input-method.
Restarting ghostty seems to resolve it temporarily (sometimes) but it just appears again. Not able to draw a correlation as to what exactly triggers the behavior.
I do use Q autocomplete on Ghostty as well as VSCode and the "random" position of the auto-complete box seems to be the exact position of the VSCode terminal in another window.
Although, even after closing the VSCode shell and restarting Ghostty and q restart, it still appears at the old VSCode terminal position.
Current Ghostty version
Ghostty 1.1.3
Version
- version: 1.1.3
- channel: stable
Build Config
- Zig version: 0.13.0
- build mode : builtin.OptimizeMode.ReleaseFast
- app runtime: apprt.Runtime.none
- font engine: font.main.Backend.coretext
- renderer : renderer.Metal
- libxev : main.Backend.kqueue
Running q diagnostic
[q-details]
version = "1.12.1"
hash = "a1adeaf5df9e144dcfa0bac728de942891254df0"
date = "2025-06-18T00:46:00.699098Z (4d ago)"
variant = "full"
[system-info]
os = "macOS 15.2.0 (24C101)"
chip = "Apple M3"
total-cores = 8
memory = "16.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "Ghostty"
install-method = "unknown"
[env-vars]
PATH = "/Users/USER/.nvm/versions/node/v24.1.0/bin:/opt/homebrew/opt/mysql-client/bin:/opt/homebrew/opt/mysql-client/bin:/opt/homebrew/opt/libpq/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/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:/Applications/Ghostty.app/Contents/MacOS:/Users/USER/.local/bin:/Users/USER/.lmstudio/bin"
QTERM_SESSION_ID = "1f4506e1531e45beabad00e7c5a921b4"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.12.1"
SHELL = "/bin/zsh"
TERM = "xterm-ghostty"
__CFBundleIdentifier = "com.mitchellh.ghostty"
I can also experience this when using ghostty and vscode terminal. It's easier to reproduce when launching ghostty in quake mode (but happens also in windowed mode).
UPDATE: also seems to happen when connecting external screen that is set as main screen and the terminal shifts to it.
i've reached uncharted territory first monitor with ghostty terminal
second monitor with amazon-q autocompletion
This is happening in almost any terminal, I am using WezTerm and VSCode, happens for both.
If I connect an extended screen, there's basically misalignment every time. Hasn't anyone noticed this issue? It really affects the experience.
anyone facing this issue can reading https://github.com/aws/amazon-q-developer-cli/issues/1930 to verify it works or not
anyone facing this issue can reading #1930 to verify it works or not
It still doesn't work, and now there are more and more cases of offset.
This bug is very much annoying. Can the team please look into it? I'm happy to provide logs for troubleshooting if required.
same question in vscode. Is there any developer, fix please.
Hello here, I have the same problem as you after each Amazon Q update. I just realized that if you launch a new terminal (alacritty on macos in my case), the positioning of the completion menu becomes back correct for ALL the terminals already opened. I imagine that it is enough to relaunch the pre/post blocks in .bashrc ? Until a better solution, I just launch/close a new terminal after an Amazon Q update.