Conversation
1. Add an in-process WallpaperSync singleton shared by the display and personalization plugins 2. Publish desktop wallpaper source, monitor name, and source type after a successful Treeland wallpaper update 3. Apply synced wallpapers by monitor name and reuse video thumbnail resolution for video wallpapers 4. Rebind Treeland Wallpaper contexts when the display page is activated so the compositor can push its initial state 5. Keep the X11 DBus wallpaper refresh path unchanged Log: Treeland display wallpaper previews now update immediately Influence: Treeland wallpaper preview updates no longer require restarting the control center; X11 wallpaper preview behavior is unchanged fix(display): 同步 Treeland 壁纸示意图 1. 新增显示与个性化插件共享的同进程 WallpaperSync 单例 2. Treeland 桌面壁纸设置成功后发布壁纸源、显示器名称和源类型 3. 按显示器名称应用同步壁纸,视频壁纸复用缩略图解析逻辑 4. 显示页面激活时重新绑定 Treeland Wallpaper 对象,触发合成器推送初始状态 5. 保持 X11 的 DBus 壁纸刷新路径不变 Log: Treeland 显示壁纸示意图可立即更新 Influence: Treeland 壁纸示意图更新不再需要重启控制中心;X11 壁纸示意图行为不变 PMS: BUG-372289
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: caixr23 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 GuideAdds a shared wallpaper synchronization channel between Treeland personalization and display plugins, allowing immediate per-monitor image and video preview updates, and refreshes wallpaper contexts when the display page is reactivated while preserving existing X11 behavior. Sequence diagram for Treeland wallpaper preview synchronizationsequenceDiagram
participant Personalization as TreelandPersonalization
participant Sync as WallpaperSync
participant Display as DisplayWorker
participant Monitor as TreelandMonitor
Personalization->>Sync: setWallpaper(monitorName, dest, type)
Sync-->>Display: wallpaperChanged(monitorName, source, sourceType)
alt VideoSourceType
Display->>Display: resolveVideoThumbnail(source, monitor)
end
Display->>Monitor: setWallpaper(wallpaper)
Flow diagram for rebinding Treeland wallpaper contextsflowchart LR
A[Display page becomes active] --> B{Treeland mode}
B -->|Yes| C["rebindWallpaperContexts()"]
C --> D["removeWallpaper(output)"]
D --> E["ensureWallpaperContext(screen)"]
E --> F[Refresh per-monitor wallpaper previews]
B -->|No| G[Preserve existing X11 behavior]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Summary
Multica issue
DDE-88
Test recommendations
Summary by Sourcery
Synchronize Treeland wallpaper state across personalization and display pages to keep monitor previews current.
New Features:
Bug Fixes:
Enhancements:
Build: