Repository navigation
Conversation
|
Skipping CI for Draft Pull Request. |
Reviewer's GuideMigrates show-desktop, multitask-view, and shutdown actions from legacy Treeland protocol wrappers to direct treeland-compositor-action-unstable-v1 triggers, removes obsolete DDE shell integration, and raises the protocol build dependency to 0.7.0. Sequence diagram for unified compositor action triggerssequenceDiagram
participant ShowDesktop
participant MultiTaskView
participant Shutdown
participant CompositorAction as TreelandCompositorAction
participant Compositor as TreelandCompositor
ShowDesktop->>CompositorAction: desktopToggle()
CompositorAction->>Compositor: trigger(action_show_desktop)
MultiTaskView->>CompositorAction: toggle()
CompositorAction->>Compositor: trigger(action_toggle_multitask_view)
Shutdown->>CompositorAction: lock()
CompositorAction->>Compositor: trigger(action_lockscreen)
Shutdown->>CompositorAction: shutdown()
CompositorAction->>Compositor: trigger(action_shutdown_menu)
Shutdown->>CompositorAction: switchUser()
CompositorAction->>Compositor: trigger(action_show_user_switch)
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
47d310b to
f7f31b9
Compare
|
TAG Bot New tag: 2.0.57 |
2216384 to
6a1f92b
Compare
…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 后可正常编译
6a1f92b to
8b128b4
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, deepin-wm The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@deepin-wm: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Summary
Migrate dde-shell's showdesktop and multitaskview panels from
treeland-show-desktop-unstable-v1/treeland-dde-shell-v1protocols to the unifiedtreeland-compositor-action-unstable-v1protocol.TreelandCompositorActionwrapper class per paneltrigger(action_show_desktop)replaces the oldset_show_desktop_state+ state trackingtrigger(action_toggle_multitask_view)replaces the old two-stepmanager → worker → togglepatterntreeland-protocolsbuild dependency upgraded to0.7.0debian/controlbuild dependency updated accordinglyChanges (11 files, net -39 lines)
panels/dock/showdesktop/:treelandshowdesktop.h/cpp→treelandcompositoraction.h/cpp, wrapper rewrite, state tracking removed,CMakeLists.txtupdatedpanels/dock/multitaskview/:treelandmultitaskview.h/cpp→treelandcompositoraction.h/cpp, two-step worker removed,CMakeLists.txtupdateddebian/control:treeland-protocols (>> 0.5.9)→treeland-protocols (>> 0.7.0)Related
treeland-show-desktop-unstable-v1approach)Summary by Sourcery
Adopt the unified Treeland compositor action protocol for desktop, multitask, and shutdown controls.
New Features:
Enhancements:
Build: