Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

高 DPI モニター環境において、ウィンドウが非常に小さく表示されてしまう #26

Open
micachi opened this issue Jan 10, 2024 · 2 comments

Comments

@micachi
Copy link

micachi commented Jan 10, 2024

前提

下記、3840 * 2160 (4K) の 175 % スケーリング設定で使用中の Windows 11 で確認。
image

問題の事象

当該環境において、通常状態で起動すると、このように DPI 100 % 相当のサイズのままで表示されてしまうことが原因なのか、ごく小さいウィンドウで表示されてしまう。
image

暫定回避策

一旦の回避策としては、exe 本体のプロパティを開き、[互換性] タブ > [高 DPI 設定の変更] より、[高 DPI スケール設定の上書き] を有効にして、[システム (拡張)] を選択。
image

上記の回避策を適用した同環境においては、本事象が緩和されることを確認 (ただし若干表示がぼけるが) 。
image

@EbiseLutica
Copy link
Owner

エンジンのバグっぽいなあ

@EbiseLutica
Copy link
Owner

WindowsだとDPIの検知手段がなさそう(macOSでテストしてたDPI検知が動かない)
画面の拡大機能をつけた上で、画面サイズ見ていい感じにしよう

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@EbiseLutica @micachi and others