Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 反馈问题:配戴 AirPods 時,禁用空复制提示音後仍然會出現聲音 #485

Closed
5 of 6 tasks
pilisir opened this issue Apr 1, 2024 · 7 comments
Closed
5 of 6 tasks
Assignees
Labels
bug Something isn't working fixed in next release The issue will be closed once next release is available

Comments

@pilisir
Copy link

pilisir commented Apr 1, 2024

请先确认以下事项:

  • 请务必查看 常见问题
  • 已仔细阅读了 README
  • issues 页面搜索过问题(包括已关闭的 issue),但未能找到解决方法
  • Easydict 已升级到 最新版本
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述

配戴 AirPods 時,禁用空复制提示音後仍然會出現聲音,不佩戴耳機時可以靜音

该问题是否可以稳定重现?

可重现

重现步骤

配戴 AirPods,拖曳網頁空白處,不要選取到任何文字再放開

截图

image

期望结果

應該與不配戴 AirPods 時的行為一致

解决方案(可选)

No response

设备型号 && 系统版本

Apple M2 Pro, macOS 14.4.1

是否愿意提交 PR 解决该问题?

  • 我愿意提交 PR
@pilisir pilisir added the bug Something isn't working label Apr 1, 2024
Copy link

github-actions bot commented Apr 1, 2024

Hello pilisir, Thank you for your first issue contribution 🎉

@tisfeng
Copy link
Owner

tisfeng commented Apr 5, 2024

ok,有点奇怪,稍后我们看一下。

@Jerry23011
Copy link
Collaborator

可以在Safari复现,很神奇

@tisfeng tisfeng added the fixed in next release The issue will be closed once next release is available label Apr 25, 2024
@tisfeng
Copy link
Owner

tisfeng commented Apr 25, 2024

看了一下代码,似乎是修改声音的方法有问题,目前只能修改设备的系统音量,无法修改耳机外设音量 😥

而禁用空复制提示音的实现比较 tricky,本质上是通过短暂禁止系统声音来实现的,所以使用 AirPods 不会生效。

稍后我尝试修复下。

@pilisir
Copy link
Author

pilisir commented Apr 26, 2024

希望能成功,無論如何都非常感謝你的付出 👍

@tisfeng
Copy link
Owner

tisfeng commented Apr 26, 2024

开发环境已修复该问题,明天后天会发布新版本。

@tisfeng
Copy link
Owner

tisfeng commented May 1, 2024

2.7.0 版本已修复。

@tisfeng tisfeng closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in next release The issue will be closed once next release is available
Projects
None yet
Development

No branches or pull requests

3 participants