nwjs window border

Bugs will be moved here once resolved.

Post » Wed Feb 03, 2016 6:32 pm

Nwjs displays black bars
Beta 5 still shows an extra space around the window border on export to Windows
Attach a Capx
https://dl.dropboxusercontent.com/u/666 ... ffset.capx

Description of Capx
Layout set to 400 h, 450 w
Bg purple
No events

Steps to Reproduce Bug
  • Step 1:run preview
  • Step 2:note no black border
  • Step 3:export to nwjs
  • Step 4:note borders on right side.

Observed Result
https://dl.dropboxusercontent.com/u/666 ... window.png


Expected Result
No bars
It does not happen with the preview

Affected Browsers
  • Nwjs

Operating System and Service Pack
Windows 10

Construct 2 Version ID
R221

Also the ghost process for this version closes normally.
My existing project still gets the extra process still running after close, on both the preview, and export.
Image ImageImage
B
172
S
50
G
184
Posts: 8,444
Reputation: 116,107

Post » Wed Feb 03, 2016 6:33 pm

I tried to find what the minimum dimensions are for a Nwjs project with no luck.

Edit:
Also I would like to point out that the borders are smaller on my existing project, but still an unwanted result.
Image ImageImage
B
172
S
50
G
184
Posts: 8,444
Reputation: 116,107

Post » Thu Feb 04, 2016 8:19 pm

With some experimentation it looks like it's approximately 500x500. It's actually a little less, but there is also a 3 pixel border to take into account.

However the ghost process still creeps back in on my old project.
So apparently I may have to redo the whole thing.
Image ImageImage
B
172
S
50
G
184
Posts: 8,444
Reputation: 116,107

Post » Tue Feb 09, 2016 4:38 pm

Can't reproduce here. Does it still happen if you rename the project?
Scirra Founder
B
403
S
238
G
89
Posts: 24,654
Reputation: 196,155

Post » Tue Feb 09, 2016 5:20 pm

Looks like renaming the project makes it use the correct size.

The ghost process after close is still there.
Image ImageImage
B
172
S
50
G
184
Posts: 8,444
Reputation: 116,107


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 8 guests