You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have run q doctor in the affected terminal session
I have run q restart and replicated the issue again
Operating system
Linux 6.8.0-59-generic - Ubuntu 22.04.5 LTS
Expected behaviour
The autocomplete menu should appear directly below or above the current cursor position, aligned with the text being typed.
Actual behaviour
The autocomplete menu appears displaced, showing up above and to the left of where text is being typed, making it difficult to use effectively. This occurs in both Kitty and GNOME Terminal on Ubuntu 24.04, though the inline autocomplete functionality still works.
[chat-transcript]
I understand that you're experiencing the same autocomplete menu positioning issue in both Kitty and GNOME Terminal, but the inline autocomplete functionality still works. This suggests the issue is more likely related to the Amazon Q CLI application itself rather than a specific terminal emulator.
Since the problem occurs across different terminal emulators with updated versions, here are some more targeted troubleshooting steps:
1. **Terminal environment variables**:
- Some CLI applications rely on specific terminal environment variables for positioning UI elements
- Check if setting `TERM=xterm-256color` before launching Q helps:
\```
TERM=xterm-256color q chat
\```
2. **Terminal dimensions re
> Yey, help me to create a bug report.
I'll help you create a bug report for the Amazon Q CLI autocomplete menu positioning issue. Here's a structured bug report you can submit:
\```
Title: Amazon Q CLI Autocomplete Menu Positioning Issue in Ubuntu 24.04
Description:
The autocomplete menu in Amazon Q CLI chat interface appears displaced - positioned above and to the left of the current cursor position - making it difficult to use effectively.
Environment:
- Operating System: Ubuntu 24.04
- Amazon Q CLI: [your version number]
- Terminal emulators tested:
* Kitty [version]
* GNOME Terminal [version]
- Shell: Zsh [version]
Steps to Reproduce:
1. Open terminal (either Kitty or GNOME Terminal)
2. Launch Amazon Q CLI with `q chat`
3. Begin typing in the chat interface
4. When autocomplete suggestions appear, they are mispositioned above and to the left of the current typing position
Expected Behavior:
The autocomplete menu should appear directly below or above the current cursor position, aligned with the text being typed.
Actual Behavior:
The autocomplete menu appears displaced, showing up above and to the left of where text is being typed, making it difficult to use effectively.
Additional Information:
- The issue occurs consistently across different terminal emulators
- The inline autocomplete functionality still works correctly
- The issue has been observed on two different computers, both running Ubuntu 24.04
- All software components are updated to their latest versions
- The issue appears to be specific to Ubuntu 24.04
Screenshots:
[If possible, attach screenshots showing the mispositioned autocomplete menu]
Impact:
This positioning issue makes the autocomplete functionality difficult to use effectively, reducing productivity when using the Amazon Q CLI chat interface.
\```
You can submit this bug report through:
1. The AWS Support Center if you have an AWS support plan
2. The AWS Developer Forums for Amazon Q
3. Using the `/report-issue` command within the Q CLI itself
4. Using the `report_issue` function that's built into Amazon Q
Would you like me to help you with any specific part of this bug report or would you like to modify any details before submitting?
[Tool uses: none]
> You can send
[Tool uses: report_issue]
(...truncated)
Steps to reproduce
Open terminal (either Kitty or GNOME Terminal)
Launch Amazon Q CLI with q chat
Begin typing in the chat interface
When autocomplete suggestions appear, they are mispositioned above and to the left of the current typing position
Environment
<This will be visible to anyone. Do not include personal or sensitive information>[q-details]version = "1.10.1"hash = "cb90e381cf8391beef4b966623d913e258cbb08d"date = "2025-05-16T13:57:39.191776Z (5d ago)"[system-info]chip = "Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz"total-cores = 4memory = "15.23 GB"[system-info.os.linux]kernel_version = "6.8.0-59-generic"id = "ubuntu"name = "Ubuntu"pretty_name = "Ubuntu 22.04.5 LTS"version_id = "22.04"version = "22.04.5 LTS (Jammy Jellyfish)"[environment]cwd = "/media/USER/ARCHER/BRRIOLN036503/Work/scrap-fp-cloud-gov/aws/iam/decode_access_key"cli-path = "/media/USER/ARCHER/BRRIOLN036503/Work/scrap-fp-cloud-gov/aws/iam/decode_access_key"install-method = "unknown"[env-vars]DISPLAY = ":0"GLFW_IM_MODULE = "ibus"GTK_IM_MODULE = "ibus"PATH = "/home/USER/.asdf/shims:/home/USER/.krew/bin:/home/USER/.tgenv/bin:/home/USER/.tfenv/bin://home/USER/go/bin:/media/USER/ARCHER/BRRIOLN036503/opt/google-cloud-sdk/bin:/home/USER/.pyenv/shims:/home/USER/.pyenv/bin:/home/USER/.nvm/versions/node/v22.3.0/bin:/home/USER/.cargo/bin:/home/USER/.atuin/bin:/home/USER/.cargo/bin:/home/USER/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/USER/.local/bin:/usr/local/go/bin:/home/USER/.fzf/bin:/home/USER/.pulumi/bin"QTERM_SESSION_ID = "e3c5aacc46144be782f94e34f273bd86"QT_IM_MODULE = "ibus"Q_SET_PARENT_CHECK = "1"Q_TERM = "1.10.1"SHELL = "/usr/bin/zsh"TERM = "xterm-kitty"XDG_CURRENT_DESKTOP = "ubuntu:GNOME"XDG_SESSION_DESKTOP = "ubuntu-xorg"XDG_SESSION_TYPE = "x11"XMODIFIERS = "@im=ibus"[chat-settings]interactive=true[chat-trusted_tools][chat-failed_request_ids]none[chat-context]current_profile=defaultprofiles=defaultglobal_context=.amazonq/rules/**/*.mdREADME.mdAmazonQ.mdprofile_context=nonefiles=/media/marcelo.modolo/ARCHER/BRRIOLN036503/Work/scrap-fp-cloud-gov/aws/iam/decode_access_key/README.md, 770 tknstotal context size=770 tkns
The text was updated successfully, but these errors were encountered:
Checks
q doctor
in the affected terminal sessionq restart
and replicated the issue againOperating system
Linux 6.8.0-59-generic - Ubuntu 22.04.5 LTS
Expected behaviour
The autocomplete menu should appear directly below or above the current cursor position, aligned with the text being typed.
Actual behaviour
The autocomplete menu appears displaced, showing up above and to the left of where text is being typed, making it difficult to use effectively. This occurs in both Kitty and GNOME Terminal on Ubuntu 24.04, though the inline autocomplete functionality still works.
Steps to reproduce
q chat
Environment
The text was updated successfully, but these errors were encountered: