Commit ae3a27b
committed
fix: fallback dock theme to system settings on wayland
1. Disable WallpaperColorManager initialization in WaylandDockHelper
constructor
2. Extract wallpaper color management to a separate
initWallpaperColorManager() method
3. Connect dock theme changes to DGuiApplicationHelper themeTypeChanged
signal on Wayland
4. This ensures dock follows system theme when wallpaper color is
unavailable
Log: Dock theme on Wayland now falls back to system color settings
Influence:
1. Test dock color theme toggling between light and dark on Wayland
2. Verify dock theme syncs with system settings after change
3. Ensure no regression in dock color behavior on X11
4. Check that wallpaper color feature is cleanly disabled without errors
5. Verify dock screen changes don't trigger wallpaper color manager
calls
fix: wayland下dock暗亮色回退到系统设置
1. 禁用WaylandDockHelper构造函数中的WallpaperColorManager初始化
2. 将壁纸颜色管理提取到独立的initWallpaperColorManager()方法中
3. 在Wayland上连接dock主题变化到DGuiApplicationHelper的themeTypeChanged
信号
4. 确保壁纸颜色不可用时dock遵循系统主题
Log: Wayland下Dock主题现在回退到系统颜色设置
Influence:
1. 在Wayland上测试dock颜色主题在亮色和暗色间切换
2. 验证dock主题在系统设置更改后同步
3. 确保X11上dock颜色行为无回归
4. 检查壁纸颜色功能被干净禁用,无错误产生
5. 验证dock屏幕变化不会触发壁纸颜色管理器调用
PMS: BUG-3448411 parent 46c66aa commit ae3a27b
3 files changed
Lines changed: 30 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
166 | 171 | | |
167 | 172 | | |
168 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 39 | | |
54 | 40 | | |
55 | 41 | | |
| |||
73 | 59 | | |
74 | 60 | | |
75 | 61 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 62 | | |
80 | 63 | | |
81 | 64 | | |
| |||
147 | 130 | | |
148 | 131 | | |
149 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
150 | 156 | | |
151 | 157 | | |
152 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
0 commit comments