Skip to content

fix: apply code review fixes - #7

Closed
deepin-wm wants to merge 1 commit into
glyvut:feat/animation-newfrom
deepin-wm:feat/animation-new
Closed

deepin-wm wants to merge 1 commit into
glyvut:feat/animation-newfrom
deepin-wm:feat/animation-new

Conversation

@deepin-wm

Copy link
Copy Markdown

Apply review fixes for issues 2 and 3. See linuxdeepin#1394

Add the server-side implementation of treeland-window-transition-unstable-v1,
which plays a window open/close transition relative to a source rectangle
attached to an xdg-activation token.

A client attaches a persistent transition rectangle (geometry plus an
optional source image) to an xdg_activation_token_v1 before committing the
token. At activation the compositor associates the rectangle with the target
window, animating from the rectangle's global position on open and back to it
on close. The rectangle stays alive, so set_geometry and set_source_buffer
update it immediately.

新增 treeland-window-transition-unstable-v1 的服务端实现,基于关联到
xdg-activation token 的源矩形播放窗口打开/关闭转场。

客户端在提交 token 前挂载一个持久的转场矩形(几何信息及可选源图像)。
激活时合成器将矩形关联到目标窗口,打开时从矩形的全局位置播放动画,
关闭时过渡回该矩形。矩形持续存活,set_geometry / set_source_buffer
可立即更新。

Log: 实现窗口转场协议,基于激活 token 的源矩形播放开/关转场
Influence: 新增窗口转场模块、QML 动画组件及 test-window-transition 样例;
激活流程支持矩形关联并播放开/关动画。
@deepin-wm deepin-wm closed this Sep 14, 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