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

Incorrect screen resolution on custom DPI scaling #10

Closed
ORelio opened this issue Dec 28, 2019 · 2 comments
Closed

Incorrect screen resolution on custom DPI scaling #10

ORelio opened this issue Dec 28, 2019 · 2 comments

Comments

@ORelio
Copy link
Owner

ORelio commented Dec 28, 2019

On custom DPI scaling (e.g. 125%), lockscreen.png gets a lower resolution than actual screen resolution. Investigate this issue and find a way to get the raw screen resolution.

@ORelio
Copy link
Owner Author

ORelio commented Jan 3, 2020

Fixing by using app.manifest with dpiaware=true, causing Windows to always give the actual screen resolution: https://stackoverflow.com/questions/13228185/how-to-configure-an-app-to-run-correctly-on-a-machine-with-a-high-dpi-setting-e/13228495#13228495

ORelio added a commit that referenced this issue Jan 3, 2020
Add app.manifest with dpiAware=true. See #10
@ORelio
Copy link
Owner Author

ORelio commented Jan 3, 2020

Implemented as per release 1.4.2.

@ORelio ORelio closed this as completed Jan 3, 2020
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

No branches or pull requests

1 participant