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

fuo daemon模式下的音量控制问题 #381

Open
Heersin opened this issue Jul 1, 2020 · 1 comment
Open

fuo daemon模式下的音量控制问题 #381

Heersin opened this issue Jul 1, 2020 · 1 comment

Comments

@Heersin
Copy link
Contributor

Heersin commented Jul 1, 2020

Describe the bug
fuo在daemon模式运行下,笔记本的音量键音量无法控制音量或需要相当长的时间才能响应,是被阻塞了吗。GUI模式下无此问题,debug下无反馈信息。

To Reproduce

  1. fuo -nw
  2. 按下笔记本音量控制键

Expected behavior
随按键响应调整音量

Desktop:

  • OS: Manjaro 20.0.3 Lysia
  • Version: feeluown 3.5

希望增加的一些特性
虽然提的是bug issue,不知道这个问题能否通过新增fuo命令解决,利用fuo手动设置音量

@cosven
Copy link
Member

cosven commented Jul 1, 2020

目前已经的问题是 fuo 在 daemon 模式,mpris2 功能无法正常工作,我怀疑可能是这个问题引起的。

mpris2 无法工作的原因是:daemon 模式用的是 asyncio 的 eventloop,没有用 qt eventloop,而目前 mpris2 功能依赖 qt eventloop。之前想用 dbus-next 来替换 python-dbus 这个库,这样就能避免上述问题,但暂时没时间弄。

但回过头来想想,理论上笔记本音量控制的是系统音量,从这个角度看,我又不是很明白为什么会出现这个现象。需要再仔细研究下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants