defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

Started previewing a pfx and zoomed out #1819

Open britzl opened 6 years ago

britzl commented 6 years ago

Expected behaviour

It shouldn't crash

Actual behaviour

It crashed

Steps to reproduce

Created a pfx. Changed atlas. Set animation. Space to preview. Mouse wheel to zoom out. Boom.


Build time2018-04-17T16:49:19.267517
Defold channeleditor-alpha
Defold editor sha189accb0f9da4378392fc6373adfc7eb3c26b5f1
Defold engine shaf9995611e4d5befaa75d6b6d7becdd52823e01eb
Defold version1.2.125
Errorbf1203014c7c4119a7e18a7cc302dbff
GPUNVIDIA GeForce GT 750M OpenGL Engine
GPU Driver2.1 NVIDIA-10.30.25 355.11.10.10.30.120
Java version1.8.0_102-b14
OS archx86_64
OS nameMac OS X
OS version10.13.4
matgis-king commented 6 years ago

Note: Looks like a lingering scroll event handler on a deleted CodeEditorView node is getting called after its node id has been reclaimed by a SceneView. Perhaps JavaFX internals are to blame? A possible workaround could be to clear all the event handlers from the canvas when closing the Tab.