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

[Bug]: Mac OS文件拖放到顶部栏时 图标变化事件未正常触发 #1107

Closed
3 tasks done
Kuingsmile opened this issue Apr 12, 2023 · 0 comments
Closed
3 tasks done
Assignees
Labels

Comments

@Kuingsmile
Copy link

前置阅读 | Pre-reading

PicGo的版本 | PicGo Version

PicGo 2.4.0 beta

系统信息 | System Information

Mac

问题重现 | Bug reproduce

在Mac OS上拖放文件到顶部栏图标,预期的切换为上传图标的事件没有正常触发,使用dev模式可看到拖放时触发了报错

相关日志 | Logs

2023-04-12 18:32:58 [PicGo ERROR]
------Error Stack Begin------
TypeError: electron__WEBPACK_IMPORTED_MODULE_1__.systemPreferences.isDarkMode is not a function
at Object.eval (webpack://picgo/./src/main/apis/app/system/index.ts?:221:73)
at Object.emit (node:events:394:28)
-------Error Stack End-------

@Kuingsmile Kuingsmile added the bug label Apr 12, 2023
@Kuingsmile Kuingsmile changed the title [Bug]: Mac OS托盘文件拖放图标变化事件未正常触发 [Bug]: Mac OS文件拖放到顶部栏时 图标变化事件未正常触发 Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants