Skip to content

fix: preserve layer surface screen bindings - #1921

Open
xujin177 wants to merge 2 commits into
linuxdeepin:develop/2500u3from
xujin177:fix/screen
Open

xujin177 wants to merge 2 commits into
linuxdeepin:develop/2500u3from
xujin177:fix/screen

Conversation

@xujin177

@xujin177 xujin177 commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary by Sourcery

Keep background layer surfaces bound to their selected output while preserving dynamic screen selection for other layers.

New Features:

  • Add an explicit screen-binding API for layer-shell windows, including support for moving background surfaces to another output.

Bug Fixes:

  • Keep X11 background surfaces positioned on their bound output through screen rearrangements and fall back to an available output when that screen is removed.

Enhancements:

  • Preserve dynamic QWindow.screen() selection for non-background layers and notification-center windows.

1. Latch X11 layer surfaces to their selected output.
2. Rebind Dock and notification center when screens change.
3. Select a valid remaining output when a screen is removed.

Log: Keep layer-shell windows on the intended display.
PMS: TASK-384487, TASK-384649

fix: 保持 layer surface 的屏幕绑定

1. 锁存 X11 layer surface 创建时指定的屏幕。
2. Dock 和通知中心换屏时显式更新屏幕绑定。
3. 屏幕移除后选择仍有效的显示器。

Log: 修复多屏布局调整后窗口错屏及 Dock 迁屏问题。
PMS: TASK-384487, TASK-384649
(cherry picked from commit 7c03f9c)
1. Restrict output latching to background surfaces to preserve desktop placement
   when rearranging extended screens.
2. Restore QWindow::screen() tracking for other layers to fix dock freezes and
   incorrect screen selection outlines.
3. Update the latched output before switching the window screen and remove
   redundant notification center rebinding.

Influence:
1. Rearrange extended screens and verify both desktop backgrounds.
2. Switch primary screens with the dock following the primary screen or mouse.
3. Select HDMI and eDP in display settings and verify the matching outlines.
4. Verify notification center, notification bubbles and OSD after switching.

fix: 修复多屏切换卡死及屏幕选中描边错位

1. 将输出锁存限定为背景层,保留扩展屏重排时的桌面背景归属。
2. 其他层恢复跟随 QWindow::screen(),修复任务栏卡死及选屏描边错屏,
   无需修改控制中心等现有调用方。
3. 切换窗口屏幕前同步锁存输出,移除通知中心多余的屏幕重绑调用。

Influence:
1. 扩展模式下调整屏幕排列,确认主副屏背景正常显示。
2. 分别设置任务栏跟随主屏、跟随鼠标,切换主屏后确认无卡死。
3. 点击显示设置中的 HDMI、eDP 缩略图,确认描边对应正确屏幕。
4. 切屏后确认通知中心、通知气泡及 OSD 的位置和交互正常。

Log: 修复多屏切换导致任务栏卡死及屏幕选中描边错位,保留副屏背景重排修复。
PMS: TASK-384487, TASK-384649
(cherry picked from commit 43d6353)
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: xujin177

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 Dec 2, 2026

Copy link
Copy Markdown

Reviewer's Guide

API

Expose screen binding and change notification on DLayerShellWindow so callers can explicitly select an output.

  • frame/layershell/dlayershellwindow.h L118-128, L182

Uses of the API

Route Dock screen changes through the layer-shell screen-binding API.

  • panels/dock/dockpanel.cpp L9, L116, L574-575

Implementation

Implement explicit screen binding and X11 output selection, including background-output latching and fallback when a screen is removed.

  • frame/layershell/dlayershellwindow.cpp L34-35, L164-189
  • frame/layershell/x11dlayershellemulation.cpp L79-84, L124-151, L209-223 (+1 small edits)
  • frame/layershell/x11dlayershellemulation.h L11-12, L37-42

UI

Keep the notification center following the Dock's screen while relying on the framework's dynamic screen tracking for non-background windows.

  • panels/notification/center/package/main.qml L116, L118 (removed lines), L163 (removed lines)

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

@xujin177 xujin177 changed the title Fix/screen fix: preserve layer surface screen bindings Dec 2, 2026

@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 3 issues

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

## Individual Comments

### Comment 1
<location path="frame/layershell/x11dlayershellemulation.cpp" line_range="79" />
<code_context>
     : QObject(parent)
     , m_window(window)
     , m_dlayerShellWindow(DLayerShellWindow::get(m_window))
+    , m_screen(m_dlayerShellWindow->screen())
 {
+    // 背景窗口锁存创建时的 output,避免屏幕重排时随几何漂移。
</code_context>
<issue_to_address>
**Background windows stay on the wrong output**

When a background window's screen is changed explicitly, or a non-background window changes screens before becoming a background layer, `targetScreen()` keeps using the screen captured when the emulation was constructed because `m_screen` is not refreshed on screen or layer changes, so the background window is positioned on the previous output.

Refresh `m_screen` when the window's screen changes and when it becomes a background layer.

Also at `frame/layershell/x11dlayershellemulation.cpp:212-213`.
</issue_to_address>

### Comment 2
<location path="frame/layershell/dlayershellwindow.cpp" line_range="179" />
<code_context>
     }

     QWindow* parentWindow;
