[GH-ISSUE #227] Resolution bug #3079

Closed
opened 2026-03-13 01:37:24 +03:00 by kerem · 6 comments
Owner

Originally created by @zhj9709 on GitHub (Apr 3, 2022).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/227

Originally assigned to: @VShawn on GitHub.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. 分辨率选择自适应
  2. 最大化窗口,等待自适应分辨率
  3. 最小化窗口
  4. 又会出现自适应分辨率的过程,像是从全屏的分辨率变成自适应分辨率,可以看视频

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

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Win11 Pro Beta 22581.200]
  • PRemoteM Version [0.6.2.2]

Additional context
Add any other context about the problem here.

https://user-images.githubusercontent.com/13991774/161415996-2703d4b7-e2b1-494d-8a80-b83f9b1797a0.mp4

Originally created by @zhj9709 on GitHub (Apr 3, 2022). Original GitHub issue: https://github.com/1Remote/1Remote/issues/227 Originally assigned to: @VShawn on GitHub. **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. 分辨率选择自适应 2. 最大化窗口,等待自适应分辨率 3. 最小化窗口 4. 又会出现自适应分辨率的过程,像是从全屏的分辨率变成自适应分辨率,可以看视频 **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. Win11 Pro Beta 22581.200] - PRemoteM Version [0.6.2.2] **Additional context** Add any other context about the problem here. https://user-images.githubusercontent.com/13991774/161415996-2703d4b7-e2b1-494d-8a80-b83f9b1797a0.mp4
kerem 2026-03-13 01:37:24 +03:00
Author
Owner

@zhj9709 commented on GitHub (Apr 3, 2022):

窗口不最大化好像没这个问题

<!-- gh-comment-id:1086820599 --> @zhj9709 commented on GitHub (Apr 3, 2022): 窗口不最大化好像没这个问题
Author
Owner

@VShawn commented on GitHub (Apr 6, 2022):

收到,感谢反馈。
我检查了代码,发现调整分辨率前会检查远程桌面窗口的尺寸是否变化,只有变化了才会继续执行调整分辨率的代码。所以按理说不应该出现你录屏的现象,而且这一现象只有在全屏的时候才会出现,所以应该是windows对全屏的应用最小化时,重设了软件的大小。我得想想怎么搞,现在 RDP 控件是感知不到父窗体是最大化还是最小化的....

总之,感谢反馈

<!-- gh-comment-id:1089583566 --> @VShawn commented on GitHub (Apr 6, 2022): 收到,感谢反馈。 我检查了代码,发现调整分辨率前会检查远程桌面窗口的尺寸是否变化,只有变化了才会继续执行调整分辨率的代码。所以按理说不应该出现你录屏的现象,而且这一现象只有在全屏的时候才会出现,所以应该是windows对全屏的应用最小化时,重设了软件的大小。我得想想怎么搞,现在 RDP 控件是感知不到父窗体是最大化还是最小化的.... 总之,感谢反馈
Author
Owner

@zhj9709 commented on GitHub (Apr 6, 2022):

我在Win10上也有这个情况,Win10 LTSC 1809。
但我有了新发现,直接使用软件上的最小化时,并不会调整分辨率。但如果我在通过点击任务栏上的图标最小化或是用Win+D回到桌面,再次打开就会重新调整分辨率。

<!-- gh-comment-id:1089859951 --> @zhj9709 commented on GitHub (Apr 6, 2022): > 我在Win10上也有这个情况,Win10 LTSC 1809。 但我有了新发现,直接使用软件上的最小化时,并不会调整分辨率。但如果我在通过点击任务栏上的图标最小化或是用Win+D回到桌面,再次打开就会重新调整分辨率。
Author
Owner

@VShawn commented on GitHub (Apr 9, 2022):

所以应该是windows对全屏的应用最小化时,重设了软件的大小

通过点击任务栏上的图标最小化或是用Win+D回到桌面,再次打开就会重新调整分辨率。

确实是这样,只有点击任务栏最小化时才会重新设置分辨率。两种最小化的表现不一致 Windows 或者 Winform 的锅。

<!-- gh-comment-id:1093553935 --> @VShawn commented on GitHub (Apr 9, 2022): > 所以应该是windows对全屏的应用最小化时,重设了软件的大小 > 通过点击任务栏上的图标最小化或是用Win+D回到桌面,再次打开就会重新调整分辨率。 确实是这样,只有点击任务栏最小化时才会重新设置分辨率。两种最小化的表现不一致 Windows 或者 Winform 的锅。
Author
Owner

@zhj9709 commented on GitHub (Jun 26, 2022):

@VShawn 当我使用PRemoteM时,最大化,没有全屏,电脑睡眠,远程连接的窗口没关,再唤醒,这时候PRmoteM应该会重新连接,远程连接的windows是锁屏状态,但输入密码进入桌面后,远程连接的画面好像变成了我本机的分辨率,并没有自适应最大化的分辨率。

<!-- gh-comment-id:1166407617 --> @zhj9709 commented on GitHub (Jun 26, 2022): @VShawn 当我使用PRemoteM时,最大化,没有全屏,电脑睡眠,远程连接的窗口没关,再唤醒,这时候PRmoteM应该会重新连接,远程连接的windows是锁屏状态,但输入密码进入桌面后,远程连接的画面好像变成了我本机的分辨率,并没有自适应最大化的分辨率。
Author
Owner

@VShawn commented on GitHub (Jul 9, 2022):

啊,这种情况确实没想到过。回头我测试一下。

<!-- gh-comment-id:1179443376 --> @VShawn commented on GitHub (Jul 9, 2022): 啊,这种情况确实没想到过。回头我测试一下。
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#3079
No description provided.