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]: Theme color display error #156

Open
hamano0813 opened this issue May 10, 2024 · 0 comments
Open

[Bug]: Theme color display error #156

hamano0813 opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hamano0813
Copy link

hamano0813 commented May 10, 2024

What happened?

设置主题为DARK后,启动界面时显示正常暗色主题。
当设置了Windows自动切换桌面壁纸的功能,每次自动切换壁纸后。
DARK主题除了字体和SearchLine以外均丢失颜色,变为一片雪白。
亮色主题则不受影响。

Operation System

Windows11 23H2

Python Version

3.12.3

PyQt/PySide Version

PySide6 6.7.0

PyQt/PySide-Fluent-Widgets Version

v1.5.6

How to Reproduce?

事先设置windows11的桌面壁纸为按文件夹自动切换,切换时间任意。
启动界面,等待自动切换壁纸。
壁纸切换的时候,界面出错,暗色主题底色丢失。
002

Minimum code

import sys
from PySide6.QtWidgets import QApplication
from qfluentwidgets import setTheme, Theme
from ui.main_window import MainWindow

if __name__ == "__main__":
    app = QApplication(sys.argv)
    setTheme(Theme.DARK)
    window = MainWindow()
    window.show()
    sys.exit(app.exec())
@hamano0813 hamano0813 added the bug Something isn't working label May 10, 2024
@zhiyiYo zhiyiYo transferred this issue from zhiyiYo/PyQt-Fluent-Widgets May 12, 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
Projects
None yet
Development

No branches or pull requests

1 participant