Commit 4824a51
committed
fix: adjust search box position for wayland dock overlap
1. Added dynamic bottom margin to search edit in fullscreen mode
2. Query dock height using DS.applet API to detect dock presence
3. Apply margin only on wayland platform (Qt.platform.pluginName ===
"wayland")
4. Fix visual overlap between dock and search box when dock is visible
on wayland
Log: Fixed search box overlapping with dock on wayland
Influence:
1. Test fullscreen search box position on wayland with dock visible
2. Test fullscreen search box position on x11 to ensure no regression
3. Verify margin is applied correctly when dock height changes
4. Test with different dock sizes and positions
fix: 调整 wayland 下搜索框位置以避免与任务栏重叠
1. 在搜索编辑框中添加动态底部边距
2. 使用 DS.applet API 查询任务栏高度以检测任务栏是否存在
3. 仅在 wayland 平台下应用边距(Qt.platform.pluginName === "wayland")
4. 修复 wayland 下任务栏可见时与搜索框的视觉重叠问题
Log: 修复 wayland 下搜索框与任务栏重叠问题
Influence:
1. 在 wayland 下测试任务栏可见时的全屏搜索框位置
2. 在 x11 下测试全屏搜索框位置,确保无回归
3. 验证任务栏高度变化时边距是否正确应用
4. 测试不同任务栏大小和位置
PMS: BUG-345751 BUG-3457371 parent d6f73a7 commit 4824a51
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
760 | 760 | | |
761 | 761 | | |
762 | 762 | | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
763 | 768 | | |
764 | 769 | | |
765 | 770 | | |
| |||
0 commit comments