[GH-ISSUE #682] 在不同dpi的双显示器下鼠标尺寸不正确 #561

Closed
opened 2026-02-26 11:58:47 +03:00 by kerem · 3 comments
Owner

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:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
截屏截不出鼠标。如需要我可拍照上传

Desktop (please complete the following information):
Win11 23H2 22631.3737
image

Additional context
Add any other context about the problem here.

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: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** 截屏截不出鼠标。如需要我可拍照上传 **Desktop (please complete the following information):** Win11 23H2 22631.3737 ![image](https://github.com/1Remote/1Remote/assets/45445824/d615a9ef-25a7-46f3-b383-ca49346c3e2b) **Additional context** Add any other context about the problem here.
kerem 2026-02-26 11:58:47 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@VShawn commented on GitHub (Jun 27, 2024):

不需要拍照上传了,我自己也遇到过这个问题,但过去我研究后发现这似乎是微软RDP本身的问题,一定要重启RDP才能显示正常。
或者说微软没有提供接口来让我来动态设置不同显示器的DPI。

微软自家的 Microsoft 远程桌面 似乎可以做到这一点,但那个是微软加了魔法的RDP客户端(意思是魔改过AxRDPlib),而且闭源,以至于我分析不出它到底是如何实现的。

因为解决不了,所以问题暂时关闭。

如果你发现哪个开源远程工具实现了不同显示器的DPI缩放,请告诉我,我会去调研看是如何实现的。

<!-- gh-comment-id:2193177941 --> @VShawn commented on GitHub (Jun 27, 2024): 不需要拍照上传了,我自己也遇到过这个问题,但过去我研究后发现这似乎是微软RDP本身的问题,一定要重启RDP才能显示正常。 或者说微软没有提供接口来让我来动态设置不同显示器的DPI。 微软自家的 [Microsoft 远程桌面](https://www.microsoft.com/store/productId/9WZDNCRFJ3PS?ocid=pdpshare) 似乎可以做到这一点,但那个是微软加了魔法的RDP客户端(意思是魔改过AxRDPlib),而且闭源,以至于我分析不出它到底是如何实现的。 因为解决不了,所以问题暂时关闭。 如果你发现哪个开源远程工具实现了不同显示器的DPI缩放,请告诉我,我会去调研看是如何实现的。
Author
Owner

@hlc1209 commented on GitHub (Jun 28, 2024):

能否在检测到断开显示器后,自动重连所有RDP?

来解决一部分问题

<!-- gh-comment-id:2196228881 --> @hlc1209 commented on GitHub (Jun 28, 2024): 能否在检测到断开显示器后,自动重连所有RDP? 来解决一部分问题
Author
Owner

@VShawn commented on GitHub (Sep 11, 2024):

能否在检测到断开显示器后,自动重连所有RDP?

来解决一部分问题

虽然可以用这个方法解决一部分问题,但这个方案太过粗暴,我不实现这个方案。

只有把1Remote.exe的高DPI缩放设置改成系统或系统增强才能在不更改RDP缩放的情况下实现本地缩放,不过代价就是1Remote程序本身变模糊了

嗯,Windows的DPI缩放一直很迷

<!-- gh-comment-id:2342546395 --> @VShawn commented on GitHub (Sep 11, 2024): ``` 能否在检测到断开显示器后,自动重连所有RDP? 来解决一部分问题 ``` 虽然可以用这个方法解决一部分问题,但这个方案太过粗暴,我不实现这个方案。 ``` 只有把1Remote.exe的高DPI缩放设置改成系统或系统增强才能在不更改RDP缩放的情况下实现本地缩放,不过代价就是1Remote程序本身变模糊了 ``` 嗯,Windows的DPI缩放一直很迷
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#561
No description provided.