Commit 7bf3176
fix: resolve focus loss when switching from fullscreen to windowed
1. Added new method setCurrentFrameToWindowedFrame() to handle focus
loss issue
2. Implemented delayed frame switching with QTimer to prevent window
flickering
3. Modified FullscreenFrame.qml to use new method instead of direct
property change
4. The fix addresses a bug where launcher window wouldn't show after
switching from fullscreen mode due to focus loss
fix: 修复从全屏切换到窗口模式时的焦点丢失问题
1. 新增 setCurrentFrameToWindowedFrame() 方法处理焦点丢失问题
2. 使用 QTimer 实现延迟的框架切换,防止窗口闪烁
3. 修改 FullscreenFrame.qml 使用新方法替代直接属性修改
4. 该修复解决了从全屏模式切换后启动器窗口因焦点丢失无法显示的问题
Pms: BUG-3109451 parent 9f6b256 commit 7bf3176
3 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
0 commit comments