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

Update handling of scale factor #2301

Merged

Conversation

Nexarian
Copy link
Contributor

@Nexarian Nexarian commented Jul 2, 2022

Looking at 2.2.2.2.1 DISPLAYCONTROL_MONITOR_LAYOUT (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpedisp/ea2de591-9203-42cd-9908-be7a55237d1c),
the way we were handling it was slightly off. device_scale_factor and
desktop_scale_factor are interdependent. If either one is out of spec,
both are set to default. That wasn't how it was previously being
handled.

@Nexarian Nexarian force-pushed the update_scaling_factor_handling branch from e00e78a to 6a596bb Compare July 2, 2022 22:26
Looking at 2.2.2.2.1 DISPLAYCONTROL_MONITOR_LAYOUT (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpedisp/ea2de591-9203-42cd-9908-be7a55237d1c),
the way we were handling it was slightly off. device_scale_factor and
desktop_scale_factor are interdependent. If either one is out of spec,
both are set to default. That wasn't how it was previously being handled.
@Nexarian Nexarian force-pushed the update_scaling_factor_handling branch from 6a596bb to 07dbd0e Compare July 2, 2022 22:29
Copy link
Member

@matt335672 matt335672 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK to me

@Nexarian Nexarian merged commit 521e5e0 into neutrinolabs:devel Jul 4, 2022
@Nexarian Nexarian deleted the update_scaling_factor_handling branch July 4, 2022 17:04
@metalefty
Copy link
Member

@Nexarian Please keep in mind to update NEWS in wiki after you merge something. It is draft release note for the next release.

@matt335672
Copy link
Member

Ditto that. I find it a lot easier to update the NEWS when you do the merge rather than trying to pick your way through a series of changes you barely remember before a release to get a release note together. Maybe that's just me and my memory.

@Nexarian
Copy link
Contributor Author

Nexarian commented Jul 8, 2022

All I needed to do here was update the wiki to add the PR: Monitor processing logic, which was in two places, has now been unified (#1895 #2301)

@metalefty metalefty mentioned this pull request Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants