Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 上鼠标移动导致界面左右细微抽搐 #1645

Open
RickyZhu-420 opened this issue Feb 9, 2025 · 7 comments
Open

Windows 上鼠标移动导致界面左右细微抽搐 #1645

RickyZhu-420 opened this issue Feb 9, 2025 · 7 comments
Labels
desktop 平台: 桌面 (macOS + Windows) P2 一般优先级, 可以等待 (Normal) s: ui 子系统: UI

Comments

@RickyZhu-420
Copy link

问题描述

在 Windows 上运行 4.4.1 版时,鼠标指针移动经过各个界面元素时有概率使内容发生细微抽搐,表现为往左或右偏移数个像素,几乎每次都发生。

复现步骤

出现问题的平台是 Windows 11 23H2 (22631.4169),分辨率 2560×1440,150%缩放(个人猜测问题与分辨率和缩放有关系就贴上了)
打开任意界面(例如设置),鼠标移动,经过各个界面元素时往往相应抽搐一下,效果非常细微但仍影响观感,大约 2 到 3 次后当前界面不再抽搐,但点击到其他页面仍可以出现抽搐

Ani 版本号

4.4.1

操作系统

Windows

应用日志

...

@RickyZhu-420 RickyZhu-420 added the P2 一般优先级, 可以等待 (Normal) label Feb 9, 2025
@Him188
Copy link
Member

Him188 commented Feb 9, 2025

有没有视频看看是什么情况

@Him188 Him188 added desktop 平台: 桌面 (macOS + Windows) s: ui 子系统: UI labels Feb 9, 2025
@RickyZhu-420
Copy link
Author

https://github.com/user-attachments/assets/083a633a-d586-40a8-9864-a40b75fc7c74
有的,不过需要解释一下,我尝试用OBS录屏,但回看时没有明显体现出来,毕竟我所描述的那种抽搐是几个像素级别的小幅度位移。这里就使用手机近距离拍摄笔记本屏幕,全程没有左右晃动手机或屏幕。
辛苦你看一下这属不属于bug,以及能不能在其他机器上复现

@Him188
Copy link
Member

Him188 commented Feb 9, 2025

这也太怪了

@RickyZhu-420
Copy link
Author

确实奇怪,手机上的animeko界面无论横屏竖屏从没有这样过(不过手机上没有过鼠标悬停倒是真的)
老实说我个人不太懂开发方面的,但我猜测是高分屏非整数倍缩放的缘故导致的界面抽动。不过我没有其他设备,不清楚会不会复现(苦笑)

@weiduhuo
Copy link

我在windows上运行 4.4.2 版,出现了完全一模一样的问题。环境是windows 10,分辫率1920*1080,缩放率125%(为我日常使用的缩放率)。
同时,我测试发现缩放率100%时,问题消失;缩放率150%时,问题重现。
大概就是此方面的兼容性问题,虽然可以通过改变缩放率临时性避免,但...还是比较影响日常使用的。

@Him188
Copy link
Member

Him188 commented Feb 17, 2025

@StageGuard @Sanlorng 这个问题修复了吗

@Sanlorng
Copy link
Contributor

Sanlorng commented Feb 17, 2025

@StageGuard @Sanlorng 这个问题修复了吗

按照这个描述有可能是Compose 1px 的问题,需要定位看一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop 平台: 桌面 (macOS + Windows) P2 一般优先级, 可以等待 (Normal) s: ui 子系统: UI
Projects
None yet
Development

No branches or pull requests

4 participants