</code_context>
<issue_to_address>
**Compositor-selected output ignores rebinding**

When a caller uses `setScreen()` while the layer is configured with `ScreenFromCompositor`, `setScreen()` changes only `QWindow::screen()`, but a layer configured with `ScreenFromCompositor` creates its Wayland surface with a null output and does not listen for window screen changes. Calling the new binding API in that configuration therefore leaves the layer surface compositor-selected instead of bound to the requested screen.

Make explicit `setScreen()` switch the layer to `ScreenFromQWindow`, or reject/document rebinding as unsupported in compositor-selected mode.
</issue_to_address>

### Comment 3
<location path="frame/layershell/dlayershellwindow.cpp" line_range="184-186" />
<code_context>
+
+QScreen *DLayerShellWindow::screen() const
+{
+    if (d->screen) {
+        return d->screen.data();
+    }
+    return d->parentWindow ? d->parentWindow->screen() : nullptr;
+}
</code_context>
<issue_to_address>
**Screen getter reports the old output**

When a non-background layer has been explicitly bound and its `QWindow::screen()` changes independently, `DLayerShellWindow::screen()` returns the stored `d->screen` instead of the window's current screen, so callers see the old output and the background emulator can latch that stale screen.

Use the current window screen for non-background layers and retain the stored screen only for background layers.

Also at `frame/layershell/dlayershellwindow.cpp:170`.
</issue_to_address>

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

: QObject(parent)
, m_window(window)
, m_dlayerShellWindow(DLayerShellWindow::get(m_window))
, m_screen(m_dlayerShellWindow->screen())

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 · Background windows stay on the wrong output

When a background window's screen is changed explicitly, or a non-background window changes screens before becoming a background layer, targetScreen() keeps using the screen captured when the emulation was constructed because m_screen is not refreshed on screen or layer changes, so the background window is positioned on the previous output.

Refresh m_screen when the window's screen changes and when it becomes a background layer.

Also at frame/layershell/x11dlayershellemulation.cpp:212-213.

Prompt for AI agents
In `frame/layershell/x11dlayershellemulation.cpp` at line 79:

**Background windows stay on the wrong output**

When a background window's screen is changed explicitly, or a non-background window changes screens before becoming a background layer, `targetScreen()` keeps using the screen captured when the emulation was constructed because `m_screen` is not refreshed on screen or layer changes, so the background window is positioned on the previous output.

Refresh `m_screen` when the window's screen changes and when it becomes a background layer.

Also at `frame/layershell/x11dlayershellemulation.cpp:212-213`.

// X11 背景层读取锁存输出,其他层继续跟随 QWindow::screen()。
if (d->parentWindow && screen && d->parentWindow->screen() != screen) {
d->parentWindow->setScreen(screen);
}

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 · Compositor-selected output ignores rebinding

When a caller uses setScreen() while the layer is configured with ScreenFromCompositor, setScreen() changes only QWindow::screen(), but a layer configured with ScreenFromCompositor creates its Wayland surface with a null output and does not listen for window screen changes. Calling the new binding API in that configuration therefore leaves the layer surface compositor-selected instead of bound to the requested screen.

Make explicit setScreen() switch the layer to ScreenFromQWindow, or reject/document rebinding as unsupported in compositor-selected mode.

Prompt for AI agents
In `frame/layershell/dlayershellwindow.cpp` at line 179:

**Compositor-selected output ignores rebinding**

When a caller uses `setScreen()` while the layer is configured with `ScreenFromCompositor`, `setScreen()` changes only `QWindow::screen()`, but a layer configured with `ScreenFromCompositor` creates its Wayland surface with a null output and does not listen for window screen changes. Calling the new binding API in that configuration therefore leaves the layer surface compositor-selected instead of bound to the requested screen.

Make explicit `setScreen()` switch the layer to `ScreenFromQWindow`, or reject/document rebinding as unsupported in compositor-selected mode.

Comment on lines +184 to +186
if (d->screen) {
return d->screen.data();
}

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 · Screen getter reports the old output

When a non-background layer has been explicitly bound and its QWindow::screen() changes independently, DLayerShellWindow::screen() returns the stored d->screen instead of the window's current screen, so callers see the old output and the background emulator can latch that stale screen.

Use the current window screen for non-background layers and retain the stored screen only for background layers.

Also at frame/layershell/dlayershellwindow.cpp:170.

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

**Screen getter reports the old output**

When a non-background layer has been explicitly bound and its `QWindow::screen()` changes independently, `DLayerShellWindow::screen()` returns the stored `d->screen` instead of the window's current screen, so callers see the old output and the background emulator can latch that stale screen.

Use the current window screen for non-background layers and retain the stored screen only for background layers.

Also at `frame/layershell/dlayershellwindow.cpp:170`.

@deepin-ci-robot

deepin-ci-robot commented Dec 2, 2026 •

Copy link
Copy Markdown

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

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

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

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