fix: adjust focus policy for group edit button in account settings#3325
fix: adjust focus policy for group edit button in account settings#3325xujin177 wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: xujin177 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 |
|
Hi @xujin177. Thanks for your PR. 😃 |
|
Hi @xujin177. 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. |
9b039ba to
e837b6f
Compare
Changed the focus policy from `Qt.StrongFocus` to `Qt.TabFocus` for the group edit button in account settings UI. This fixes the issue where the button could capture focus via mouse click unnecessarily, ensuring focus is only gained through tab navigation as intended while maintaining the button's accessibility for keyboard users. Log: Fixed focus behavior of group edit button in account settings Influence: 1. Verify tab navigation order through account settings page 2. Test clicking on the edit button and confirm no unwanted focus capture 3. Test keyboard-only navigation to ensure the button remains accessible 4. Verify that the edit/done button function works correctly after focus change fix: 调整账户设置中分组编辑按钮的焦点策略 将分组编辑按钮的焦点策略从 `Qt.StrongFocus` 修改为 `Qt.TabFocus`,修复了 按钮通过鼠标点击不必要地获取焦点的问题,确保焦点仅通过Tab键导航获得,同 时保持按钮对键盘用户的可访问性。 Log: 修复账户设置中编辑按钮的焦点行为 Influence: 1. 验证账户设置页面的Tab键导航顺序 2. 测试点击编辑按钮,确认不会不必要地捕获焦点 3. 测试仅通过键盘导航,确保按钮依然可访问 4. 验证焦点策略修改后编辑/完成按钮功能正常 PMS: BUG-361555
e837b6f to
349a7ac
Compare
Changed the focus policy from
Qt.StrongFocustoQt.TabFocusfor the group edit button in account settings UI. This fixes the issue where the button could capture focus via mouse click unnecessarily, ensuring focus is only gained through tab navigation as intended while maintaining the button's accessibility for keyboard users.Log: Fixed focus behavior of group edit button in account settings
Influence:
fix: 调整账户设置中分组编辑按钮的焦点策略
将分组编辑按钮的焦点策略从
Qt.StrongFocus修改为Qt.TabFocus,修复了 按钮通过鼠标点击不必要地获取焦点的问题,确保焦点仅通过Tab键导航获得,同时保持按钮对键盘用户的可访问性。
Log: 修复账户设置中编辑按钮的焦点行为
Influence:
PMS: BUG-361555