Repository navigation
fix(menu): raise menu window above panel popup - #1848
Merged
Merged
Conversation
1. Raise the shared menu window right after showing it on xcb, because the panel popup became override-redirect with X11BypassWindowManagerHint and the WM no longer orders the two windows. 2. Mapping a window does not restack it, so a menu opened after the tray popup could stay buried under it, which is reproducible on the first right-click after opening the tray. 3. Keep the explicit restack limited to the xcb branch so the Wayland path is unchanged. Log: Raise panel menus explicitly on X11 so they are never hidden behind the tray popup. Influence: Dock and tray context menus always show above the panel popup. fix(menu): 菜单窗口显示后显式置顶 1. 在 xcb 下显示共享菜单窗口后调用 raise():面板弹窗自加入 X11BypassWindowManagerHint 后同样是 override-redirect,窗口管理器不再对两者排序。 2. map 不会改变堆叠顺序,因此托盘弹窗之后打开的菜单会被压在下面,表现为展开托盘 后第一次右键必然层级错误。 3. 显式置顶仅在 xcb 分支执行,Wayland 行为保持不变。 Log: X11 下菜单显示后显式置顶,避免被托盘弹窗遮挡。 PMS: BUG-384041 Influence: 托盘与任务栏右键菜单始终显示在面板弹窗之上。
Reviewer's GuideUIRaise the shared menu window after showing it on xcb so it stays above the panel popup, while leaving Wayland behavior unchanged.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
wjyrich
approved these changes
Nov 24, 2026
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: MyLeeJiEun, wjyrich 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 |
|
MyLeeJiEun
merged commit Nov 24, 2026
92210f2
into
linuxdeepin:develop/2500u3
12 of 13 checks passed
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.
Log: Raise panel menus explicitly on X11 so they are never hidden behind the tray popup.
Influence: Dock and tray context menus always show above the panel popup.
fix(menu): 菜单窗口显示后显式置顶
Log: X11 下菜单显示后显式置顶,避免被托盘弹窗遮挡。
PMS: BUG-384041
Influence: 托盘与任务栏右键菜单始终显示在面板弹窗之上。
Summary by Sourcery
Bug Fixes: