organicmaps/organicmaps
[desktop] main window doesn't respect display scaling
オープン
#4,836 opened on 2023/03/22
DesktopGood first issue
Repository metrics
- Stars
- (7,887 個のスター)
- PR merge metrics
- (平均マージ 13d 6h) (30d で 91 merged PRs)
説明
System: GNOME, 3072/1920px 200% display scale
This issue is hidden by the window being maximised on start, but the window doesn't take display scaling into account when sizing the window, resulting in the window being 2x the size of the screen when un-maximised. after disabling display scaling in my shell, the window un-maximises to a reasonable size
caused by https://github.com/organicmaps/organicmaps/blob/0ac1cc34a3be75052dc5733efe9a9f9a46fdc428/qt/main.cpp#L245 ?
would be good to centre it when un-maximising as well, currently it grabs at the top left corner