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

Drawing canvas source out bug #6443

Open WilsonPercival opened 1 year ago

WilsonPercival commented 1 year ago

Problem description

I already reported a similar bug https://github.com/Scirra/Construct-3-bugs/issues/5672

Now I'm facing him again. When I paste an image with blend mode source-out onto the canvas, the canvas leaves a stripe on the right and bottom. It changes depending on the screen size.

Attach a .c3p

drawing_canvas_source_out_bug_r328b.zip

Steps to reproduce

  1. Open and run the project.
  2. Resize the window.

Observed result

https://user-images.githubusercontent.com/91274932/215816926-3d0579ba-ca41-460f-885a-babedd1dc8e0.mp4

Expected result

Canvas does not leave streaks on the right and bottom.

More details

Affected browsers/platforms: Mozilla

First affected release: broke in r328b

System details

View details Platform information Product: Construct 3 r328 (beta) Browser: Firefox 109.0 Browser engine: Gecko Context: browser Operating system: Windows 7 Device type: desktop Device pixel ratio: 1 Logical CPU cores: 2 Approx. device memory: (unavailable) User agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0 Language setting: en-US Local storage Storage quota (approx): 9.8 gb Storage usage (approx): 75 mb (0.7%) Persistant storage: No Browser support notes This list contains missing features that are not required, but could improve performance or user experience if supported. Rendering multiple on-screen Layout Views is slow in Firefox due to bug 1163426 The Clipboard API is not supported. Some clipboard features may be unavailable. UI effects are disabled in settings. Determining input device capabilities is not supported. WebGL information Version string: WebGL 2.0 Numeric version: 2 Supports NPOT textures: yes Supports GPU profiling: no Supports highp precision: yes Vendor: Google Inc. (Intel) Renderer: ANGLE (Intel, Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0) Major performance caveat: no Maximum texture size: 16384 Point size range: 1 to 1024 Extensions: EXT_color_buffer_float EXT_float_blend EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic OES_draw_buffers_indexed OES_texture_float_linear OVR_multiview2 WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context 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) Ogg Opus (audio/ogg; 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 VP8 (video/webm; codecs=vp8)
JustDzhi commented 1 year ago

image i can repeat it

AshleyScirra commented 1 year ago

This is weird. Drawing Canvas' pasting code is extremely complicated so I think it is going to be tough to figure out what's going on here.