Commit 2704112
fix: prevent animation glitch during task text width changes
1. Fixed animation glitch that occurred when task item text width
changed dynamically
2. Added onOptimalSingleTextWidthChanged handler to temporarily disable
and re-enable animations
3. Created displacedTransition ID for proper animation reference
4. Used Qt.callLater to ensure smooth transition restoration
Log: Fixed taskbar animation glitches when application names change
width
Influence:
1. Test taskbar behavior when application names change (e.g., language
switching)
2. Verify smooth animations when dragging task items
3. Check that text width changes don't cause visual artifacts
4. Test with applications that have varying name lengths
5. Verify task grouping and overflow functionality remains intact
fix: 修复任务文本宽度变化时的动画故障
1. 修复了任务项文本宽度动态变化时出现的动画故障
2. 添加了onOptimalSingleTextWidthChanged处理程序,临时禁用并重新启用动画
3. 创建了displacedTransition ID以便正确引用动画
4. 使用Qt.callLater确保平滑恢复过渡效果
Log: 修复了应用程序名称宽度变化时的任务栏动画故障
Influence:
1. 测试应用程序名称变化时的任务栏行为(如语言切换)
2. 验证拖动任务项时的平滑动画效果
3. 检查文本宽度变化不会导致视觉伪影
4. 测试具有不同名称长度的应用程序
5. 验证任务分组和溢出功能保持正常
目前需要修复:拆分后,remove的时候动画显示需要进行修复,目前由于卡图标重叠以及图标间距卡顿问题,主要由于X,Y动画卡主引起,从而去除里相应的remove和add的displace的动画。1 parent 56460df commit 2704112
2 files changed
Lines changed: 53 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
71 | 79 | | |
72 | 80 | | |
73 | 81 | | |
| |||
83 | 91 | | |
84 | 92 | | |
85 | 93 | | |
86 | | - | |
| 94 | + | |
87 | 95 | | |
88 | 96 | | |
89 | 97 | | |
| |||
99 | 107 | | |
100 | 108 | | |
101 | 109 | | |
102 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
103 | 149 | | |
104 | 150 | | |
105 | 151 | | |
| |||
0 commit comments