fix: 将鼠标操作进行页面切换时,重新处理焦点给到第一个应用#700
Merged
Merged
Conversation
BLumia
reviewed
Feb 2, 2026
1. 将属性从 `scrolledByWheel` 重命名为 `changedByNonKeyboard` 以更好地反 映其用途 2. 更新了整个代码中对重命名属性的所有引用 3. 添加了当页面指示器更改当前索引时设置 `changedByNonKeyboard` 的逻辑 4. 该属性现在跟踪任何非键盘导航发起的页面更改,包括鼠标滚轮滚动和指示器 点击 Log: 改进了页面导航跟踪以实现更好的焦点管理 Influence: 1. 测试使用鼠标滚轮进行页面导航 - 焦点应转到新页面的第一个应用 2. 测试点击页面指示器 - 焦点应转到新页面的第一个应用 3. 测试键盘页面导航 - 焦点应遵循键盘导航规则 4. 验证在不同导航方法之间切换时的焦点行为 5. 测试边缘情况,如从最后一页循环到第一页 PMS: BUG-339605
bb27f85 to
8e6e8b3
Compare
BLumia
approved these changes
Feb 2, 2026
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: BLumia, 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 |
deepin pr auto review这段代码修改主要涉及对 1. 语法逻辑审查优点:
潜在问题:
2. 代码质量审查优点:
改进建议:
3. 代码性能审查
4. 代码安全审查
5. 改进建议(1) 修复
|
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.
scrolledByWheel重命名为changedByNonKeyboard以更好地反 映其用途changedByNonKeyboard的逻辑Log: 改进了页面导航跟踪以实现更好的焦点管理
Influence:
PMS: BUG-339605