Skip to content

Call to win.moveTo(0,0) sometimes doesn't display the window in maximized state in windows. #7682

Open
@anurag-2911

Description

@anurag-2911

NWJS Version : 0.33.4
Operating System: Windows 7 and Windows 10

Expected behavior

I am calling nw.js windows win.moveTo(x, y) with value 0,0 so that windows is displayed maximized on the windows (https://docs.nwjs.io/en/latest/References/Window/#winmovetox-y)

At times I have observed that it is not maximized.

When I call to win.moveTo(0,0) my nw.exe window is displayed maximized.

How to reproduce

It is a random issue, we rename nw.exe and zapp.exe for our product ZENworks and call win.moveTo(0,0) so that it is displayed maximized, most of the time it is displayed but at times it ignores the method call it seems.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions