Skip to content

[Bug]: PySide6 6.10.x 云母效果无法生效 #206

@moesnow

Description

@moesnow

Describe the bug
A clear and concise description of what the bug is.
问题的简要描述。

PySide6 6.10.x 云母效果无法生效,降级到 6.9.3 后正常生效。

Environment
环境信息

  • OS: Windows 11 25H2 26200.7462
  • DPI scaling: 100%
  • Python: 3.13.11
  • PySide6: 6.10.1

To Reproduce
复现问题的步骤,推荐使用 gif 进行演示。
Steps to reproduce the behavior(you can use GIF to demonstrate :):

pip install PySide6-Fluent-Widgets==1.10.5 PySideSix-Frameless-Window==0.7.5 PySide6==6.10.1
darkdetect==0.8.0
PySide6==6.10.1
PySide6-Fluent-Widgets==1.10.5
PySide6_Addons==6.10.1
PySide6_Essentials==6.10.1
PySideSix-Frameless-Window==0.7.5
pywin32==311
shiboken6==6.10.1

Code
最小复现代码

import sys
from PySide6.QtWidgets import QApplication
from qfluentwidgets import SplitFluentWindow


class Window(SplitFluentWindow):

    def __init__(self):
        super().__init__()
        # 启用云母特效
        self.setMicaEffectEnabled(True)


if __name__ == '__main__':
    app = QApplication(sys.argv)
    w = Window()
    w.show()
    app.exec()

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions