Skip to content

fix: preserve Dock behavior after display reconnection [cherry-pick] - #1892

Merged
wjyrich merged 1 commit into
linuxdeepin:develop/2500u3from
18202781743:pick-to/2663cee6b85dad37d91d1c85100de18b1391982e
Nov 27, 2026
Merged

wjyrich merged 1 commit into
linuxdeepin:develop/2500u3from
18202781743:pick-to/2663cee6b85dad37d91d1c85100de18b1391982e

Conversation

@18202781743

@18202781743 18202781743 commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Cherry-pick commit 20dd983 to develop/2500u3.

Source pull request #1891

  1. Restore layer-shell integration when platform windows are created.
  2. Refresh edge wakeup areas when screens are added or primary changes.
  3. Rebind overlap monitoring when the Dock changes screens.

Influence:

  1. Reconnect the only display and verify the Dock remains a layer surface.
  2. In always-hidden mode, reconnect and reveal the Dock from the screen edge.
  3. In smart-hide mode, reconnect with a maximized window and verify hiding.

fix: 修复显示器重连后任务栏角色与隐藏行为异常

  1. 平台窗口创建时自动恢复 layer-shell 集成,保留构造阶段补绑定。
  2. 屏幕加入或主屏切换时更新边缘唤醒区域。
  3. 任务栏切换屏幕时重新注册遮挡检测区域。

Influence:

  1. 拔插唯一显示器,确认任务栏保持 layer-shell 角色。
  2. 一直隐藏模式下重连显示器,确认可从屏幕边缘唤出任务栏。
  3. 智能隐藏模式下保持窗口最大化并重连,确认任务栏恢复隐藏。

Log: Restore Dock window roles and hiding behavior after display reconnects.
Log: 修复显示器重连后任务栏变成普通窗口、无法唤出或不再隐藏的问题。
Issue: None

Summary by Sourcery

Preserve Dock window roles, edge wakeup, and hide behavior across display reconnections and screen changes.

Bug Fixes:

  • Restore the Dock's layer-shell role and hiding behavior after display reconnection.
  • Refresh edge wakeup areas when displays are added or the primary display changes.
  • Rebind Dock overlap monitoring when the Dock moves between screens.

1. Restore layer-shell integration when platform windows are created.
2. Refresh edge wakeup areas when screens are added or primary changes.
3. Rebind overlap monitoring when the Dock changes screens.

Influence:
1. Reconnect the only display and verify the Dock remains a layer surface.
2. In always-hidden mode, reconnect and reveal the Dock from the screen edge.
3. In smart-hide mode, reconnect with a maximized window and verify hiding.

fix: 修复显示器重连后任务栏角色与隐藏行为异常

1. 平台窗口创建时自动恢复 layer-shell 集成,保留构造阶段补绑定。
2. 屏幕加入或主屏切换时更新边缘唤醒区域。
3. 任务栏切换屏幕时重新注册遮挡检测区域。

Influence:
1. 拔插唯一显示器,确认任务栏保持 layer-shell 角色。
2. 一直隐藏模式下重连显示器,确认可从屏幕边缘唤出任务栏。
3. 智能隐藏模式下保持窗口最大化并重连,确认任务栏恢复隐藏。

Log: Restore Dock window roles and hiding behavior after display reconnects.
Log: 修复显示器重连后任务栏变成普通窗口、无法唤出或不再隐藏的问题。
Issue: None
(cherry picked from commit 20dd983)
@sourcery-ai

sourcery-ai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Reviewer's Guide

Implementation

Restore Wayland layer-shell integration when the platform surface is created, while retaining initial binding during construction.

  • frame/layershell/dlayershellwindow.cpp L9, L265-266, L279-295
  • frame/layershell/dlayershellwindow.h L151 (removed lines), L179-180

Rebind Dock overlap monitoring when its screen changes, and rely on the layer-shell window event filter when showing the Dock.

  • panels/dock/dockpanel.cpp L9 (removed lines), L514
  • panels/dock/waylanddockhelper.cpp L150

Refresh edge wakeup areas when screens are added or the primary screen changes.

  • panels/dock/dockhelper.cpp L312-316

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 4 issues

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

## Individual Comments

### Comment 1
<location path="panels/dock/waylanddockhelper.cpp" line_range="150" />
<code_context>

     connect(m_panel, &DockPanel::positionChanged, this, &WaylandDockHelper::updateRegionWatchPos);
     connect(m_panel, &DockPanel::dockSizeChanged, this, &WaylandDockHelper::updateRegionWatchPos);
+    connect(m_panel, &DockPanel::dockScreenChanged, this, &WaylandDockHelper::updateRegionWatchPos);
     connect(m_panel, &DockPanel::rootObjectChanged, this, &WaylandDockHelper::updateRegionWatchPos);

</code_context>
<issue_to_address>
**Dock crashes without a screen**

When the last display is removed while a SmartHide region watch is active and the Dock window has no screen, `dockScreenChanged` invokes `updateRegionWatchPos()`, which dereferences `m_panel->window()->screen()` (and its handle) without checking for null, crashing the Dock during reconnection.

Check that the window has a screen before dereferencing it, and defer updating the region watch until a screen is available.
</issue_to_address>

### Comment 2
<location path="frame/layershell/dlayershellwindow.cpp" line_range="284-286" />
<code_context>
+    if (watched == d->parentWindow && event->type() == QEvent::PlatformSurface) {
+        auto *surfaceEvent = static_cast<QPlatformSurfaceEvent *>(event);
+        if (surfaceEvent->surfaceEventType() == QPlatformSurfaceEvent::SurfaceCreated
+            && dynamic_cast<QtWaylandClient::QWaylandWindow *>(d->parentWindow->handle())) {
+            // Only bind the existing platform window; never create one from this event.
+            if (!installWaylandShellIntegration())
+                qCWarning(layershellwindow) << "Failed to restore layer-shell integration for" << d->scope;
+        }
</code_context>
<issue_to_address>
**XEmbed positioning uses stale surface**

When display reconnection recreates the Dock’s Wayland platform surface and an XEmbed window is subsequently moved, `WaylandDockHelper` caches the Dock’s `wl_surface` before reconnection, but this restoration path does not refresh that cache when a new platform surface is created. `moveXEmbedWindow()` only reacquires the surface when the cached pointer is null, so a later XEmbed move sends the destroyed surface to Wayland instead of positioning the window.

Refresh or clear the cached Dock surface when the platform surface is destroyed or created, before it can be used for XEmbed positioning.
</issue_to_address>

### Comment 3
<location path="frame/layershell/dlayershellwindow.h" line_range="151" />
<code_context>
     void setCloseOnDismissed(bool close);
     bool closeOnDismissed() const;

-    bool ensureWaylandShellIntegration();
-
     /** Whether a system resize is pending or active on this layer surface. */
</code_context>
<issue_to_address>
**Downstream consumers lose layer-shell API**

When a downstream consumer calls `DLayerShellWindow::ensureWaylandShellIntegration()`, removing the public declaration makes downstream consumers fail to compile, and removing the exported symbol makes already-built consumers fail to load.

Retain the public declaration and exported implementation, or provide a compatible replacement.
</issue_to_address>

### Comment 4
<location path="panels/dock/dockpanel.cpp" line_range="514" />
<code_context>
     if (!waylandScreen || !waylandScreen->output())
         return;
-    if (DS_NAMESPACE::DLayerShellWindow::get(win)->ensureWaylandShellIntegration())
-        win->show();
+    win->show();
 }
</code_context>
<issue_to_address>
**Dock appears as ordinary window**

When layer-shell integration fails while `updateDockScreen()` is showing the Dock, `win->show()` runs despite the failed integration, so the Dock is displayed with an ordinary shell role instead of remaining hidden or a layer surface.

Only call `win->show()` when layer-shell integration succeeds.
</issue_to_address>

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


connect(m_panel, &DockPanel::positionChanged, this, &WaylandDockHelper::updateRegionWatchPos);
connect(m_panel, &DockPanel::dockSizeChanged, this, &WaylandDockHelper::updateRegionWatchPos);
connect(m_panel, &DockPanel::dockScreenChanged, this, &WaylandDockHelper::updateRegionWatchPos);

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 · Dock crashes without a screen

