Windows 10 app window opens outside of screen

Bug report

When opening Inkdrop in Windows, the previous location is not saved. Instead the window ultimately opens but the top of the window is above the top of the screen.

Info

  • Platform: Windows
  • Platform version: 10
  • App Version: 3.23.1

Reproduce

Close, then launch the app

Hi Kevin,

Thank you for reporting.
That’s weird.
Could you show me your config.cson stored in %APPDATA%/inkdrop/?
It stores the last position of the main window.

1 Like

Sure thing, my config.cson looks like this:

"*":
  core:
    db:
      machineId: "2VUHVFIIK"
    mainWindow:
      fullscreen: false
      maximized: false
      position:
        x: 2034
        y: 61
      size:
        h: 719
        w: 1337

I don’t know if it helps, but I have 3 monitors, all at 1920 x 1080 resolution, where primary monitor is scaled to 125% while the other 2 aren’t scaled at all.

Edit:

I didn’t have Inkdrop open when I looked at those values. When I did open it, the top was not outside the viewable area, but the rightmost side was a little bit over the second monitor’s edge into the third monitor, which was not the last position before it closed. I moved it to the center of the third monitor, closed and reopened Inkdrop and config.cson has these new values, and did indeed open partially outside the vertical.

  position:
    x: 3542
    y: -98
  size:
    h: 721
    w: 1338

Thank you for the information.
So you have multiple monitors and it occurs when you quit the app at the second/third screen.
I will try to reproduce it later.
Thanks again!

Memo:

It needs to check every display’s bounds.

Fixed in v5.2.0-beta.2 :tada:

Landed in v5.2.0:tada: Thanks again!