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]: Pro组件的FontComboBox的demo在pyside6版本中切换时打印报错 #720

Open
qianye216 opened this issue Jan 18, 2024 · 5 comments
Labels
bug Something isn't working pro PySide-Fluent-Widgets-Pro

Comments

@qianye216
Copy link

What happened?

self.fontComboBox.currentFontChanged.connect(print)
切换字体时报错:TypeError: lambda2() takes no arguments (1 given)
且打开字体列表进行上下滑动时控制台有警告Failed to compute left/right minimum bearings for "GB18030 Bitmap"

Operation System

Mac

Python Version

3.11.7

PyQt/PySide Version

PySide6 6.4.2

PyQt/PySide-Fluent-Widgets Version

v1.4.6

How to Reproduce?

fontcomboBox的demo文件

Minimum code

fontcomboBox的demo文件
@qianye216 qianye216 added the bug Something isn't working label Jan 18, 2024
@zhiyiYo
Copy link
Owner

zhiyiYo commented Jan 18, 2024

windows 没复现出这个问题

@zhiyiYo zhiyiYo added the pro PySide-Fluent-Widgets-Pro label Feb 14, 2024
@zhiyiYo
Copy link
Owner

zhiyiYo commented Mar 16, 2024

lambda 有具体点的报错信息吗

@qianye216
Copy link
Author

lambda 有具体点的报错信息吗

没有,只有这些报错
image

@zhiyiYo
Copy link
Owner

zhiyiYo commented Mar 19, 2024

是不是得改成 lambda font: print(font)

@qianye216
Copy link
Author

是不是得改成 lambda font: print(font)

改成这个也是一样的报错,QtPy版本正常

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pro PySide-Fluent-Widgets-Pro
Projects
None yet
Development

No branches or pull requests

2 participants