Skip to content

fix: correct overflow button tooltip text to show hidden icons - #1902

Closed
mhduiy wants to merge 1 commit into
masterfrom
agent/bugfix/384749
Closed

mhduiy wants to merge 1 commit into
masterfrom
agent/bugfix/384749

Conversation

@mhduiy

@mhduiy mhduiy commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

修复内容

修复 PMS Bug 384749:鼠标 hover 溢出区域图标展示 tips 文案有误,应为「显示隐藏图标」。

改动

将任务栏溢出区域(TaskOverflowButton)的 tooltip 文案从 "Overflow area" 改为 "Show hidden icons",并同步更新翻译文件:

  • : 和 的 文案
  • :source 文本更新
  • :"溢出区域" → "显示隐藏图标"
  • :"溢出區域" → "顯示隱藏圖標"
  • :"溢出區域" → "顯示隱藏圖示"

风险评估

低风险 — 仅修改字符串字面值,不涉及逻辑/控制流/接口变更。

关联

Summary by Sourcery

Correct the taskbar overflow button labeling so it clearly identifies the action of showing hidden icons.

Bug Fixes:

  • Correct the taskbar overflow button tooltip and accessible label to indicate that it shows hidden icons.

Chores:

  • Update the corresponding source and Chinese translation entries for the revised tooltip text.

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
@deepin-ci-robot

Copy link
Copy Markdown

[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.

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

@sourcery-ai

sourcery-ai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Reviewer's Guide

UI

Update the overflow button’s accessible name and tooltip to say “Show hidden icons,” and keep its translations aligned with the new source text.

  • panels/dock/taskmanager/package/TaskOverflowButton.qml L58, L211
  • panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager.ts L117
  • panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_CN.ts L115-116
  • panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_HK.ts L115-116
  • panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_TW.ts L115-116

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

@github-actions

Copy link
Copy Markdown

CLA Assistant Lite bot:

如果你是以企业贡献者的身份进行提交,请联系我们签署企业贡献者许可协议
If you submit as corporate contributor, please contact us to sign our Corporate Contributor License Agreement

感谢您的提交,我们非常感谢。 像许多开源项目一样,在接受您的贡献之前,我们要求您签署我们的个人贡献者许可协议。 您只需发布与以下格式相同的评论即可签署个人贡献者许可协议。
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Individual Contributor License Agreement before we can accept your contribution. You can sign the Individual Contributor License Agreement by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA.

shuttle slave seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request

@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 reviewed your changes and they look great!


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: 1edcb69a)

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

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

@mhduiy

mhduiy commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Closing as duplicate — PR #1903 contains the same fix from the bot's fork branch.

@mhduiy mhduiy closed this Nov 30, 2026
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.

2 participants