You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(dock): integrate optional event logging support
Add conditional event logging support for dock-related modules and wire
the required build detection and package dependency. The implementation
keeps the logging integration optional when the event logger headers are
unavailable.
Refactor event logging code to reduce duplication and fix a UI-blocking
issue: extract shared logDockConfig() helper in DockSettings and
updateAndLogTrayPluginList() helper in DockDBusProxy, unify
visiblePluginList/visiblePluginCount into VisiblePluginStats, simplify
timer wiring, and move dpkg-query off the UI thread using
QtConcurrent::run with pre-start in the constructor.
feat(dock): 集成可选事件日志支持
为 dock 相关模块添加条件事件日志支持,并接入所需的构建检测与包依赖。
该实现会在缺少事件日志头文件时保持日志集成可选。
重构事件日志代码以减少重复并修复 UI 阻塞问题:在 DockSettings 中
提取 logDockConfig() 辅助方法,在 DockDBusProxy 中提取
updateAndLogTrayPluginList() 辅助方法,将 visiblePluginList 和
visiblePluginCount 统一为 VisiblePluginStats,简化定时器连接,
并使用 QtConcurrent::run 将 dpkg-query 移至后台线程,在构造函数
中预启动以确保首次使用时结果已就绪。
PMS: TASK-388657
0 commit comments