Setting stroke weight to 0 by script results in 1 pt
Given a frame (graphic or text) with stroke color set to 'None' and stroke weight set to 0, the jsx command "app.selection.strokeWeight = 0" sets the weight to 1pt and stroke color to the default swatch.
Steps to reproduce:
- Create a new Document.
- Create a new Text (or Graphic) Frame.
- Set the stroke weight to 0 and color to 'None' if necessary
- Select the frame with the Selection tool.
- Start a script with a following one line:
Expected result: no change
Actual result: stroke weight set to 1pt and color to the default swatch.
Setting stroke weight to any other value behaves as expected.
InDesign CC2018 v13.0.1
Uwe Laubender commented
that's still true with InDesign 2020 version 184.108.40.206.
Thank you for posting this bug report.
( ACP )