mattermost / desktop

Mattermost Desktop application for Windows, Mac and Linux
Apache License 2.0
2.03k stars 830 forks source link

[MM-58357] Disable window scaling for OSes that aren't Windows #3063

Closed devinbinnie closed 5 months ago

devinbinnie commented 5 months ago

Summary

When I fixed the window scaling issue on Windows causing the setSize call to size the window strangely, on Mac some displays were misreporting the scaleFactor based on other factors (ie. the Retina Display technically having a higher pixel density, setting the scaleFactor to 2). This would cause some mini windows to popup that were 1/4 the size they should be.

To fix this, I just limited the window scaling fix to Windows since it seems to report just based on the user's scale factor.

Ticket Link

https://mattermost.atlassian.net/browse/MM-58357

NONE
mattermost-build commented 5 months ago

Cherry pick is scheduled.