Repository navigation
refactor(dock): simplify task overflow logic (2500u3) - #1887
Conversation
Reviewer's GuideAPIRemove the controller’s minimumReached property and setter from the interface, matching the new overflow behavior.
Uses of the APIKeep task icons at the dock-determined size, remove adaptive size solving, and enable overflow whenever the title layout cannot fit.
ImplementationRemove the minimumReached setter and simplify overflow latching so it depends on available extent and full extent alone.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
3a7bd9f to
97b71d5
Compare
|
1. Remove adaptive icon shrinking and keep dock-sized task icons 2. Enable overflow whenever the title layout cannot fit available space 3. Drop minimum size solving and the minimumReached property 4. Simplify overflow latching to depend only on available extent Log: Simplify task overflow to fixed icon size with overflow fallback Influence: Dock icons stay at dock size; excess tasks move to overflow refactor(dock): 简化任务溢出逻辑 1. 移除图标自适应缩小,保持任务图标为停靠栏尺寸 2. 标题布局无法容纳可用空间时即可触发溢出 3. 移除最小尺寸求解及 minimumReached 属性 4. 简化溢出锁定逻辑,仅依据可用空间判断 Log: 简化任务溢出逻辑,图标固定尺寸并用溢出承接多余任务 Influence: 停靠栏图标保持原尺寸,多余任务移入溢出区 PMS: BUG-384519 (cherry picked from commit 8d3109a)
97b71d5 to
9f94296
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: MyLeeJiEun, 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 |
将 #1886 移植到
develop/2500u3。应用区域占满后,任务图标保持由任务栏尺寸决定的大小,多余应用直接进入溢出区域。移除按应用数量缩小图标的逻辑,以及进入溢出区域前必须达到最小图标尺寸的限制。
原始 PR:#1886
通过
cherry-pick -x移植提交8d3109abe9448aa22e9eea4bc2b76e4254c81e19,无冲突。git diff --check通过;未额外运行构建或测试。Log: 保持任务栏应用图标尺寸,空间不足时直接进入溢出区域
PMS: BUG-384519
Summary by Sourcery
Keep dock-sized task icons and move applications to overflow when available space is insufficient.
Bug Fixes:
Enhancements: