Repository navigation
Conversation
1. Root cause: TaskOverflowButton used qsTr("Overflow area") for both
PanelToolTip text and Accessible.name, which displays as a technical
description rather than user-friendly text
2. Fix: change source string to qsTr("Show hidden icons") and update
zh_CN/zh_HK/zh_TW translations accordingly
3. Impact: hover tooltip on overflow area now shows correct text,
screen reader also reads the updated accessible name
Log: Fixed overflow area tooltip text to show hidden icons
Influence:
1. Test hovering over the overflow area button in taskbar
2. Verify tooltip displays "Show hidden icons" (显示隐藏图标)
3. Verify screen reader reads the updated accessible name
fix: 修正溢出区域按钮 tooltip 文案为显示隐藏图标
1. 根因:TaskOverflowButton 的 PanelToolTip 和 Accessible.name 均使用
qsTr("Overflow area"),展示为技术描述而非面向用户的功能文案
2. 方案:将源字符串改为 qsTr("Show hidden icons"),同步更新
zh_CN/zh_HK/zh_TW 翻译文件
3. 影响:溢出区域 hover tooltip 文案修正为"显示隐藏图标",
无障碍读屏名称同步更新
Log: 修正溢出区域 tooltip 文案为显示隐藏图标
Influence:
1. 测试鼠标 hover 任务栏溢出区域按钮
2. 验证 tooltip 显示"显示隐藏图标"
3. 验证无障碍读屏功能读取更新后的名称
PMS: BUG-384749
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mhduiy 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 GuideUIUpdate the overflow button’s tooltip and accessible name together so both display the user-facing “Show hidden icons” text.
Update the overflow button translation source and localized Chinese text to match the revised UI string.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root Cause Analysis
The overflow area button in the taskbar dock (
TaskOverflowButton.qml) usedqsTr("Overflow area")as the tooltip text and accessible name. This technical description does not match the expected user-facing text "Show hidden icons" (显示隐藏图标). The root cause is a single incorrect source string — introduced when the overflow button was first added incf0348bf(2026-11-10) — that propagates to both the hover tooltip (PanelToolTip.text) and the screen reader name (Accessible.name).Fix Approach
Change both occurrences of
qsTr("Overflow area")inTaskOverflowButton.qmltoqsTr("Show hidden icons"), and update the four translation files (template.ts+zh_CN/zh_HK/zh_TW) accordingly so the displayed text becomes "显示隐藏图标" / "顯示隱藏圖標" / "顯示隱藏圖示".Change Safety Assessment
Code Safety
qsTr()return value is consumed only for UI displayBusiness Impact Scope
The change affects the taskbar overflow area button tooltip and screen reader announcement. When users hover over the overflow button in the dock, the tooltip now displays "Show hidden icons" instead of "Overflow area". Screen reader users will hear the updated accessible name. No other functional modules are affected.
Verification Suggestion
Hover over the overflow area button in the taskbar dock and verify the tooltip shows "Show hidden icons" (显示隐藏图标). Verify screen reader reads the updated name. Test with zh_CN, zh_HK, and zh_TW locales.
根因分析
任务栏溢出区域按钮(
TaskOverflowButton.qml)使用qsTr("Overflow area")作为 tooltip 文案和无障碍名称。该技术描述性文案与期望的用户面向文案"显示隐藏图标"不符。根因为单一源字符串错误——在cf0348bf(2026-11-10)首次引入溢出按钮时即使用了该占位文案——同时影响 hover tooltip(PanelToolTip.text)和读屏名称(Accessible.name)。修复方案
将
TaskOverflowButton.qml中两处qsTr("Overflow area")改为qsTr("Show hidden icons"),并同步更新 4 个翻译文件(模板.ts+zh_CN/zh_HK/zh_TW),使显示文案变为"显示隐藏图标"/"顯示隱藏圖標"/"顯示隱藏圖示"。改动安全评估
代码安全评估
qsTr()返回值仅用于 UI 展示业务影响范围
本次改动影响任务栏溢出区域按钮的 tooltip 和无障碍读屏名称。用户 hover 溢出区域按钮时,tooltip 将显示"显示隐藏图标"而非"溢出区域"。读屏用户将听到更新后的无障碍名称。不影响其他功能模块。
验证建议
鼠标 hover 任务栏溢出区域按钮,验证 tooltip 显示"显示隐藏图标"。验证读屏功能读取更新后的名称。分别在 zh_CN、zh_HK、zh_TW 语言环境下测试。
PMS: BUG-384749
Summary by Sourcery
Use user-facing “Show hidden icons” text for the taskbar overflow button and its accessibility label.
Bug Fixes: