Windows 10 app window opens outside of screen


(Kevin Williams) #1

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


(Takuya Matsuyama) #2

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.


(Kevin Williams) #3

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

(Takuya Matsuyama) #4

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!