Scirra / Construct-bugs

Public bug report submissions for Construct 3 and Construct Animate. Please read the guidelines then click the 'Issues' tab to get started.
https://www.construct.net
107 stars 83 forks source link

Barbossa timeline window crash :space_invader: #6662

Closed WilsonPercival closed 1 year ago

WilsonPercival commented 1 year ago

Problem description

Construct crashes.

Attach a .c3p

save open project: save_open_project.zip

Steps to reproduce

  1. Create a new project.
  2. Create a sprite.
  3. Drag the sprite to the timeline.
  4. In the timeline, start dragging the sprite (don't release it) and press Ctrl + Z.
  5. Drag the sprite to the timeline.
  6. Deselect the sprite in the timeline.
  7. Click on the sprite in the timeline.

Observed result

https://user-images.githubusercontent.com/91274932/221437006-28cba1d1-d985-4f94-bb2c-56d1033d2ba0.mp4

Expected result

Construct does not crash.

More details

Error report information Type: unhandled exception File: https://editor.construct.net/r331/main.js, line 1035, col 141 Message: Uncaught TypeError: unexpected type Stack: TypeError: unexpected type at O.i (https://editor.construct.net/r331/main.js:1035:147) at window.Kb.rgc.aHc (https://editor.construct.net/r331/components/bars/timelineBar/timelineBar.js:389:131) at window.Kb.rgc.sFa (https://editor.construct.net/r331/components/bars/timelineBar/timelineBar.js:386:242) at window.Kb.F4.sFa (https://editor.construct.net/r331/components/bars/timelineBar/timelineBar.js:383:150) at window.Kb.wvc.z7 (https://editor.construct.net/r331/components/bars/timelineBar/timelineBar.js:399:473) at HTMLDivElement. (https://editor.construct.net/r331/components/bars/timelineBar/timelineBar.js:395:492) Construct version: r331 URL: https://editor.construct.net/r331/ Date: Sun Feb 26 2023 22:42:45 GMT+0200 (Восточная Европа, стандартное время) Uptime: 98.8 s

Platform information Product: Construct 3 r331 (beta) Browser: Chrome 109.0.5414.120 Browser engine: Chromium Context: browser Operating system: Windows NT 0.1.0 Device type: desktop Device pixel ratio: 1 Logical CPU cores: 2 Approx. device memory: 4 GB User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Language setting: en-US

WebGL information Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium) Numeric version: 2 Supports NPOT textures: yes Supports GPU profiling: no Supports highp precision: yes Vendor: Google Inc. (Google) Renderer: ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (Subzero) (0x0000C0DE)), SwiftShader driver) Major performance caveat: yes Maximum texture size: 8192 Point size range: 1 to 1023 Extensions: EXT_color_buffer_float, EXT_color_buffer_half_float, EXT_float_blend, EXT_texture_compression_bptc, EXT_texture_compression_rgtc, EXT_texture_filter_anisotropic, OES_draw_buffers_indexed, OES_texture_float_linear, WEBGL_compressed_texture_astc, WEBGL_compressed_texture_etc, WEBGL_compressed_texture_etc1, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_lose_context, WEBGL_multi_draw, OVR_multiview2

https://user-images.githubusercontent.com/91274932/221467803-cced7241-76cc-4f99-be44-522e823b11bf.mp4

Affected browsers/platforms: Chrome

First affected release: broke in r331b

System details

View details Platform information Product: Construct 3 r331 (beta) Browser: Chrome 109.0.5414.120 Browser engine: Chromium Context: browser Operating system: Windows NT 0.1.0 Device type: desktop Device pixel ratio: 1 Logical CPU cores: 2 Approx. device memory: 4 GB User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Language setting: en-US Local storage Storage quota (approx): 59 gb Storage usage (approx): 198 mb (0.3%) Persistant storage: No Browser support notes This list contains missing features that are not required, but could improve performance or user experience if supported. UI effects are disabled in settings. WebGL indicates a major performance caveat. It is probably using software rendering. WebGL information Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium) Numeric version: 2 Supports NPOT textures: yes Supports GPU profiling: no Supports highp precision: yes Vendor: Google Inc. (Google) Renderer: ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (Subzero) (0x0000C0DE)), SwiftShader driver) Major performance caveat: yes Maximum texture size: 8192 Point size range: 1 to 1023 Extensions: EXT_color_buffer_float EXT_color_buffer_half_float EXT_float_blend EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic OES_draw_buffers_indexed OES_texture_float_linear WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_etc1 WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_lose_context WEBGL_multi_draw OVR_multiview2 Audio information System sample rate: 48000 Hz Output channels: 2 Output interpretation: speakers Supported decode formats: WebM Opus (audio/webm; codecs=opus) Ogg Opus (audio/ogg; codecs=opus) WebM Vorbis (audio/webm; codecs=vorbis) Ogg Vorbis (audio/ogg; codecs=vorbis) MPEG-4 AAC (audio/mp4; codecs=mp4a.40.5) MP3 (audio/mpeg) FLAC (audio/flac) PCM WAV (audio/wav; codecs=1) Supported encode formats: WebM Opus (audio/webm; codecs=opus) Video information Supported decode formats: WebM AV1 (video/webm; codecs=av01.0.00M.08) MP4 AV1 (video/mp4; codecs=av01.0.00M.08) WebM VP9 (video/webm; codecs=vp9) WebM VP8 (video/webm; codecs=vp8) Ogg Theora (video/ogg; codecs=theora) H.264 (video/mp4; codecs=avc1.42E01E) Supported encode formats: WebM VP9 (video/webm; codecs=vp9) WebM VP8 (video/webm; codecs=vp8)
AshleyScirra commented 1 year ago

Merging similar drag-and-drop issues in to #6664