Commit 44121e5
committed
fix: handle left edge click to toggle launcher visibility
1. Added Connections component to listen for Panel's leftEdgeClicked
signal
2. When left edge is clicked and this launcher has the minimum dock
order, toggle launcher visibility
3. This ensures launcher responds to edge clicks when it's positioned at
the leftmost dock position
Log: Launcher now toggles visibility when clicking the left screen edge
Influence:
1. Test clicking left screen edge when launcher is at leftmost position
- should toggle launcher
2. Test clicking left screen edge when launcher is not at leftmost
position - should not affect launcher
3. Verify launcher visibility toggles correctly between shown and hidden
states
4. Test with multiple launchers/docks to ensure only the leftmost one
responds
5. Verify launcher behavior consistency with other edge interactions
fix: 处理左侧边缘点击以切换启动器可见性
1. 添加 Connections 组件监听 Panel 的 leftEdgeClicked 信号
2. 当点击左侧边缘且此启动器具有最小停靠顺序时,切换启动器可见性
3. 确保启动器在位于最左侧停靠位置时能响应边缘点击
Log: 启动器现在会在点击屏幕左侧边缘时切换可见性
Influence:
1. 测试当启动器位于最左侧位置时点击屏幕左侧边缘 - 应切换启动器状态
2. 测试当启动器不位于最左侧位置时点击屏幕左侧边缘 - 不应影响启动器
3. 验证启动器可见性在显示和隐藏状态之间正确切换
4. 测试多个启动器/停靠栏,确保只有最左侧的启动器响应
5. 验证启动器行为与其他边缘交互的一致性
PMS: BUG-3459311 parent af51785 commit 44121e5
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
41 | 50 | | |
42 | 51 | | |
43 | 52 | | |
| |||
0 commit comments