When the last display is removed while a SmartHide region watch is active and the Dock window has no screen, dockScreenChanged invokes updateRegionWatchPos(), which dereferences m_panel->window()->screen() (and its handle) without checking for null, crashing the Dock during reconnection.

Check that the window has a screen before dereferencing it, and defer updating the region watch until a screen is available.

Prompt for AI agents
In `panels/dock/waylanddockhelper.cpp` at line 150:

**Dock crashes without a screen**

When the last display is removed while a SmartHide region watch is active and the Dock window has no screen, `dockScreenChanged` invokes `updateRegionWatchPos()`, which dereferences `m_panel->window()->screen()` (and its handle) without checking for null, crashing the Dock during reconnection.

Check that the window has a screen before dereferencing it, and defer updating the region watch until a screen is available.

Comment on lines +284 to +286
&& dynamic_cast<QtWaylandClient::QWaylandWindow *>(d->parentWindow->handle())) {
// Only bind the existing platform window; never create one from this event.
if (!installWaylandShellIntegration())

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Medium · XEmbed positioning uses stale surface

When display reconnection recreates the Dock’s Wayland platform surface and an XEmbed window is subsequently moved, WaylandDockHelper caches the Dock’s wl_surface before reconnection, but this restoration path does not refresh that cache when a new platform surface is created. moveXEmbedWindow() only reacquires the surface when the cached pointer is null, so a later XEmbed move sends the destroyed surface to Wayland instead of positioning the window.

Refresh or clear the cached Dock surface when the platform surface is destroyed or created, before it can be used for XEmbed positioning.

Prompt for AI agents
In `frame/layershell/dlayershellwindow.cpp` at lines 284-286:

**XEmbed positioning uses stale surface**

When display reconnection recreates the Dock’s Wayland platform surface and an XEmbed window is subsequently moved, `WaylandDockHelper` caches the Dock’s `wl_surface` before reconnection, but this restoration path does not refresh that cache when a new platform surface is created. `moveXEmbedWindow()` only reacquires the surface when the cached pointer is null, so a later XEmbed move sends the destroyed surface to Wayland instead of positioning the window.

Refresh or clear the cached Dock surface when the platform surface is destroyed or created, before it can be used for XEmbed positioning.

void setCloseOnDismissed(bool close);
bool closeOnDismissed() const;

bool ensureWaylandShellIntegration();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Medium · Downstream consumers lose layer-shell API

When a downstream consumer calls DLayerShellWindow::ensureWaylandShellIntegration(), removing the public declaration makes downstream consumers fail to compile, and removing the exported symbol makes already-built consumers fail to load.

Retain the public declaration and exported implementation, or provide a compatible replacement.

Prompt for AI agents
In `frame/layershell/dlayershellwindow.h` at line 151:

**Downstream consumers lose layer-shell API**

When a downstream consumer calls `DLayerShellWindow::ensureWaylandShellIntegration()`, removing the public declaration makes downstream consumers fail to compile, and removing the exported symbol makes already-built consumers fail to load.

Retain the public declaration and exported implementation, or provide a compatible replacement.

Comment thread panels/dock/dockpanel.cpp
return;
if (DS_NAMESPACE::DLayerShellWindow::get(win)->ensureWaylandShellIntegration())
win->show();
win->show();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Medium · Dock appears as ordinary window

When layer-shell integration fails while updateDockScreen() is showing the Dock, win->show() runs despite the failed integration, so the Dock is displayed with an ordinary shell role instead of remaining hidden or a layer surface.

Only call win->show() when layer-shell integration succeeds.

Prompt for AI agents
In `panels/dock/dockpanel.cpp` at line 514:

**Dock appears as ordinary window**

When layer-shell integration fails while `updateDockScreen()` is showing the Dock, `win->show()` runs despite the failed integration, so the Dock is displayed with an ordinary shell role instead of remaining hidden or a layer surface.

Only call `win->show()` when layer-shell integration succeeds.

@deepin-ci-robot

deepin-ci-robot commented Nov 27, 2026 •

Copy link
Copy Markdown

⚠️ OBS CI 构建警告日志 (Commit: 32aca948)

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

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

@wjyrich
wjyrich merged commit 9af00b9 into linuxdeepin:develop/2500u3 Nov 27, 2026
11 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.

4 participants