Skip to content

fix(dock): rename overflow button accessible text - #1907

Merged
wjyrich merged 1 commit into
linuxdeepin:masterfrom
wjyrich:fix-bug-384749
Nov 30, 2026
Merged

wjyrich merged 1 commit into
linuxdeepin:masterfrom
wjyrich:fix-bug-384749

Conversation

@wjyrich

@wjyrich wjyrich commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor
  1. Change the overflow button's Accessible.name from "Overflow area" to "Show hidden icons".
  2. Update the panel tooltip text to match the new wording.
  3. Improve clarity of the button's purpose for screen readers and tooltips.

Log: Rename overflow button text to "Show hidden icons" Influence: Overflow button label and tooltip now describe its function more clearly.

fix(dock): 重命名溢出按钮的无障碍文案

  1. 将溢出按钮的 Accessible.name 由“Overflow area”改为“Show hidden icons”。
  2. 同步更新面板提示框文案,保持一致。
  3. 让读屏软件与提示框更清晰地表达按钮用途。

Log: 将溢出按钮文案改为“Show hidden icons”
Influence: 溢出按钮的名称与提示文案更准确地表达其功能。
PMS: BUG-384749

Summary by Sourcery

Bug Fixes:

  • Rename the dock overflow button’s accessible label and tooltip to “Show hidden icons” so its purpose is clearer.

@sourcery-ai

sourcery-ai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

UI

Rename the overflow button’s accessible name and tooltip together to “Show hidden icons” so both convey its purpose consistently.

  • panels/dock/taskmanager/package/TaskOverflowButton.qml L58, L211

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="panels/dock/taskmanager/package/TaskOverflowButton.qml" line_range="58" />
<code_context>

     Accessible.role: Accessible.Button
-    Accessible.name: qsTr("Overflow area")
+    Accessible.name: qsTr("Show hidden icons")

     // Leave a full application gap between each outer line and its shortcut.
</code_context>
<issue_to_address>
**Accessible text stays English**

When a user runs the dock in a translated locale whose task manager catalog contains only “Overflow area”, `qsTr("Show hidden icons")` finds no matching catalog entry, so Qt falls back to English for both the accessible name and tooltip.

Add “Show hidden icons” entries to the task manager translation catalogs.

Also at `panels/dock/taskmanager/package/TaskOverflowButton.qml:59`, `panels/dock/taskmanager/package/TaskOverflowButton.qml:211-212`.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@deepin-ci-robot

deepin-ci-robot commented Nov 30, 2026 •

Copy link
Copy Markdown

⚠️ OBS CI 构建警告日志 (Commit: 30a2f2d6)

提示:以下为 OBS CI 构建中 Lintian 检测到的警告信息,默认折叠,点击展开查看详情。完整日志请参阅对应构建状态链接。

