Commit ccec532
fix: handle menu cleanup and visibility in SideBar
1. Added menu.destroy call when menu is closed to prevent memory leaks
2. Connected LauncherController.visibleChanged signal to close menu when
launcher becomes invisible
3. Ensures proper cleanup of menu resources and prevents orphaned popups
fix: 处理侧边栏菜单清理和可见性问题
1. 添加菜单关闭时的销毁调用以防止内存泄漏
2. 连接LauncherController.visibleChanged信号在启动器不可见时关闭菜单
3. 确保菜单资源的正确清理并防止弹出窗口残留
Pms: BUG-3230631 parent fda5a9b commit ccec532
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
76 | 85 | | |
77 | 86 | | |
78 | 87 | | |
| |||
0 commit comments