fix(notification): change bubble window layer from LayerTop to LayerOverlay#1497
Merged
deepin-bot[bot] merged 1 commit intolinuxdeepin:masterfrom Mar 12, 2026
Merged
Conversation
…verlay Fix notification bubble window layer to ensure proper display on top of other windows. 修复通知气泡窗口的层级设置,确保正确显示在其他窗口之上。 Log: 修复通知气泡窗口层级显示问题 PMS: BUG-289261, BUG-343503 Influence: 通知气泡现在使用 Overlay 层级,能够正确显示在所有其他窗口之上,修复了在某些情况下通知气泡被遮挡的问题。
Reviewer's guide (collapsed on small PRs)Reviewer's GuideSwitches the notification bubble window from using the generic top layer to the overlay layer so that it always appears above other windows. Flow diagram for notification bubble layer selectionflowchart TD
A[NotificationBubbleWindow created in main_qml] --> B[Set visible from Applet_visible]
B --> C[Configure DLayerShellWindow_anchors
Bottom and Right]
C --> D[Set DLayerShellWindow_topMargin and rightMargin]
D --> E[Set DLayerShellWindow_layer to LayerOverlay]
subgraph Before_change
E0[Set DLayerShellWindow_layer to LayerTop]
end
subgraph After_change
E[Set DLayerShellWindow_layer to LayerOverlay]
end
E0 -.replaced_by.-> E
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin pr auto review这段代码修改涉及到了窗口层级(Layer)的变更,主要是在 Wayland 合成器(如 KWin)下对窗口显示层级的管理。 以下是对该修改的详细审查意见,涵盖语法逻辑、代码质量、性能和安全四个方面: 1. 语法逻辑
2. 代码质量
3. 代码性能
4. 代码安全
总结与改进建议总体评价: 改进建议:
|
18202781743
approved these changes
Mar 12, 2026
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, add-uos The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Contributor
Author
|
/forcemerge |
|
This pr force merged! (status: behind) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix notification bubble window layer to ensure proper display on top of other windows.
修复通知气泡窗口的层级设置,确保正确显示在其他窗口之上。
Log: 修复通知气泡窗口层级显示问题
PMS: BUG-289261, BUG-343503
Influence: 通知气泡现在使用 Overlay 层级,能够正确显示在所有其他窗口之上,修复了在某些情况下通知气泡被遮挡的问题。
Summary by Sourcery
Bug Fixes: