Commit 5963117
committed
fix: refine transient inactive handling in windowed launcher
修复:调整窗口模式启动器瞬时失焦处理
1. Keep the delayed hide/cancel flow for popup active-state
transitions to avoid immediate close on short inactive periods.
2. Remove transient search visual-hold and active-focus recovery
helpers in windowed mode to support direct behavior comparison
during testing.
3. Add active-state trace logs in launcheritem and launchercontroller
during investigation, then remove those temporary logs after
validation.
Log: Preserve no-close behavior for short inactive windows while
simplifying search focus handling paths for A/B validation.
Influence:
1. Verify Ctrl+Alt+D in X11 windowed mode no longer closes launcher
on short inactive transitions.
2. Compare search edit focus/activeFocus behavior before and after
removing visual-hold/focus-recovery helpers.
3. Confirm normal outside-click hide path still triggers delayed hide
timeout and closes launcher.
1. 保留弹窗active状态变化下的延迟隐藏/取消流程,避免短暂失焦时
立即关闭启动器。
2. 移除窗口模式下搜索框的瞬时样式保持与active焦点恢复辅助逻辑,
便于测试阶段进行直接行为对比。
3. 调试阶段在launcheritem和launchercontroller中加入active状态跟踪
日志,验证后移除临时日志。
Log: 在保留短暂失焦不关闭能力的同时,简化搜索框焦点处理链路以
支持A/B验证。
Influence:
1. 验证X11窗口模式下按Ctrl+Alt+D时,短暂失焦不再导致启动器关闭。
2. 对比移除样式保持/焦点恢复辅助逻辑前后,搜索框focus与
activeFocus的行为差异。
3. 确认点击外部区域时,延迟隐藏超时路径仍按预期关闭启动器。
PMS: BUG-3011091 parent 10ede0d commit 5963117
3 files changed
Lines changed: 46 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | | - | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
| |||
101 | 110 | | |
102 | 111 | | |
103 | 112 | | |
104 | | - | |
| 113 | + | |
105 | 114 | | |
106 | 115 | | |
107 | | - | |
| 116 | + | |
| 117 | + | |
108 | 118 | | |
109 | 119 | | |
110 | 120 | | |
| |||
152 | 162 | | |
153 | 163 | | |
154 | 164 | | |
155 | | - | |
| 165 | + | |
| 166 | + | |
156 | 167 | | |
157 | 168 | | |
158 | 169 | | |
| |||
176 | 187 | | |
177 | 188 | | |
178 | 189 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
189 | 194 | | |
190 | 195 | | |
191 | 196 | | |
192 | 197 | | |
193 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
194 | 202 | | |
195 | 203 | | |
196 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
268 | 269 | | |
269 | 270 | | |
270 | 271 | | |
| |||
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
| 282 | + | |
281 | 283 | | |
282 | 284 | | |
283 | 285 | | |
| |||
295 | 297 | | |
296 | 298 | | |
297 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
298 | 316 | | |
299 | 317 | | |
300 | 318 | | |
| |||
0 commit comments