deepin_develop / aarch64 (Lintian 警告: 15 条)
[  749s] W: dde-shell: desktop-command-not-in-package bin/false [usr/share/applications/org.deepin.dde-shell.desktop]
[  749s] N: 
[  749s] N:   The desktop entry specifies a Command that does not match any of the
[  749s] N:   executables shipped in the package.
[  749s] N:   
[  749s] N:   This condition is often caused by a typo, or the desktop file was not
[  749s] N:   updated after the installed path of the executable was modified.
[  749s] N:   
[  749s] N:   Packages should ship executables that are used as commands in desktop
[  749s] N:   files.
[  749s] N: 
[  749s] N:   Visibility: warning
[  749s] N:   Show-Always: no
[  749s] N:   Check: menu-format
[  749s] N: 
[  749s] N:
[  749s] W: dde-shell: link-to-shared-library-in-wrong-package usr/lib/aarch64-linux-gnu/libds-notification-shared.so.2.0.61 [usr/lib/aarch64-linux-gnu/libds-notification-shared.so]
[  749s] N: 
[  749s] N:   Although this package is not a "-dev" package, it installs a
[  749s] N:   "libsomething.so" symbolic link referencing the corresponding shared
[  749s] N:   library. When the link doesn't include the version number, it is used by
[  749s] N:   the linker when other programs are built against this shared library.
[  749s] N:   
[  749s] N:   Shared libraries are supposed to place such symbolic links in their
[  749s] N:   respective "-dev" packages, so it is a bug to include it with the main
[  749s] N:   library package.
[  749s] N:   
[  749s] N:   However, if this is a small package which includes the runtime and the
[  749s] N:   development libraries, this is not a bug. In the latter case, please
[  749s] N:   override this warning.
[  749s] N: 
[  749s] N:   Please refer to Development files (Section 8.4) in the Debian Policy
[  749s] N:   Manual for details.
[  749s] N: 
[  749s] N:   Visibility: warning
[  749s] N:   Show-Always: no
[  749s] N:   Check: libraries/shared/links
[  749s] N:   Renamed from: non-dev-pkg-with-shlib-symlink
[  749s] N: 
[  749s] N:
[  749s] W: dde-shell: no-manual-page [usr/bin/dde-shell]
[  749s] N: 
[  749s] N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have
[  749s] N:   a manual page
[  749s] N:   
[  749s] N:   Note that though the man program has the capability to check for several
[  749s] N:   program names in the NAMES section, each of these programs should have its
[  749s] N:   own manual page (a symbolic link to the appropriate manual page is
[  749s] N:   sufficient) because other manual page viewers such as xman or tkman don't
[  749s] N:   support this.
[  749s] N:   
[  749s] N:   If the name of the manual page differs from the binary by case, man may be
[  749s] N:   able to find it anyway; however, it is still best practice to match the
[  749s] N:   exact capitalization of the executable in the manual page.
[  749s] N:   
[  749s] N:   If the manual pages are provided by another package on which this package
[  749s] N:   depends, Lintian may not be able to determine that manual pages are
[  749s] N:   available. In this case, after confirming that all binaries do have manual
[  749s] N:   pages after this package and its dependencies are installed, please add a
[  749s] N:   Lintian override.
[  749s] N: 
[  749s] N:   Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
[  749s] N:   for details.
[  749s] N: 
[  749s] N:   Visibility: warning
[  749s] N:   Show-Always: no
[  749s] N:   Check: documentation/manual
[  749s] N:   Renamed from: binary-without-manpage
[  749s] N: 
[  749s] N:
[  749s] W: dde-shell source: no-nmu-in-changelog [debian/changelog:1]
[  749s] N: 
[  749s] N:   When you NMU a package, that fact should be mentioned on the first line in
[  749s] N:   the changelog entry. Use the words "NMU" or "Non-maintainer upload" (case
[  749s] N:   insensitive).
[  749s] N:   
[  749s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[  749s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[  749s] N:   identical to the maintainer or one of the uploaders. If this is a local
[  749s] N:   package (not intended for Debian), you can suppress this warning by
[  749s] N:   putting "local" in the version number or "local package" on the first line
[  749s] N:   of the changelog entry.
[  749s] N: 
[  749s] N:   Please refer to Using the DELAYED/ queue (Section 5.11.3) in the Debian
[  749s] N:   Developer's Reference for details.
[  749s] N: 
[  749s] N:   Visibility: warning
[  749s] N:   Show-Always: no
[  749s] N:   Check: nmu
[  749s] N:   Renamed from: changelog-should-mention-nmu
[  749s] N: 
[  749s] N:
[  749s] W: dde-shell: package-name-doesnt-match-sonames libds-notification-shared2
[  749s] N: 
[  749s] N:   The package name of a library package should usually reflect the soname of
[  749s] N:   the included library. The package name can determined from the library
[  749s] N:   file name with the following code snippet:
[  749s] N:   
[  749s] N:    $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
[  749s] N:        sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/; s/(.*)/\L&/'
[  749s] N: 
[  749s] N:   Visibility: warning
[  749s] N:   Show-Always: no
[  749s] N:   Check: libraries/shared/soname
[  749s] N: 
[  749s] N:
[  749s] W: libdde-shell: package-name-doesnt-match-sonames libdde-shell1
[  749s] N:
[  749s] W: libdde-shell-dock: package-name-doesnt-match-sonames libdde-shell-dock1
[  749s] N:
[  749s] W: dde-shell source: source-nmu-has-incorrect-version-number 2.0.61+u061 [debian/changelog:1]
[  749s] N: 
[  749s] N:   A source NMU should have a Debian revision of "-x.x" (or "+nmuX" for a
[  749s] N:   native package). This is to prevent stealing version numbers from the
[  749s] N:   maintainer.
[  749s] N:   
[  749s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[  749s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[  749s] N:   identical to the maintainer or one of the uploaders. If this is a local
[  749s] N:   package (not intended for Debian), you can suppress this warning by
[  749s] N:   putting "local" in the version number or "local package" on the first line
[  749s] N:   of the changelog entry.
[  749s] N: 
[  749s] N:   Please refer to NMUs and debian/changelog (Section 5.11.2) in the Debian
[  749s] N:   Developer's Reference for details.
[  749s] N: 
[  749s] N:   Visibility: warning
[  749s] N:   Show-Always: no
[  749s] N:   Check: nmu
[  749s] N: 
[  749s] N:
[  749s] W: dde-shell: unknown-section DDE
[  749s] N: 
[  749s] N:   The "Section:" field in this package's control file is not one of the
[  749s] N:   sections in use on the ftp archive. Valid sections are currently admin,
[  749s] N:   comm, cli-mono, database, debug, devel, doc, editors, electronics,
[  749s] N:   embedded, fonts, games, gnome, gnu-r, gnustep, graphics, hamradio,
[  749s] N:   haskell, httpd, interpreters, java, javascript, kde, libdevel, libs, lisp,
[  749s] N:   localization, kernel, mail, math, misc, net, news, ocaml, oldlibs,
[  749s] N:   otherosfs, perl, php, python, ruby, rust, science, shells, sound, tex,
[  749s] N:   text, utils, vcs, video, web, x11, xfce, zope.
[  749s] N:   
[  749s] N:   The section name should be preceded by either "contrib/", "non-free/" or
[  749s] N:   "non-free-firmware/" if the package is in the according archive area.
[  749s] N: 
[  749s] N:   Please refer to Sections (Section 2.4) in the Debian Policy Manual for
[  749s] N:   details.
[  749s] N: 
[  749s] N:   Visibility: warning
[  749s] N:   Show-Always: no
[  749s] N:   Check: fields/section
[  749s] N: 
[  749s] N:
[  749s] W: dde-shell-example: unknown-section DDE
[  749s] N:
[  749s] W: libdde-shell: unknown-section DDE
[  749s] N:
[  749s] W: libdde-shell-dev: unknown-section DDE
[  749s] N:
[  749s] W: libdde-shell-dock: unknown-section DDE
[  749s] N:
[  749s] W: libdde-shell-dock-dev: unknown-section DDE
[  749s] Warning: mkbaselibs missing in build root, skipping baselibs
deepin_develop / x86_64 (Lintian 警告: 15 条)
[  490s] W: dde-shell: desktop-command-not-in-package bin/false [usr/share/applications/org.deepin.dde-shell.desktop]
[  490s] N: 
[  490s] N:   The desktop entry specifies a Command that does not match any of the
[  490s] N:   executables shipped in the package.
[  490s] N:   
[  490s] N:   This condition is often caused by a typo, or the desktop file was not
[  490s] N:   updated after the installed path of the executable was modified.
[  490s] N:   
[  490s] N:   Packages should ship executables that are used as commands in desktop
[  490s] N:   files.
[  490s] N: 
[  490s] N:   Visibility: warning
[  490s] N:   Show-Always: no
[  490s] N:   Check: menu-format
[  490s] N: 
[  490s] N:
[  490s] W: dde-shell: link-to-shared-library-in-wrong-package usr/lib/x86_64-linux-gnu/libds-notification-shared.so.2.0.61 [usr/lib/x86_64-linux-gnu/libds-notification-shared.so]
[  490s] N: 
[  490s] N:   Although this package is not a "-dev" package, it installs a
[  490s] N:   "libsomething.so" symbolic link referencing the corresponding shared
[  490s] N:   library. When the link doesn't include the version number, it is used by
[  490s] N:   the linker when other programs are built against this shared library.
[  490s] N:   
[  490s] N:   Shared libraries are supposed to place such symbolic links in their
[  490s] N:   respective "-dev" packages, so it is a bug to include it with the main
[  490s] N:   library package.
[  490s] N:   
[  490s] N:   However, if this is a small package which includes the runtime and the
[  490s] N:   development libraries, this is not a bug. In the latter case, please
[  490s] N:   override this warning.
[  490s] N: 
[  490s] N:   Please refer to Development files (Section 8.4) in the Debian Policy
[  490s] N:   Manual for details.
[  490s] N: 
[  490s] N:   Visibility: warning
[  490s] N:   Show-Always: no
[  490s] N:   Check: libraries/shared/links
[  490s] N:   Renamed from: non-dev-pkg-with-shlib-symlink
[  490s] N: 
[  490s] N:
[  490s] W: dde-shell: no-manual-page [usr/bin/dde-shell]
[  490s] N: 
[  490s] N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have
[  490s] N:   a manual page
[  490s] N:   
[  490s] N:   Note that though the man program has the capability to check for several
[  490s] N:   program names in the NAMES section, each of these programs should have its
[  490s] N:   own manual page (a symbolic link to the appropriate manual page is
[  490s] N:   sufficient) because other manual page viewers such as xman or tkman don't
[  490s] N:   support this.
[  490s] N:   
[  490s] N:   If the name of the manual page differs from the binary by case, man may be
[  490s] N:   able to find it anyway; however, it is still best practice to match the
[  490s] N:   exact capitalization of the executable in the manual page.
[  490s] N:   
[  490s] N:   If the manual pages are provided by another package on which this package
[  490s] N:   depends, Lintian may not be able to determine that manual pages are
[  490s] N:   available. In this case, after confirming that all binaries do have manual
[  490s] N:   pages after this package and its dependencies are installed, please add a
[  490s] N:   Lintian override.
[  490s] N: 
[  490s] N:   Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
[  490s] N:   for details.
[  490s] N: 
[  490s] N:   Visibility: warning
[  490s] N:   Show-Always: no
[  490s] N:   Check: documentation/manual
[  490s] N:   Renamed from: binary-without-manpage
[  490s] N: 
[  490s] N:
[  490s] W: dde-shell source: no-nmu-in-changelog [debian/changelog:1]
[  490s] N: 
[  490s] N:   When you NMU a package, that fact should be mentioned on the first line in
[  490s] N:   the changelog entry. Use the words "NMU" or "Non-maintainer upload" (case
[  490s] N:   insensitive).
[  490s] N:   
[  490s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[  490s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[  490s] N:   identical to the maintainer or one of the uploaders. If this is a local
[  490s] N:   package (not intended for Debian), you can suppress this warning by
[  490s] N:   putting "local" in the version number or "local package" on the first line
[  490s] N:   of the changelog entry.
[  490s] N: 
[  490s] N:   Please refer to Using the DELAYED/ queue (Section 5.11.3) in the Debian
[  490s] N:   Developer's Reference for details.
[  490s] N: 
[  490s] N:   Visibility: warning
[  490s] N:   Show-Always: no
[  490s] N:   Check: nmu
[  490s] N:   Renamed from: changelog-should-mention-nmu
[  490s] N: 
[  490s] N:
[  490s] W: dde-shell: package-name-doesnt-match-sonames libds-notification-shared2
[  490s] N: 
[  490s] N:   The package name of a library package should usually reflect the soname of
[  490s] N:   the included library. The package name can determined from the library
[  490s] N:   file name with the following code snippet:
[  490s] N:   
[  490s] N:    $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
[  490s] N:        sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/; s/(.*)/\L&/'
[  490s] N: 
[  490s] N:   Visibility: warning
[  490s] N:   Show-Always: no
[  490s] N:   Check: libraries/shared/soname
[  490s] N: 
[  490s] N:
[  490s] W: libdde-shell: package-name-doesnt-match-sonames libdde-shell1
[  490s] N:
[  490s] W: libdde-shell-dock: package-name-doesnt-match-sonames libdde-shell-dock1
[  490s] N:
[  490s] W: dde-shell source: source-nmu-has-incorrect-version-number 2.0.61+u061 [debian/changelog:1]
[  490s] N: 
[  490s] N:   A source NMU should have a Debian revision of "-x.x" (or "+nmuX" for a
[  490s] N:   native package). This is to prevent stealing version numbers from the
[  490s] N:   maintainer.
[  490s] N:   
[  490s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[  490s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[  490s] N:   identical to the maintainer or one of the uploaders. If this is a local
[  490s] N:   package (not intended for Debian), you can suppress this warning by
[  490s] N:   putting "local" in the version number or "local package" on the first line
[  490s] N:   of the changelog entry.
[  490s] N: 
[  490s] N:   Please refer to NMUs and debian/changelog (Section 5.11.2) in the Debian
[  490s] N:   Developer's Reference for details.
[  490s] N: 
[  490s] N:   Visibility: warning
[  490s] N:   Show-Always: no
[  490s] N:   Check: nmu
[  490s] N: 
[  490s] N:
[  490s] W: dde-shell: unknown-section DDE
[  490s] N: 
[  490s] N:   The "Section:" field in this package's control file is not one of the
[  490s] N:   sections in use on the ftp archive. Valid sections are currently admin,
[  490s] N:   comm, cli-mono, database, debug, devel, doc, editors, electronics,
[  490s] N:   embedded, fonts, games, gnome, gnu-r, gnustep, graphics, hamradio,
[  490s] N:   haskell, httpd, interpreters, java, javascript, kde, libdevel, libs, lisp,
[  490s] N:   localization, kernel, mail, math, misc, net, news, ocaml, oldlibs,
[  490s] N:   otherosfs, perl, php, python, ruby, rust, science, shells, sound, tex,
[  490s] N:   text, utils, vcs, video, web, x11, xfce, zope.
[  490s] N:   
[  490s] N:   The section name should be preceded by either "contrib/", "non-free/" or
[  490s] N:   "non-free-firmware/" if the package is in the according archive area.
[  490s] N: 
[  490s] N:   Please refer to Sections (Section 2.4) in the Debian Policy Manual for
[  490s] N:   details.
[  490s] N: 
[  490s] N:   Visibility: warning
[  490s] N:   Show-Always: no
[  490s] N:   Check: fields/section
[  490s] N: 
[  490s] N:
[  490s] W: dde-shell-example: unknown-section DDE
[  490s] N:
[  490s] W: libdde-shell: unknown-section DDE
[  490s] N:
[  490s] W: libdde-shell-dev: unknown-section DDE
[  490s] N:
[  490s] W: libdde-shell-dock: unknown-section DDE
[  490s] N:
[  490s] W: libdde-shell-dock-dev: unknown-section DDE
[  490s] Warning: mkbaselibs missing in build root, skipping baselibs

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: BLumia, wjyrich

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

1. Change the overflow button's Accessible.name from "Overflow area" to
"Show hidden icons".
2. Update the panel tooltip text to match the new wording.
3. Improve clarity of the button's purpose for screen readers and
tooltips.

Log: Rename overflow button text to "Show hidden icons"
Influence: Overflow button label and tooltip now describe its function
more clearly.

fix(dock): 重命名溢出按钮的无障碍文案

1. 将溢出按钮的 Accessible.name 由“Overflow area”改为“Show hidden
icons”。
2. 同步更新面板提示框文案,保持一致。
3. 让读屏软件与提示框更清晰地表达按钮用途。

Log: 将溢出按钮文案改为“Show hidden icons”
Influence: 溢出按钮的名称与提示文案更准确地表达其功能。
PMS: BUG-384749
@wjyrich
wjyrich merged commit ed68fee into linuxdeepin:master Nov 30, 2026
12 of 13 checks passed
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.

3 participants