intitni/CopilotForXcode

[Bug]: Unable to use Apple Pay in Safari when Copilot is running

Open

#508 建立於 2024年5月9日

在 GitHub 查看
 (2 留言) (1 反應) (1 負責人)Swift (426 fork)batch import
bughelp wanted

倉庫指標

Star
 (8,256 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Before Reporting

  • I have checked FAQ, and there is no solution to my issue
  • I have searched the existing issues, and there is no existing issue for my issue

What happened?

I found out that Copilot interferes with Apple Pay confirmation sheet in Safari. Touch ID input (or password input if Touch ID is disabled) disappears from the view, making it impossible to complete the payment. Quitting Copilot solves the issue immediately.

When I was trying to understand why it happens, I found out that Touch ID input disappears if the Apple Pay sheet is in any way obscured by another window or screen boundary - you can see this happening in the attached video.

Google Drive link to video (even downscaled was to big to fit as attachment on Github): https://drive.google.com/file/d/18a7UAO28YXAwfzZaqztZZq5I2CAkZW64/view?usp=sharing

How to reproduce the bug.

Open a website with Apple Pay functionality (https://applepaydemo.apple.com is great for debugging this), and try to complete the payment while Copilot and Xcode are running.

Please do note that while the issue occurs often, it doesn't occur always. Sometimes Touch ID input is visible despite Copilot and Xcode running in the background. I did not find specific pattern that triggers the issue, but it shouldn't be hard to reproduce though.

Relevant log output

No response

macOS version

14.4.1 (23E224)

Xcode version

15.3 (15E204a)

Copilot for Xcode version

0.32.3

貢獻者指南