Commit 0cd3127
committed
fix: handle kglobalaccel D-Bus name owner properly
Changed the D-Bus GetNameOwner call to store the result and check if
kglobalaccel is available
Updated warning message to info when kglobalaccel becomes ready
This ensures proper initialization of KWin shortcuts only when
kglobalaccel service is actually available
Log: Fixed kglobalaccel service detection for KWin shortcuts
Influence:
1. Test KWin shortcut functionality with and without kglobalaccel
service running
2. Verify that shortcuts work correctly when kglobalaccel starts after
the window manager
3. Check that no errors occur when kglobalaccel is not available
4. Test D-Bus signal handling for service availability changes
fix: 正确处理 kglobalaccel D-Bus 名称所有者
修改 D-Bus GetNameOwner 调用以存储结果并检查 kglobalaccel 是否可用
当 kglobalaccel 准备就绪时将警告消息更新为信息级别
这确保仅在 kglobalaccel 服务实际可用时正确初始化 KWin 快捷键
Log: 修复了 KWin 快捷键的 kglobalaccel 服务检测
PMS: BUG-344071
Influence:
1. 测试在有和没有运行 kglobalaccel 服务时的 KWin 快捷键功能
2. 验证当 kglobalaccel 在窗口管理器之后启动时快捷键是否正常工作
3. 检查当 kglobalaccel 不可用时不会出现错误
4. 测试服务可用性变化的 D-Bus 信号处理1 parent 0c0f863 commit 0cd3127
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
317 | 318 | | |
318 | | - | |
| 319 | + | |
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
325 | | - | |
| 326 | + | |
326 | 327 | | |
327 | 328 | | |
328 | 329 | | |
| |||
0 commit comments