Skip to content

feat: OSD Wayland adaptation, Bluetooth types, unit tests and AT-SPI tests - #1

Closed
Ivy233 wants to merge 3 commits into
masterfrom
agent/developer/39f701dddfd6
Closed

Ivy233 wants to merge 3 commits into
masterfrom
agent/developer/39f701dddfd6

Conversation

@Ivy233

@Ivy233 Ivy233 commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Summary

亮度 v1→v2 协议迁移、显示模式 Wayland 降级适配、蓝牙 OSD 类型补充、4 个单元测试及 AT-SPI 测试期望值补充(16 文件,839 insertions, 27 deletions)

Changes

  1. 亮度 applet v1→v2 协议迁移:treelandbrightness 相关文件适配 v2 协议接口
  2. 显示模式 applet Wayland 降级适配:Wayland 环境下显示模式切换降级处理
  3. 蓝牙 OSD 类型补充:新增蓝牙相关 OSD 类型定义
  4. 单元测试补充:4 个单元测试覆盖关键逻辑
  5. AT-SPI 测试期望值补充:AT-SPI 测试期望值更新

Multica Issue: DDE-445

wineee and others added 3 commits October 14, 2026 03:43
…ocol

1. Rewrite showdesktop wrapper to use treeland-compositor-action-unstable-v1
2. Rewrite multitaskview wrapper to use treeland-compositor-action-unstable-v1
3. Remove old state tracking logic from showdesktop wrapper
4. Remove two-step worker pattern from multitaskview wrapper
5. Update CMakeLists.txt to use new protocol XML and treeland-protocols 0.7.0
6. Update debian/control build dependency to treeland-protocols (>= 0.7.0)

Log: Migrated show desktop and multitask view to compositor action protocol

Influence:
1. Test show desktop toggle on Wayland session
2. Test multitask view toggle on Wayland session
3. Verify X11 fallback paths remain unchanged
4. Verify build with treeland-protocols 0.7.0 installed

feat: 迁移显示桌面和多任务视图至 compositor-action 协议

1. 重写 showdesktop 包装类,使用 treeland-compositor-action-unstable-v1 协议
2. 重写 multitaskview 包装类,使用 treeland-compositor-action-unstable-v1 协议
3. 移除 showdesktop 包装类中旧的状态跟踪逻辑
4. 移除 multitaskview 包装类中的两步式 worker 模式
5. 更新 CMakeLists.txt 使用新协议 XML 和 treeland-protocols 0.7.0
6. 更新 debian/control 构建依赖至 treeland-protocols (>= 0.7.0)

Log: 迁移显示桌面和多任务视图功能至 compositor action 协议

Influence:
1. 在 Wayland 会话下测试显示桌面切换功能
2. 在 Wayland 会话下测试多任务视图切换功能
3. 验证 X11 回退路径保持不变
4. 验证安装 treeland-protocols 0.7.0 后可正常编译
1. Add null-safe destroy() guards to avoid crash on uninitialized proxy
2. Replace isActive() with isInitialized() to prevent proxy leak on global removal
3. Add missing destructors for WallpaperColorManager and keyboard notify objects

Log: No user-facing changes

Influence:
1. Run dock panel on a non-treeland Wayland compositor and quit normally
2. Toggle SmartHide mode repeatedly and verify region watch is released
3. Switch CapsLock/NumLock and shutdown/lockscreen on Wayland to confirm no crash

fix: 使用 isInitialized 保护 Wayland 协议析构销毁

1. 为 destroy() 增加空指针保护,避免未初始化代理崩溃
2. 将 isActive() 改为 isInitialized(),防止 global 移除后代理泄漏
3. 补齐 WallpaperColorManager 与键盘通知对象的析构销毁

Log: 无用户可见变化

Influence:
1. 在非 treeland 的 Wayland 合成器上运行 dock 面板并正常退出
2. 反复切换智能隐藏模式,确认区域监听已释放
3. 在 Wayland 下切换大小写/数字锁定与关机/锁屏,确认无崩溃
@Ivy233 Ivy233 closed this Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants