fix: disable gesture module on Treeland#1133
Conversation
Add gesture to the Treeland module denylist so dde-session-daemon does not load the legacy gesture module under Treeland. 将 gesture 加入 Treeland 模块禁用列表,避免 dde-session-daemon 在 Treeland 环境加载旧的 gesture 模块。 Log: disable gesture module on Treeland Pms: TASK-390447 Change-Id: I68f5a29ef9b3543523d1b15baa678b6ec432032f
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: yixinshark 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 |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds the legacy gesture module to the Treeland module denylist so dde-session-daemon skips loading it under Treeland, and updates the SPDX copyright year range. Flow diagram for Treeland module denylist including gestureflowchart LR
TreelandEnv["Treeland environment detected"] --> Loader["dde-session-daemon module loader"]
Loader --> CheckDenylist["Check treeLandNotAllowModules"]
CheckDenylist -->|gesture in denylist| SkipGesture["Skip loading gesture module"]
CheckDenylist -->|module not in denylist| LoadModule["Load module"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin pr auto review你好!我是CodeGeeX,你的智能编程助手。我已仔细审查了你提供的 Git Diff 输入。本次代码变更非常精简,主要涉及版权年份的更新以及 Wayland (TreeLand) 环境下黑名单模块的调整。 以下是我对本次变更的详细审查意见: 1. 语法逻辑
2. 代码质量
3. 代码性能
4. 代码安全
总结本次 Diff 变更本身安全且合理,主要风险在于硬编码和查询效率。如果这只是项目初期的简单维护,当前代码完全可以合并;如果项目处于长期迭代中,建议考虑将黑名单重构为 Map 结构并提取魔法字符串为常量。 如果你有 |
Add gesture to the Treeland module denylist so dde-session-daemon does not load the legacy gesture module under Treeland.
将 gesture 加入 Treeland 模块禁用列表,避免 dde-session-daemon 在 Treeland 环境加载旧的 gesture 模块。
Log: disable gesture module on Treeland
Pms: TASK-390447
Change-Id: I68f5a29ef9b3543523d1b15baa678b6ec432032f
Summary by Sourcery
Bug Fixes: