Repository navigation
fix(dock): keep dock up while preview is shown - #1923
Conversation
1. Track whether the compositor-drawn dock preview is currently displayed. 2. Stop the hide timer and force the dock to Show when a preview appears. 3. Restart the hide timer once the preview context closes or a tooltip replaces it. 4. Exclude a shown preview from the hide decision alongside transient children. Log: Prevent the dock from hiding while a window preview is open. Influence: Dock previews no longer disappear before the pointer moves away. fix(dock): 预览显示时保持任务栏显示 1. 记录当前是否有合成器绘制的任务栏预览处于显示状态。 2. 预览出现时停止隐藏定时器并强制任务栏显示。 3. 预览上下文关闭或被提示替换后重新启动隐藏定时器。 4. 隐藏判定中将已显示的预览视作与临时子窗口同等条件。 Log: 修复窗口预览打开时任务栏被隐藏的问题。 PMS: TASK-399551 Influence: 任务栏预览不再在鼠标移开前提前消失。
Reviewer's GuideAPIExpose preview-state control on DockHelper so its Wayland-specific subclass can report when a dock preview is shown or dismissed.
Uses of the APIConnect preview display, closure, reset, and tooltip replacement events to the dock's preview-state control.
ImplementationTrack whether a preview is shown, prevent hiding while it is active, and stop or restart the hide timer as preview state changes.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, MyLeeJiEun 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 |
|
|
/forcemerge |
e018248
into
linuxdeepin:develop/2500u3
|
This pr force merged! (status: blocked, merge_method: rebase) |
Log: Prevent the dock from hiding while a window preview is open.
Influence: Dock previews no longer disappear before the pointer moves away.
fix(dock): 预览显示时保持任务栏显示
Log: 修复窗口预览打开时任务栏被隐藏的问题。
PMS: TASK-399551
Influence: 任务栏预览不再在鼠标移开前提前消失。
Summary by Sourcery
Bug Fixes: