Skip to content

Electron 2.0.x: characters render duplicated when opacity is used in editor #52196

@ggovan

Description

@ggovan

Issue Type: Bug

In a JS or TS file create an unused import import * as unused from 'somewhere'

The editor then reads

import **asaunused from 'somewhere';

The text when copy and pasted is correct. The DOM looks correct. removing the opacity of the &nbsp elements fixes the issue.

image

VS Code version: Code - Insiders 1.25.0-insider (c51cf86, 2018-06-18T08:50:30.859Z)
OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz (4 x 3392)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.91GB (5.10GB free)
Process Argv C:\Program Files\Microsoft VS Code Insiders\Code - Insiders.exe --disable-extensions
Screen Reader no
VM 0%
Extensions disabled

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugelectronIssues and items related to Electronelectron-blockerIssues in next update of Electron preventing updateverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions