fix: modify when keep hiden animation has launched, has shadow and line.#1158
Conversation
Reviewer's GuideIntroduce conditional logic to D.DWindow properties in the dock panel to remove its shadow and border while the hide/show animation is active, preventing visual artifacts. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey @wjyrich - I've reviewed your changes - here's some feedback:
- Consider extracting the
hideShowAnimation.runningcondition into a dedicated property (e.g.,isAnimating) to avoid duplicating logic and improve readability. - Replace the numeric literal
0forwindowEffectwith the corresponding named enum/constant to make the default effect clearer.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider extracting the `hideShowAnimation.running` condition into a dedicated property (e.g., `isAnimating`) to avoid duplicating logic and improve readability.
- Replace the numeric literal `0` for `windowEffect` with the corresponding named enum/constant to make the default effect clearer.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
panels/dock/package/main.qml
Outdated
| D.DWindow.enabled: true | ||
| D.DWindow.windowRadius: 0 | ||
| D.DWindow.borderWidth: 1 | ||
| //D.DWindow.windowEffect: hideShowAnimation.running ? D.PlatformHandle.EffectNoShadow : 0 |
There was a problem hiding this comment.
也不是, 因为windoweffect没有效果 想着kwin修复了 再修改,我去备注一下
as title. PMS-BUG-313787
deepin pr auto review关键摘要:
是否建议立即修改:
合并相似的问题:
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, wjyrich 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 |
|
TAG Bot New tag: 2.0.0 |
|
TAG Bot New tag: 2.0.1 |
|
/forcemerge |
|
This pr force merged! (status: behind) |
as title.
PMS-BUG-313787
Summary by Sourcery
Disable window shadow and border during the dock hide/show animation
Bug Fixes: