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

Animation editor: unable to rename a folder and crash when copying/pasting a folder #6126

Closed dop2000 closed 1 year ago

dop2000 commented 1 year ago

Steps to reproduce

  1. Create a sprite, create a folder in the animation editor, move the animation into the folder.
  2. Try to rename the folder - it won't allow you, when you press F2 the animation itself is renamed:

image

  1. Try to copy and paste the folder - the editor crashes.

image

More details

First affected release: r311

System details

View details Error report information Type: unhandled rejection Reason: Error: folder name 'New folder' already used @ Error: folder name 'New folder' already used at d.Xa (https://editor.construct.net/r311/projectResources.js:544:68) at d.Fba (https://editor.construct.net/r311/projectResources.js:700:414) at WA (https://editor.construct.net/r311/projectResources.js:253:18) Stack: Error: folder name 'New folder' already used at d.Xa (https://editor.construct.net/r311/projectResources.js:544:68) at d.Fba (https://editor.construct.net/r311/projectResources.js:700:414) at WA (https://editor.construct.net/r311/projectResources.js:253:18) Construct version: r311 URL: https://editor.construct.net/r311/ Date: Fri Sep 23 2022 20:34:59 GMT+1000 (Australian Eastern Standard Time) Uptime: 34.4 s Platform information Product: Construct 3 r311 (beta) Browser: Chrome 105.0.5195.127 Browser engine: Chromium Context: browser Operating system: Windows 10 Device type: desktop Device pixel ratio: 1.75 Logical CPU cores: 16 Approx. device memory: 8 GB User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.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: yes Supports highp precision: yes Vendor: Google Inc. (AMD) Renderer: ANGLE (AMD, AMD Radeon(TM) Graphics Direct3D11 vs_5_0 ps_5_0, D3D11) Major performance caveat: no Maximum texture size: 16384 Point size range: 1 to 1024 Extensions: EXT_color_buffer_float, EXT_color_buffer_half_float, EXT_disjoint_timer_query_webgl2, EXT_float_blend, EXT_texture_compression_bptc, EXT_texture_compression_rgtc, EXT_texture_filter_anisotropic, EXT_texture_norm16, KHR_parallel_shader_compile, OES_draw_buffers_indexed, OES_texture_float_linear, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_lose_context, WEBGL_multi_draw, OVR_multiview2
DiegoScirra commented 1 year ago

These issues will be fixed for the next beta.