mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 13:36:03 +03:00
[GH-ISSUE #682] 在不同dpi的双显示器下鼠标尺寸不正确 #561
Labels
No labels
area-configuration
area-ct-app
area-ct-rdp
area-ct-remoteapp
area-ct-ssh
area-ct-vnc
area-launcher
area-list
area-tags
area-teamwork
bug
chore
dependencies
general-build/ci
general-performance
general-refactor
general-security
general-supportive
general-ux
meta-documentation
meta-enhancement
meta-enhancement
meta-feature
meta-help-wanted
meta-unknown-error
priority-hi
priority-low
pull-request
question
resolution-duplicate
resolution-invalid
resolution-wontfix
stale
task-put-off
task-still-considering
task-working-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/1Remote#561
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hlc1209 on GitHub (Jun 26, 2024).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/682
Originally assigned to: @VShawn on GitHub.
Describe the bug
在不同dpi的双显示器下鼠标尺寸不正确。在高DPI显示器上鼠标大小正常,同时在低DPI显示器上鼠标巨大
甚至于在断开外接显示器后,只要不关闭1remote进程,在低DPI内置显示器上鼠标仍然巨大
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
截屏截不出鼠标。如需要我可拍照上传
Desktop (please complete the following information):

Win11 23H2 22631.3737
Additional context
Add any other context about the problem here.
@VShawn commented on GitHub (Jun 27, 2024):
不需要拍照上传了,我自己也遇到过这个问题,但过去我研究后发现这似乎是微软RDP本身的问题,一定要重启RDP才能显示正常。
或者说微软没有提供接口来让我来动态设置不同显示器的DPI。
微软自家的 Microsoft 远程桌面 似乎可以做到这一点,但那个是微软加了魔法的RDP客户端(意思是魔改过AxRDPlib),而且闭源,以至于我分析不出它到底是如何实现的。
因为解决不了,所以问题暂时关闭。
如果你发现哪个开源远程工具实现了不同显示器的DPI缩放,请告诉我,我会去调研看是如何实现的。
@hlc1209 commented on GitHub (Jun 28, 2024):
能否在检测到断开显示器后,自动重连所有RDP?
来解决一部分问题
@VShawn commented on GitHub (Sep 11, 2024):
虽然可以用这个方法解决一部分问题,但这个方案太过粗暴,我不实现这个方案。
嗯,Windows的DPI缩放一直很迷