[GH-ISSUE #1139] Remote desktop can default to 1:1 ratio #832

Open
opened 2026-02-27 15:52:02 +03:00 by kerem · 2 comments
Owner

Originally created by @nil-ref on GitHub (Mar 15, 2023).
Original GitHub issue: https://github.com/quasar/Quasar/issues/1139

Problem description

I hope that when remote desktop starts, the size of the picbox can be adjusted to match the remote resolution.

Proposal

int screenWidth = Screen.PrimaryScreen.Bounds.Width;
int screenHeight = Screen.PrimaryScreen.Bounds.Height;
if(screenWidth > d.Resolution.Width && screenHeight > d.Resolution.Height)
this.ClientSize = new Size(d.Resolution.Width, d.Resolution.Height);

Additional context

No response

Originally created by @nil-ref on GitHub (Mar 15, 2023). Original GitHub issue: https://github.com/quasar/Quasar/issues/1139 ### Problem description I hope that when remote desktop starts, the size of the picbox can be adjusted to match the remote resolution. ### Proposal int screenWidth = Screen.PrimaryScreen.Bounds.Width; int screenHeight = Screen.PrimaryScreen.Bounds.Height; if(screenWidth > d.Resolution.Width && screenHeight > d.Resolution.Height) this.ClientSize = new Size(d.Resolution.Width, d.Resolution.Height); ### Additional context _No response_
Author
Owner

@subjoel commented on GitHub (Jun 22, 2023):

yes pls, i have the issue when testing that only a part of their screen is shown

<!-- gh-comment-id:1602714312 --> @subjoel commented on GitHub (Jun 22, 2023): yes pls, i have the issue when testing that only a part of their screen is shown
Author
Owner

@subjoel commented on GitHub (Jun 22, 2023):

make it a pull request

<!-- gh-comment-id:1602723022 --> @subjoel commented on GitHub (Jun 22, 2023): make it a pull request
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/Quasar#832
No description provided.