Skip to content

Desktop: Fix PDF export fails with error - #11390

Merged
laurent22 merged 1 commit into
laurent22:devfrom
personalizedrefrigerator:pr/desktop/fix-export-pdf
Nov 14, 2024
Merged

Desktop: Fix PDF export fails with error#11390
laurent22 merged 1 commit into
laurent22:devfrom
personalizedrefrigerator:pr/desktop/fix-export-pdf

Conversation

@personalizedrefrigerator

Copy link
Copy Markdown
Collaborator

Summary

This pull request fixes a regression in v3.2.1 — the exportPdf command fails with an error. The issue was originally reported on the Joplin forum.

The bug was introduced in #11181, when printTo_ was renamed to printTo, as it was no longer a private method of a class.

Testing plan

  1. Open a note.
  2. Open the go to anything dialog.
  3. Run :exportPdf.
  4. Save the PDF to a file.
  5. Attach the PDF to a note.
  6. Verify that it renders.

This has been tested successfully on Fedora 41.

@personalizedrefrigerator personalizedrefrigerator changed the title Desktop: Fix exportPdf command Desktop: Fix PDF export fails with error Nov 14, 2024
@laurent22
laurent22 merged commit 9a5842c into laurent22:dev Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants