### SUMMARY | 问题概要 1. DialogWindow 下的按钮在深色主题下没有hover状态,浅色主题正常,对话框下使用的按钮在 hoveredDark 好像没有设置 crystal 颜色族下的效果(FlowStyle.qml); 2. DialogWindow 在切换主题色后显示颜色错误,DialogTitleBar 内部也使用了 D.InWindowBlur ,应该是相同问题。 ### DTK and OS VERSIONS | DTK&系统版本信息 Distribution: v23 0719 Pacakge: dtk6declarative 6.0.16+u003 ### Minimal Reproducible Case Code | 最小复现案例代码 Demo: [DialogTest.zip](https://github.com/user-attachments/files/16607079/DialogTest.zip) ```qml Button { anchors.centerIn: parent text: qsTr("Button") onClicked: dialog.show() DialogWindow { id: dialog height: 180 title: "test" width: 400 header: DialogTitleBar { // 使用了D.InWindowBlur enableInWindowBlendBlur: false } Row { Button { text: "button" } RecommandButton { text: "recommand button" } } } } ``` ### OBSERVED RESULT | 观察到的结果 https://github.com/user-attachments/assets/7e5aed87-71a0-4cba-b629-d037b0240155 ### EXPECTED RESULT | 期望的结果 切换主题后显示正常,DialogWindow在深色主题下按钮hover效果正常 ### ADDITIONAL INFORMATION | 额外补充 https://pms.uniontech.com/bug-view-268489.html https://pms.uniontech.com/bug-view-268509.html
SUMMARY | 问题概要
DTK and OS VERSIONS | DTK&系统版本信息
Distribution: v23 0719
Pacakge: dtk6declarative 6.0.16+u003
Minimal Reproducible Case Code | 最小复现案例代码
Demo:
DialogTest.zip
OBSERVED RESULT | 观察到的结果
_DialogTest_20240814103713.mp4
EXPECTED RESULT | 期望的结果
切换主题后显示正常,DialogWindow在深色主题下按钮hover效果正常
ADDITIONAL INFORMATION | 额外补充
https://pms.uniontech.com/bug-view-268489.html
https://pms.uniontech.com/bug-view-268509.html