nw.js icon indicating copy to clipboard operation
nw.js copied to clipboard

Cursor change in borders when frameless window is maximized

Open pols63 opened this issue 3 years ago • 2 comments

Hi:

NWJS Version : 63.1 Operating System : Windows 10

I have a frameless maximized window. I am moving the cursor on the border and it changes. image

For reproduce it, Iam using this code:

nw.Window.open('app/index.html', {
	width: 800,
	height: 600,
	frame: false,
}, w => {
	w.show()
	w.maximize()
})

How prevent that cursor change?

Thanks.

pols63 avatar Apr 29 '22 19:04 pols63

@rogerwang another user has reported that the "resize" mouse cursor is shown at the edges of the window, with the following simple app (using versions 0.66.0 and 0.66.1):

{
  "name": "name",
  "main": "index.html",
  "window": {
    "frame":false,
    "resizable": false
  }
}

I suspect these two issues are related, as the resize cursor should not be visible in either case. Can you please take a look?

sysrage avatar Jul 26 '22 15:07 sysrage

Yeah, this is a real pain when using frameless windows.

UtterDonkey avatar Jan 29 '24 22:01 UtterDonkey