nwjs/nw.js

Unchecked runtime.lastError: Invalid value for bounds. Bounds must be at least 50% within visible screen space.

SQJM opened this issue · 0 comments

SQJM commented

Issue Type

Before opening an issue, please search and see if it has already been raised.

  • Bug Report

  • Feature Request

  • Successfully reproduced against the latest version of NW.js?

Please use our mailing list or Gitter chatroom to ask questions. The issue tracker is only for bugs and feature requests, in English only. Please note that issues without a repro or code snippet are less likely to be resolved.

Current/Missing Behavior

moveTo(x, y) - Error when moving more than the width and height of the window, but the application window is still in the middle of the screen
Screenshot 2024-07-21 103550

Expected/Proposed Behavior

I want the window to be able to move to any coordinate on the screen

Additional Info

  • Operating System: windows11 23h2
  • NW.js Version: 0.89
  • Repro Link:
  • Code snippet:moveTo(x, y)
  • Crash report:Unchecked runtime.lastError: Invalid value for bounds. Bounds must be at least 50% within visible screen space.
    Screenshot 2024-07-21 103352
    Screenshot 2024-07-21 103409