[NWJS v0.20.0] Touch doesn't work well, far from well.

Report Construct 2 bugs here.

Post » Tue Feb 28, 2017 9:54 pm

Problem Description

This is the NWjs for C2. I downloaded it from here : NWJs for C2 https://www.scirra.com/nwjs

v0.20.0 (Chromium 56) [Requires r217+]

[NWJS v0.20.0] Touch doesn't work well, far from well. I have a .capx below that shows it. I have installed the latest version for a long time now but I just tried to preview my project now.
I have noticed that in every update of NWjs, the touch is getting more and more unusual but I didn't mind (I thought at first that it was my ultrabook that was at fault but my touch is working fine on chrome so it wasn't. My ultrabook's touch screen is still working fine.) until the latest version of NWJS.

+This is only isolated to NWjs since Chrome's touch is still working fine.

Attach a Capx
https://1drv.ms/u/s!AjcW2ueud6qp3AWqN14b-aK1K1K3

Description of Capx
It's a touch dragging test.

Steps to Reproduce Bug
  • Touch Drag the black squares.
  • Then Touch Drag the black squares simultaneously. There are 10 black squares for further analysis using your 10 Multi-touch points.
  • Notice the effects.

Observed Result
Single Touch Drag: The Black Squares are dragged initially but stops getting dragged afterwards.
Multi-Touch Drag: Other Black Squares fail to be dragged. The Single Black Square is only dragged initially but stops getting dragged afterwards.
Expected Result
Touch on NWjs for C2 to work properly like on Chrome.

Affected Browsers
  • NWjs: Yes

Operating System and Service Pack
Windows 8.1 64-bit
v0.20.0 (Chromium 56) [Requires r217+]

Construct 2 Version ID
Construct 2 r243 Beta Release
Image



The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
55
S
17
G
90
Posts: 1,112
Reputation: 59,151

Post » Thu Mar 02, 2017 2:00 pm

Tried NWJS last week and noticed that touch did not work (works everywhere else).
Assumed it was something I was doing wrong as fist time trying NWJS.
I will verify tonight....
...
B
42
S
21
G
7
Posts: 260
Reputation: 7,683

Post » Thu Mar 02, 2017 11:04 pm

I tried, tonight , your capx above and my game on my Surface.

On nwjs preview

the touch dosent work.

However on njws export its ok.

So something going wrong in preview mode.....
...
B
42
S
21
G
7
Posts: 260
Reputation: 7,683

Post » Tue Apr 18, 2017 4:33 pm

Is NW.js v0.21.1 (based on Chrome 57) affected?
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Thu Apr 27, 2017 7:39 pm

@Ashley

Sorry for the very late response.

Ive just tried with v0.22.0 (Chromium 58)

No change as far as I can see.

Previewing nw.js from C2 (edit r244) touch is still playing up, sticking, unresponsive, laggy.

Exported nw.js though is fine.

This is on windows 10 surface pro 4

edit: just analysed whats going on, maybe might help
On Preview it seems to register the correct touch input for a fraction of a second then totally ignores further input until all touch off then it resets and will recognize the next touch input again but just for a fraction of a second only again.
...
B
42
S
21
G
7
Posts: 260
Reputation: 7,683


Return to Bugs

Who is online

Users browsing this forum: rexrainbow and 1 guest