CopilotForXcode icon indicating copy to clipboard operation
CopilotForXcode copied to clipboard

Tab completion not working with Accessibility Keyboard

Open tensei opened this issue 1 year ago • 4 comments

Describe the bug

As the title says tab completion is not working with the Accessibility Keyboard.

Versions

  • Copilot for Xcode: 0.27.0
  • Xcode: 16.1
  • macOS: 15.1

Steps to reproduce

  1. Open the Accessibility Keyboard in Settings -> Accessibility -> Keyboard -> toggle Accessibility Keyboard on
  2. start typing in xcode and try to tab complete with the on-screen Accessibility Keyboard

Screenshots

https://github.com/user-attachments/assets/9990d285-b882-4543-b874-919aea852796

Logs

Additional context

tensei avatar Oct 29 '24 20:10 tensei

Hi @tensei, thanks for trying out Copilot for Xcode and sharing a detailed bug.

Confirming I can reproduce this ✅ We will look into it.

As a workaround, you can assign an alternate keyboard shortcut to GitHub Copilot > Accept Suggestion in Xcode preferences:

Screenshot of Xcode keybindings preferences

devm33 avatar Oct 29 '24 21:10 devm33

@devm33 Thank you for the quick response, I’ll patiently wait for a fix 🙏

tensei avatar Oct 29 '24 21:10 tensei

@tensei after looking into this, there is a limitation in macOS that the Accessibility Keyboard does not emit key events that we can observe. I have raised a Feedback with Apple for this.

I can confirm that setting a keybinding in Xcode preferences for the GitHub Copilot - Accept Suggestion action does work with the accessibility keyboard.

devm33 avatar Nov 01 '24 03:11 devm33

Describe the bug

As the title says tab completion is not working with the Accessibility Keyboard.

Versions

  • Copilot for Xcode: 0.27.0
  • Xcode: 16.1
  • macOS: 15.1

Steps to reproduce

  1. Open the Accessibility Keyboard in Settings -> Accessibility -> Keyboard -> toggle Accessibility Keyboard on
  2. start typing in xcode and try to tab complete with the on-screen Accessibility Keyboard

Screenshots

CleanShot.2024-10-29.at.21.54.29.mp4 Logs

Additional context

Slimazz avatar Dec 22 '24 03:12 Slimazz