Fix: When the control center opens the disclaimer box, extra icon lab…#432
Fix: When the control center opens the disclaimer box, extra icon lab…#432MyLeeJiEun wants to merge 1 commit into
Conversation
…els are displayed on the taskbar. In X11 mode, add the Qt::Tool flag to the window's flags and disable the taskbar display. Log: Fixed the issue of extra icons displayed in the taskbar under X11 by adding the Qt::Tool flag. PMS: fix: 控制中心打开免责声明框时任务栏展示多余图标标签 在X11模式下为窗口标志添加Qt::Tool标志,过滤任务栏显示 Log: 通过添加Qt::Tool标志修复X11下任务栏显示多余标志 PMS: BUG-359493
|
Hi @MyLeeJiEun. Thanks for your PR. 😃 |
|
Hi @MyLeeJiEun. Thanks for your PR. I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates the dde-license-dialog main window flags so that under X11 the disclaimer dialog uses Qt::Tool in addition to staying on top, preventing it from creating an extra taskbar icon while keeping existing Wayland behavior unchanged. Sequence diagram for opening the disclaimer dialog with different window flags on Wayland vs X11sequenceDiagram
actor User
participant ControlCenter
participant MainWindow
participant WindowManager
User->>ControlCenter: openDisclaimer()
ControlCenter->>MainWindow: MainWindow(parent)
alt Wayland
MainWindow->>MainWindow: setWindowFlags(windowFlags | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint)
else X11
MainWindow->>MainWindow: setWindowFlags(windowFlags | Qt.WindowStaysOnTopHint | Qt.Tool)
end
MainWindow->>WindowManager: show()
Note over WindowManager: X11 + Qt.Tool prevents extra taskbar icon
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mhduiy, MyLeeJiEun 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 |
…els are displayed on the taskbar.
In X11 mode, add the Qt::Tool flag to the window's flags and disable the taskbar display.
Log: Fixed the issue of extra icons displayed in the taskbar under X11 by adding the Qt::Tool flag. PMS:
fix: 控制中心打开免责声明框时任务栏展示多余图标标签
在X11模式下为窗口标志添加Qt::Tool标志,过滤任务栏显示
Log: 通过添加Qt::Tool标志修复X11下任务栏显示多余标志
PMS: BUG-359493
Summary by Sourcery
Bug Fixes: