Skip to content

fix: adjust folder popup layout to match design spec - #1858

Open
18202781743 wants to merge 1 commit into
linuxdeepin:develop/2500u3from
18202781743:agent/bugfix/384283
Open

18202781743 wants to merge 1 commit into
linuxdeepin:develop/2500u3from
18202781743:agent/bugfix/384283

Conversation

@18202781743

@18202781743 18202781743 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Root Cause Analysis

The dock fashion-mode folder popup (FolderPopup.qml) had layout parameters that did not match the design specification. cellWidth was 96 instead of 90, cellHeight was 104 instead of 98, and the Grid element had no spacing set (default 0) instead of the required 30px. These values were set at file creation (commit 69fe3da) and never corrected. The panel width/height formulas also omitted the spacing term, causing the overall panel size to deviate from the design spec.

Key evidence: panels/dock/taskmanager/package/FolderPopup.qml:26-27 (cellWidth/cellHeight values), FolderPopup.qml:125 (Grid missing spacing), and panel size formulas at lines 43/46/115.

Fix

Changed cellWidth from 96 to 90, cellHeight from 104 to 98, added spacing: 30 to the Grid element, and added the spacing term (n-1) * 30 to the panel width, height, and contentHeight formulas. This aligns all layout parameters with the design specification (hover frame 90×98, icon spacing 30px).

Change Safety Assessment

Code Safety

  • Risk Level: Low
  • Target lines are from the file's initial creation commit (69fe3da), not a previous bug fix — this change does not revert any historical fix.
  • FolderPopup.qml is self-contained; cellWidth/cellHeight are readonly properties referenced only within this file. TaskManager.qml and TaskOverflowButton.qml have independent definitions and are unaffected.

Business Impact Scope

Affected module: Dock fashion-mode folder popup — the popup that appears when clicking an app group icon in the taskbar. The change adjusts hover frame size and icon spacing to match the design spec. User scenarios: clicking an app group in the taskbar to view and launch grouped applications.

Verification Suggestion

Test the folder popup with different app counts (≤4, 5-8, >8) to verify layout, hover frame size (90×98), icon spacing (30px), and popup positioning near screen edges.


根因分析

任务栏时尚模式应用组弹窗(FolderPopup.qml)的布局参数与设计规范不一致。cellWidth 为 96 而非 90,cellHeight 为 104 而非 98,Grid 元素未设置 spacing(默认 0)而非设计规范的 30px。这些值在文件创建时(commit 69fe3da)即设为此值,从未校正。面板宽高公式也缺少 spacing 项,导致面板整体尺寸偏离设计规范。

关键证据:panels/dock/taskmanager/package/FolderPopup.qml:26-27(cellWidth/cellHeight 值)、FolderPopup.qml:125(Grid 缺少 spacing)、面板尺寸公式(第 43/46/115 行)。

修复方案

将 cellWidth 从 96 改为 90,cellHeight 从 104 改为 98,为 Grid 元素添加 spacing: 30,并在面板宽度、高度及 contentHeight 公式中补加 spacing 项 (n-1) * 30。使所有布局参数与设计规范一致(hover 框 90×98、图标间距 30px)。

改动安全评估

代码安全评估

  • 风险等级: 低风险
  • 目标行来自文件初始创建提交(69fe3da0),非历史修复产物,本次改动不撤销任何已有修复。
  • FolderPopup.qml 为自包含组件,cellWidth/cellHeight 为 readonly property,仅在本文件内引用。TaskManager.qml 和 TaskOverflowButton.qml 有独立定义,互不影响。

业务影响范围

受影响模块:任务栏时尚模式应用组弹窗 — 点击任务栏应用组图标后弹出的文件夹式弹窗。本次改动将 hover 框尺寸和图标间距调整为符合设计规范。用户场景:点击任务栏应用组图标查看和启动分组应用。

验证建议

测试不同应用数量下(≤4、5-8、>8)的弹窗布局,验证 hover 框尺寸(90×98)、图标间距(30px)以及屏幕边缘附近的弹窗定位行为。

Summary by Sourcery

Bug Fixes:

  • Align the dock fashion-mode folder popup dimensions and spacing with the design specification.

1. Root cause: cellWidth/cellHeight were 96/104 instead of 90/98,
   Grid spacing was unset instead of 30px per design specification
2. Fix: change cellWidth to 90, cellHeight to 98, add Grid spacing
   30, add spacing terms to panel width/height/contentHeight formulas
3. Impact: dock fashion-mode folder popup now matches design spec
   for hover frame size and icon spacing

Log: adjust dock folder popup layout to match design specification

Influence:
1. Test folder popup with different app counts (<=4, 5-8, >8)
2. Verify popup positioning near screen edges
3. Check hover frame size and icon spacing visually

fix: 调整应用组弹窗布局以匹配设计规范

1. 根因:cellWidth/cellHeight 设为 96/104 而非设计规范的 90/98,
   Grid 未设置 spacing 而非设计规范的 30px
2. 方案:将 cellWidth 改为 90、cellHeight 改为 98、Grid 添加
   spacing 30,并在面板宽高及 contentHeight 公式中补加 spacing 项
3. 影响:任务栏时尚模式应用组弹窗的 hover 框尺寸和图标间距
   现符合设计规范

Log: 调整任务栏应用组弹窗布局以匹配设计规范

Influence:
1. 测试不同应用数量下(≤4、5-8、>8)的弹窗布局
2. 验证屏幕边缘附近弹窗的定位行为
3. 目视检查 hover 框尺寸和图标间距

PMS: BUG-384283
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 18202781743

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 24, 2026

Copy link
Copy Markdown

Reviewer's Guide

UI

Adjust the folder popup’s cell dimensions, grid spacing, and matching width, height, and content-height calculations so the displayed layout matches the design specification.

  • panels/dock/taskmanager/package/FolderPopup.qml L44-47 (+3 small edits)

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

@deepin-ci-robot

deepin-ci-robot commented Nov 24, 2026 •

Copy link
Copy Markdown

⚠️ OBS CI 构建警告日志 (Commit: 06a70413)

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

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

@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/FolderPopup.qml" line_range="127" />
<code_context>
                 }
                 Grid {
                     columns: root.columns
+                    spacing: 30
                     Repeater {
                         model: root.contents
</code_context>
<issue_to_address>
**Final column is clipped**

When a folder popup has entries in its final grid column, `Grid` adds its 30px spacing to delegates sized at `flick.width / root.columns`, so it exceeds the clipped Flickable and hides most of the final column; hover frames also exceed the specified 90px width.

Account for the spacing in delegate widths so the grid fits the Flickable, or remove the spacing.
</issue_to_address>

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

}
Grid {
columns: root.columns
spacing: 30

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟠 High · Final column is clipped

When a folder popup has entries in its final grid column, Grid adds its 30px spacing to delegates sized at flick.width / root.columns, so it exceeds the clipped Flickable and hides most of the final column; hover frames also exceed the specified 90px width.

Account for the spacing in delegate widths so the grid fits the Flickable, or remove the spacing.

Prompt for AI agents
In `panels/dock/taskmanager/package/FolderPopup.qml` at line 127:

**Final column is clipped**

When a folder popup has entries in its final grid column, `Grid` adds its 30px spacing to delegates sized at `flick.width / root.columns`, so it exceeds the clipped Flickable and hides most of the final column; hover frames also exceed the specified 90px width.

Account for the spacing in delegate widths so the grid fits the Flickable, or remove the spacing.

@deepin-bot

deepin-bot Bot commented Dec 2, 2026

Copy link
Copy Markdown

TAG Bot

New tag: 6.2.2
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1915

@deepin-bot

deepin-bot Bot commented Dec 2, 2026

Copy link
Copy Markdown

TAG Bot

New tag: 6.2.2
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1919

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