NWjs Window Size doesn't match Canvas Size

Bugs will be moved here once resolved.

Post » Wed Jun 15, 2016 11:24 am

Problem Description
NWjs Window is 16*8px larger than Canvas whan in package.json "resizeable": true and 24*18px larger when "resizeable": false

EDIT:
This happens in preview and export (win32 and win64)

EDIT2:
Btw. this is not the case, when in "No Frame" Mode ...

Image
Image

Attach a Capx
NWjs_WindowSize_Offset.capx

Description of Capx
Simple Project with NWjs, Browser and Text Object to demonstrate Expression Outputs and possible Bug with NWjs

Steps to Reproduce Bug
  • Start the .capx File
  • Read Expression Outputs
  • See black space between Canvas and Window

Observed Result
NWjs Window is bigger as Canvas

Expected Result
NWjs Window should have the same size as the Canvas

Affected Browsers
  • NWjs

Operating System and Service Pack
Windows 10 x64 - Version 1511

Construct 2 Version ID
Personal License - Release 229

NWJS for Construct 2 Version
v0.15.0
Last edited by Kitsune42k on Wed Jun 15, 2016 7:12 pm, edited 3 times in total.
B
11
S
4
G
5
Posts: 74
Reputation: 3,435

Post » Wed Jun 15, 2016 12:29 pm

Have you tried it with the export?
Image ImageImage
B
170
S
50
G
179
Posts: 8,378
Reputation: 113,425

Post » Wed Jun 15, 2016 12:33 pm

Sry, forget to mention: This happens in preview and export (win32 and win64)

EDIT2:
Btw. this is not the case, when in "No Frame" Mode ...
B
11
S
4
G
5
Posts: 74
Reputation: 3,435

Post » Fri Jun 17, 2016 12:55 am

So after fiddling with some NW.js versions, I discovered, that this is not a Construct2 bug. It's a NW.js bug, present up to version 0.15.2. It is fixed since version 0.16.0-beta1 ... so :roll: this can be closed.

Sorry for bothering and thanks :lol:
B
11
S
4
G
5
Posts: 74
Reputation: 3,435


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests