fix(screenshot): disable right-click menu on lock screen#843
Conversation
- Set m_isLockedState at startup in checkIsLockScreen() to fix initial value always being false - Skip right-click menu popup in eventFilter when locked - Sync lock state to ShapesWidget on creation and DBus changes 修复(screenshot): 禁用锁屏界面下的右键菜单 - 在 checkIsLockScreen() 启动时设置 m_isLockedState,修复初始值始终为 false 的问题 - 在 eventFilter 中锁屏状态下跳过右键菜单弹出 - 在 ShapesWidget 创建及 DBus 状态变化时同步锁屏状态 Log: 修复锁屏界面截图时右键菜单弹出后立即消失的问题 Bug: https://pms.uniontech.com/bug-view-256531.html
|
Hi @tianming-1996. 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: add-uos, lzwind, tianming-1996 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 |
|
/merge |
修复(screenshot): 禁用锁屏界面下的右键菜单
Log: 修复锁屏界面截图时右键菜单弹出后立即消失的问题
Bug: https://pms.uniontech.com/bug-view-256531.html