The window opens at a different size than when it was last closed

Bug report

When launching Inkdrop on a secondary display that is configured with a different scaling value from the main display, the window opens at a different size than when it was last closed.

As a result, each time the application is closed and relaunched, the window size gradually increases.


メインディスプレイと異なるスケーリング値を設定してるサブディスプレイでInkdropを起動すると、前回終了時と異なるウィンドウサイズで起動してしまいます。
アプリの終了と起動を繰り返す度に、ウィンドウサイズが大きくなっていきます。

Environment

  • Platform: Windows 11 Pro
  • Platform version: 25H2
  • App Version: 6.0.0-canary.13
  • Display
      1. Main Display: WQHD, scale 100%
      2. 2nd Display: FHD, scale 100%
      3. 3rd Display: 4K UHD, scale 150%

How to reproduce

  1. Navigate to System > Display > Scale and Layout > Scale, and configure different scaling values for the main display and the secondary display.
    (For example: Main display = 100%, Secondary display = 150%)
  2. Launch Inkdrop and move the application window to the secondary display.
    (Resizing the window to a slightly smaller size beforehand makes the issue easier to observe.)
  3. Close Inkdrop, then relaunch it.
    The window size is larger than it was at the time of closing (in my environment, it expands toward the right).
  4. Repeat step 3.
    The window size gradually increases with each restart.

The issue does not occur when the secondary display uses the same scaling value as the main display.


再現方法

  1. システム>ディスプレイ>拡大/縮小とレイアウト>拡大/縮小 へ移動し、メインディスプレイとサブディスプレイに異なるスケーリング値を設定します。
    (例えばメインディスプレイ=100%、サブディスプレイ=150%)
  2. Inkdropを起動して、サブディスプレイへ配置します(ウィンドウサイズをやや小さめにしておくと、変化が分かりやすいです)
  3. Inkdropを終了、その後Inkdropを起動します。ウィンドウサイズが終了時より拡大しています(自分の環境では右側へ拡大しています)
  4. 3.を繰り返すと徐々にウィンドウサイズが拡大していきます。

スケーリング値がメインディスプレイと同じサブディスプレイでは発生しません。


英語が不得手なので、ChatGPTに頼りつつ日本語も併記しております。
自分の様なチグハグなサイズ・解像度のディスプレイを組み合わせてる環境の人がどの程度いるのか…と考えると重要度低めな症状ですが、直ると配置の自由度が上がって嬉しいです。

Inkdrop.exeを右クリック>プロパティ>互換性>高DPI設定の変更
>高DPIスケール設定の上書き から「システム(拡張)」を選ぶとウィンドウサイズの問題は解決したのですが、今度はフォントがぼやけるのでこの対処法は避けたい所です。

余談ですが、思った以上に長くアプリを使わせて頂いており、今では無いと困るツールの一つとなっています。今後のInkdropも楽しみにしてます!

@Yug さん

Thanks for reporting it.
I think the app should fix the window size depending on its DPI before saving it.

Scale 100% の場合のウインドウサイズに修正してから値を保存する必要がありそうですね。
ご報告ありがとうございます!
v6の方にて対応します。

1 Like

Fixed it in Inkdrop Desktop v6.0.0-canary.14. Thanks again!

1 Like