telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.23k stars 5.2k forks source link

TDesktop does not respect interface scale when restoring window size #27087

Closed TBXin closed 9 months ago

TBXin commented 11 months ago

Steps to reproduce

  1. Multi display configuration. Primary display scale 125%, secondary display scale 100%.
  2. In TDesktop set default interface scale checkbox or set manually to 125%.
  3. Move TDesktop window to the second screen, resize window by your choice.
  4. Restart TDesktop.

Expected behaviour

Window size should be the same as was before closing.

Actual behaviour

Window size is smaller than expected by 25%. For e.g. before closing: 1692x1121, after restart: 1352x896, after second restart: 1080x716. Reproduction occurs only if the launch location is on the second screen.

Operating system

Windows 11 22H2

Version of Telegram Desktop

4.11.6 x64

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

TBXin commented 9 months ago

Was fixed in 4.15.5