Code Whisperer plugin on Android Studio force enables Screen Reader option #58
-
Checks
Expected behaviourI expected that upon enabling the CodeWhisperer plugin in the Android Studio, it would only activate the features CW feature directly related to terminal. The plugin should function independently without altering other unrelated settings within the IDE, especially those related to accessibility features like the Screen Reader. Actual behaviourUpon activating the CodeWhisperer plugin for the Android Studio terminal, it inadvertently enabled the "Support screen readers" option located in "Appearance & Behavior > Appearance > Accessibility". This unexpected behavior leads to the deactivation of the quick documentation feature when hovering over code within the code editor. This is counterproductive as it affects the overall efficiency of coding by removing a critical feature used frequently during development. Please see the attached screenshot for a visual depiction of the issue. ![]() Steps to reproduce
EnvironmentCODEWHISPERER-details:
- 0.13.0
hardware-info:
- model: MacBook Pro
- model-id: Mac15,7
- chip-id: Apple M3 Pro
- cores: 12
- mem: 36.00 GB
os-info:
- macOS 14.2.1 (23C71)
environment:
- shell: /bin/zsh
- terminal: terminal
- cwd: /Users/jihadnaji
- exe-path: /Users/jihadnaji/.local/bin/cw
- install-method: unknown
- env-vars:
- CWTERM_SESSION_ID: 59f2ce3684544bb8b2e9c868421cae9c
- CW_SET_PARENT_CHECK: 1
- CW_TERM: 0.13.0
- PATH: /opt/homebrew/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:/Users/jihadnaji/Development/flutter/bin:/opt/homebrew/bin:/Users/jihadnaji/.pub-cache/bin:/Users/jihadnaji/.local/bin
- SHELL: /bin/zsh
- TERM: xterm-256color
- __CFBundleIdentifier: com.apple.Terminal
- CW_SET_PARENT: 59f2ce3684544bb8b2e9c868421cae9c |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
After further investigation, I found a setting in CodeWhisperer:
I am seeking a solution or workaround that allows me to use both CodeWhisperer's features and Android Studio's quick documentation simultaneously. Has anyone else experienced this issue? Are there any known workarounds or settings adjustments that could resolve this conflict without compromising either functionality? Additionally, if there are updates planned to address this compatibility issue, any information regarding this would be greatly appreciated. Thank you for your attention to this matter. Looking forward to any suggestions or insights from the community or the development team. |
Beta Was this translation helpful? Give feedback.
-
@jihadnaji So incredibly sorry for the delay here. Yes, unfortunately in order for CW for command line to work with certain terminal emulators, Screen Reader support must be enabled. This allows us to work out where your typing cursor is in an application we don't own. Unfortunately, there isn't much we can do here... Android Studio appears to be the only tool where having Screen reader enabled meaningfully changes the user experience. There appears to be no impact in VS Code... I think for the moment this is just a tradeoff and you'll have to choose which you prefer. I strongly recommend you reach out to Android Studio and have them push a fix (such as an additional setting) that allows both to work simultaneously. I am going to mark this as wont fix as there is nothing we can do and I will close this for now. Please re-open if needed. My apologies! |
Beta Was this translation helpful? Give feedback.
@jihadnaji So incredibly sorry for the delay here.
Yes, unfortunately in order for CW for command line to work with certain terminal emulators, Screen Reader support must be enabled. This allows us to work out where your typing cursor is in an application we don't own.
Unfortunately, there isn't much we can do here... Android Studio appears to be the only tool where having Screen reader enabled meaningfully changes the user experience. There appears to be no impact in VS Code...
I think for the moment this is just a tradeoff and you'll have to choose which you prefer. I strongly recommend you reach out to Android Studio and have them push a fix (such as an additional setting) that allows …