kashamalasha / nightscout-widget-electron

An Electron widget application to show on a desktop blood glucose value is getting from Nightscout API
https://github.com/kashamalasha/nightscout-widget-electron
GNU General Public License v3.0
33 stars 7 forks source link

[Bug]: The app is out of the display's bounds #98

Open kashamalasha opened 9 months ago

kashamalasha commented 9 months ago

Contact Details

me

What happened?

The application stays out of the current display's bounds after disconnecting the external display.

Steps to reproduce?

  1. Connect an external display
  2. Move the widget to the external display
  3. Disconnect the external display
  4. The widget will stay out of the current display's bounds

Screenshot?

No response

Application version

0.8.2-beta (Latest)

What operating system are you seeing the problem on?

No response

Operating system's version and architecture

No response

Relevant log output or debug info

"WIDGET": {
    "POSITION": {
      "x": -824, // negative values triggers this behavior
      "y": 309
    }
  },
dreksten commented 7 months ago

I'm having the same problem. Workaround: Open "%APPDATA%\Owlet\config.json" in a text editor and modify the POSITION.x and POSITION.y to positive values. Save and restart "Owlet" from the Windows task manager.