Skip to content

fix: latch X11 layer surfaces to target screens - #1893

Merged
deepin-bot[bot] merged 1 commit into
linuxdeepin:release/2500u2from
xujin177:fix/2500u2
Nov 30, 2026
Merged

deepin-bot[bot] merged 1 commit into
linuxdeepin:release/2500u2from
xujin177:fix/2500u2

Conversation

@xujin177

@xujin177 xujin177 commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor
  1. Keep emulated layer surfaces bound to their selected output.
  2. Add an explicit screen rebinding API and handle output removal.

Log: Prevent desktop windows from migrating to the wrong display.
PMS: TASK-384487, TASK-384649

fix: 锁存 X11 layer surface 的目标屏幕

  1. 让 X11 模拟层始终按绑定屏幕计算窗口几何。
  2. 增加显式重绑接口,并处理屏幕移除。

Log: 修复调整显示器布局后桌面窗口跑到错误屏幕的问题。
PMS: TASK-384487, TASK-384649

Summary by Sourcery

Keep layer surfaces latched to their intended displays while supporting explicit rebinding and safe recovery when outputs are removed.

New Features:

  • Add an explicit API for binding and rebinding layer surfaces to a selected screen.
  • Handle screen removal by selecting a valid fallback output for existing layer surfaces.

Bug Fixes:

  • Prevent X11-emulated layer surfaces and their desktop geometry from migrating to the wrong display when screen layouts change.

Enhancements:

  • Keep screen-dependent positioning and exclusion regions tied to the layer surface's latched target screen.
  • Update dock and notification surfaces to use explicit screen rebinding when their target display changes.

@sourcery-ai

sourcery-ai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Data structures

Store the emulation’s latched screen and expose it through the layer-shell window’s new screen binding API.

  • frame/layershell/dlayershellwindow.cpp L33-34
  • frame/layershell/dlayershellwindow.h L117-130, L181
  • frame/layershell/x11dlayershellemulation.h L11-12, L37-42

API

Provide explicit screen rebinding so callers can move an existing layer surface to another output.

  • frame/layershell/dlayershellwindow.cpp L162-186

Uses of the API

Update the dock and notification center to rebind their layer surfaces when their selected screen changes.

  • panels/dock/dockpanel.cpp L27-28, L114, L536-537
  • panels/notification/center/package/main.qml L122, L169

Implementation

Use the latched output for X11 geometry and exclusion regions, update it on explicit rebind, and select a valid remaining output when one is removed.

  • frame/layershell/x11dlayershellemulation.cpp L30-37, L77-106, L158-175 (+1 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

@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="161" />
<code_context>
+    // QWindow::screen() 是 Qt 依据窗口几何推导出来的,排列变化后窗口一旦
+    // 落进相邻屏就会被判成"属于那块屏",再把几何铺满那块屏,形成
+    // "错位 → 判成邻屏 → 更错位" 的正反馈,副屏桌面会永久跑到主屏上。
+    auto screen = targetScreen();
     if (!screen) {
         return;
</code_context>
<issue_to_address>
**X11 docks stay on old display**

When an existing X11 surface or dock changes displays through `QWindow::setScreen()` after emulation is created, `targetScreen()` keeps returning the latched `m_screen` because that call does not emit `DLayerShellWindow::screenChanged`, so `LayerShellEmulation` continues positioning the surface on its original output.

Route these screen changes through `DLayerShellWindow::setScreen()` so the emulation receives the explicit rebind.

Also at `frame/layershell/x11dlayershellemulation.cpp:30`, `frame/layershell/x11dlayershellemulation.cpp:79-85`.
</issue_to_address>

### Comment 2
<location path="frame/layershell/dlayershellwindow.h" line_range="128" />
<code_context>
+     * call this, a plain QWindow::setScreen() is no longer enough once the
+     * emulation has been created.
+     */
+    void setScreen(QScreen *screen);
+    QScreen *screen() const;
+
</code_context>
<issue_to_address>
**QML clients cannot rebind surfaces**

When a QML client needs to move an existing layer surface, `DLayerShellWindow::setScreen()` is neither `Q_INVOKABLE` nor a slot, so QML cannot call the rebinding API and the surface remains on its original output.

Expose `setScreen()` to QML as an invokable method or slot.
</issue_to_address>

### Comment 3
<location path="frame/layershell/dlayershellwindow.cpp" line_range="164" />
<code_context>

+void DLayerShellWindow::setScreen(QScreen *screen)
+{
+    if (d->screen == screen) {
+        return;
+    }
</code_context>
<issue_to_address>
**Repeated screen bind is ignored**

When a caller previously bound a Wayland window to a screen, its `QWindow` screen subsequently changes, and the caller invokes `DLayerShellWindow::setScreen()` with the original target to restore it, `setScreen()` returns based only on the cached `d->screen`, without checking `parentWindow->screen()`. On Wayland, after the window’s screen changes independently, calling the API again with the original target leaves the window and layer surface on the other screen.

Only return early when both the cached target and `parentWindow->screen()` already equal the requested screen.
</issue_to_address>

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

Comment thread frame/layershell/dlayershellwindow.h Resolved
Comment thread frame/layershell/dlayershellwindow.cpp Resolved
@deepin-ci-robot

deepin-ci-robot commented Nov 27, 2026 •

Copy link
Copy Markdown

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

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

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

@mhduiy mhduiy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

锁存目标屏的方向没问题,能解决调整排列后桌面互换或叠屏的问题。但新接口目前没有调用方,X11 下任务栏换屏会失效,具体见行内评论。

Comment thread frame/layershell/dlayershellwindow.h Resolved
Comment thread frame/layershell/dlayershellwindow.cpp Resolved
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
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mhduiy, 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

@xujin177

Copy link
Copy Markdown
Contributor Author

/forcemerge

@deepin-bot

deepin-bot Bot commented Nov 30, 2026

Copy link
Copy Markdown

This pr force merged! (status: behind)

@deepin-bot
deepin-bot Bot merged commit 7c03f9c into linuxdeepin:release/2500u2 Nov 30, 2026
9 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants