Commit f575fcc
committed
fix: fix touchscreen drag issue with hidden items
1. Changed visibility control from `visible` property to `opacity`
property in AppListView.qml and FreeSortListView.qml
2. This prevents drag interruption when items are hidden during drag
operations
3. The issue occurred because setting `visible: false` during drag would
interrupt the drag gesture on touchscreens
4. Using opacity instead maintains the visual hiding effect while
keeping the item technically visible to the touch system
Log: Fixed touchscreen drag issue where dragging would abnormally
interrupt when items were hidden
Influence:
1. Test touchscreen drag operations on both app list and free sort views
2. Verify that dragging items no longer interrupts when items become
hidden
3. Check that visual appearance during drag is correct (items should be
invisible but not disrupt drag)
4. Test mouse drag operations to ensure they still work correctly
5. Verify that tooltips and other interactive features still function
properly
fix: 修复触摸屏拖拽时隐藏项导致的问题
1. 在 AppListView.qml 和 FreeSortListView.qml 中将可见性控制从 `visible`
属性改为 `opacity` 属性
2. 这防止了在拖拽操作期间隐藏项目时拖拽被中断的问题
3. 问题发生在拖拽过程中设置 `visible: false` 会中断触摸屏上的拖拽手势
4. 使用透明度替代可以保持视觉隐藏效果,同时让项目在触摸系统中保持技术上
的可见性
Log: 修复了触摸屏拖拽问题,当项目隐藏时拖拽不再异常中断
Influence:
1. 测试应用列表和自由排序视图上的触摸屏拖拽操作
2. 验证拖拽项目时不再因项目隐藏而中断
3. 检查拖拽期间的视觉外观是否正确(项目应不可见但不中断拖拽)
4. 测试鼠标拖拽操作确保仍能正常工作
5. 验证工具提示和其他交互功能是否仍能正常使用
PMS: BUG-3460771 parent 0a44aee commit f575fcc
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
0 commit comments