Spreadsheet print bug: Hidden rows and columns print as blank

Steps to create:

  1. Populate rows 1 to 5 and columns A to E of a spreadsheet with anything
  2. Now hide one row (say row 3) and one column (say column C)
  3. Select rows 1 to 5 and columns A to E as Print Area
  4. Now, print to pdf
  5. Result: the hidden row and column are printed as blank row and blank column

Operating systems tested: Windows 11, Fedora Linux