Skip to content

fix(scrollshot): improve Wayland scroll screenshot reliability#849

Open
tianming-1996 wants to merge 1 commit into
linuxdeepin:release/eaglefrom
tianming-1996:fix-scrollshot-278311
Open

fix(scrollshot): improve Wayland scroll screenshot reliability#849
tianming-1996 wants to merge 1 commit into
linuxdeepin:release/eaglefrom
tianming-1996:fix-scrollshot-278311

Conversation

@tianming-1996
Copy link
Copy Markdown

Fix occasional manual wheel unresponsiveness in Wayland scroll capture. Optimize auto-scroll step and tolerate first frames without displacement. Use millisecond timestamps to avoid inaccurate time-diff calculation.

修复 Wayland 环境下滚动截图手动滚轮偶发无响应的问题。
优化自动滚动步长,增加首帧无位移容错,降低误报概率。
调整滚动截图时间戳类型,避免时间差计算精度不足。

Log: 修复 Wayland 环境下滚动截图失败问题
Bug: https://pms.uniontech.com/bug-view-278311.html

@deepin-ci-robot
Copy link
Copy Markdown

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions 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.

Fix occasional manual wheel unresponsiveness in Wayland scroll capture.
Optimize auto-scroll step and tolerate first frames without displacement.
Use millisecond timestamps to avoid inaccurate time-diff calculation.

修复 Wayland 环境下滚动截图手动滚轮偶发无响应的问题。
优化自动滚动步长,增加首帧无位移容错,降低误报概率。
调整滚动截图时间戳类型,避免时间差计算精度不足。

Log: 修复 Wayland 环境下滚动截图失败问题
Bug: https://pms.uniontech.com/bug-view-278311.html
@tianming-1996 tianming-1996 force-pushed the fix-scrollshot-278311 branch from 768dac7 to 93bd029 Compare May 28, 2026 11:55
@deepin-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: add-uos, max-lvs, tianming-1996

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants