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

【deepin_V23_beta3】【一般】【立即】【预发布测试】【DDE】【launchpad】切换主题外观后,启动器中应用列表项字体颜色、右键菜单框背景颜色未跟随变化 #6724

Closed
SuperEffie opened this issue Jan 3, 2024 · 5 comments
Labels
P2 中优先 叶山山 叶山山 回归通过 回归通过

Comments

@SuperEffie
Copy link

SUMMARY | 问题概要

No response

SOFTWARE/OS VERSIONS | 软件/系统版本信息

【镜像地址】:https://packagesupdate.uniontech.com/repo/uos-professional/image-beige/CUSTOM/lichenggang/20240102/deepin-23-beige-beta3-amd64-20240102-135617.iso
【版本信息】:dde-launchpad:0.3.0

PRE-REQUIREMENT | 预置条件

No response

STEPS TO REPRODUCE | 复现步骤

1、当控制中心-个性化-主题-外观为浅色时,终端中使用命令pkill dde-launchpad重启启动器
2、切换外观为深色,super键打开启动器,右键点击某应用,观察launchpad列表项显示和右键菜单显示
3、终端中使用命令pkill dde-launchpad重启启动器
4、切换外观为浅色,super键打开启动器,右键点击某应用,观察launchpad列表项显示和右键菜单显示

OBSERVED RESULT | 观察到的结果

步骤2中观察到的结果如下图:
1
步骤4中观察到的结果如下图:
2

EXPECTED RESULT | 期望的结果

深色外观下,启动器中显示如下:
4

浅色外观下,启动器中显示如下:
3

ADDITIONAL INFORMATION | 额外补充

No response

@SuperEffie SuperEffie added the P2 中优先 label Jan 3, 2024
@babyfengfjx babyfengfjx assigned BLumia and unassigned babyfengfjx Jan 3, 2024
@babyfengfjx
Copy link

@BLumia 这个应该有个类似问题,可以一起处理.

@18202781743 18202781743 assigned 18202781743 and unassigned BLumia Jan 4, 2024
18202781743 added a commit to 18202781743/dtkdeclarative that referenced this issue Jan 5, 2024
  `updateChildrenPalettes` will emit QQuickPalette's changed signal
instead of QQuickItem's paletteChanged in qt6.

Issue: linuxdeepin/developer-center#6724
@18202781743
Copy link

18202781743 commented Jan 6, 2024

字体列表项字体颜色没有跟随主题切换变化,是设置了palette.windowText: undefined,即
image

不在此 linuxdeepin/dtkdeclarative#270 修复内,

@luodeepin
Copy link

验证不通过
右键菜单可跟随设置,但是左侧列表显示异常
2024-01-08_13-04

18202781743 added a commit to 18202781743/dtkdeclarative that referenced this issue Jan 8, 2024
  it maybe a bug for qt6, and it works in qt5.
  `palette.window: undefined` is unavailable for binding.
  `reset` function is supported in
https://codereview.qt-project.org/c/qt/qtdeclarative/+/414503
e.g, when flag is `false`, `Rectangle's color` should be `red`,
it inherits it's parent's color.
```
import QtQuick 2.0
import QtQuick.Controls 2.11
import QtQuick.Window 2.0

ApplicationWindow {
    id: root
    visible: true
    width: 600
    height: 400
    color: palette.window
    property bool flag
    palette.window: flag ? "green" : "red"
    Control {
        id: control
        width: 200
        height: 200
        palette.window: flag ? "blue" : undefined
        Rectangle {
            anchors.fill: parent
            color: control.palette.window
        }
    }
    MouseArea {
        anchors.fill: parent
        onClicked: {
            flag = !flag
        }
    }
}
``

Issue: linuxdeepin/developer-center#6724
18202781743 added a commit to 18202781743/dtkdeclarative that referenced this issue Jan 10, 2024
  `updateChildrenPalettes` will emit QQuickPalette's changed signal
instead of QQuickItem's paletteChanged in qt6.

Issue: linuxdeepin/developer-center#6724
18202781743 added a commit to 18202781743/dtkdeclarative that referenced this issue Jan 10, 2024
  `updateChildrenPalettes` will emit QQuickPalette's changed signal
instead of QQuickItem's paletteChanged in qt6.

Issue: linuxdeepin/developer-center#6724
18202781743 added a commit to linuxdeepin/dtkdeclarative that referenced this issue Jan 10, 2024
  `updateChildrenPalettes` will emit QQuickPalette's changed signal
instead of QQuickItem's paletteChanged in qt6.

Issue: linuxdeepin/developer-center#6724
@18202781743
Copy link

请更新到最新,再测试下,

dtk6declarative >=6.0.4
libqt6core6 >= 6.6.1+dfsg-5deepin1

@SuperEffie
Copy link
Author

【镜像地址】:https://cdimage.uniontech.com/daily-iso/image-beige/CUSTOM/lichenggang/20240116/deepin-23-beige-beta3-amd64-20240116-105126.iso
【版本信息】:dde-launchpad:0.4.2 libdtk6declarative:6.0.4 libqt6core6 :6.6.1+dfsg-5deepin1
【验证结论】:测试通过,关闭issue
【截图信息】:
主题

@SuperEffie SuperEffie removed their assignment Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 中优先 叶山山 叶山山 回归通过 回归通过
Projects
Status: CLOSED
Development

No branches or pull requests

5 participants