Undo and Redo buttons don't switch from Cloudy to Solid style for Rectangle annotation

Steps to reproduce the bug:

  1. Add rectangle with the Solid style to the document
  2. Change its style to Cloudy
  3. Press Undo button (or Ctrl+Z)

Expected result:

The rectangle style will change to Solid.

Actual result:

The rectangle style remains Cloudy.

If you create rectangle with Cloudy style and then switch to Solid style, Undo button works as expected (switch from Solid to Cloudy style). But clicking the Redo button will not return Solid style.

pdf_js_express

Hello Dmit,

Thank you for contacting PDF.js Express Forums.

I’m able to reproduce this issue and I’ve submitted a report of it to our product team.

Thank you.

1 Like