Skip to content

BUG: Adobe Acrobat 'Would you like to save this file?'#970

Merged
MartinThoma merged 1 commit intomainfrom
issue-963-forms
Jun 11, 2022
Merged

BUG: Adobe Acrobat 'Would you like to save this file?'#970
MartinThoma merged 1 commit intomainfrom
issue-963-forms

Conversation

@MartinThoma
Copy link
Copy Markdown
Member

@MartinThoma MartinThoma commented Jun 10, 2022

Issue: When creating files with the current PpdfWriter,
Adobe Acrobat asks 'would you like to save this file'
when attempting to close it - although no changes were made.

Fix: Remove 'self.set_need_appearances_writer()' from writers
__init__ function

Closes #963

Issue: When creating files with the current PpdfWriter,
Adobe Acrobat asks 'would you like to save this file'
when attempting to close it - although no changes were made.

Fix: Remove 'self.set_need_appearances_writer()' from writers
     __init__ function

Closes# 963
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 10, 2022

Codecov Report

Merging #970 (993b146) into main (336d659) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #970   +/-   ##
=======================================
  Coverage   84.26%   84.26%           
=======================================
  Files          18       18           
  Lines        4117     4117           
  Branches      868      868           
=======================================
  Hits         3469     3469           
  Misses        465      465           
  Partials      183      183           
Impacted Files Coverage Δ
PyPDF2/_writer.py 88.16% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 336d659...993b146. Read the comment docs.

@MartinThoma MartinThoma marked this pull request as ready for review June 10, 2022 21:13
@pubpub-zz
Copy link
Copy Markdown
Collaborator

just to ease research. Original change and discussion of the change
The issue comes from #412 (refer to discussion #355)

@MartinThoma MartinThoma merged commit df8f121 into main Jun 11, 2022
@MartinThoma MartinThoma deleted the issue-963-forms branch June 11, 2022 12:22
MartinThoma added a commit that referenced this pull request Jun 12, 2022
New Features (ENH):
-  Add support for pathlib as input for PdfReader (#979)

Performance Improvements (PI):
-  Optimize read_next_end_line (#646)

Bug Fixes (BUG):
-  Adobe Acrobat \'Would you like to save this file?\' (#970)

Documentation (DOC):
-  Notes on annotations (#982)
-  Who uses PyPDF2
-  intendet \xe2\x9e\x94 in robustness page  (#958)

Maintenance (MAINT):
-  pre-commit / requirements.txt updates (#977)
-  Mark read_next_end_line as deprecated (#965)
-  Export `PageObject` in PyPDF2 root (#960)

Testing (TST):
-  Add MCVE of issue #416 (#980)
-  FlateDecode.decode decodeParms (#964)
-  Xmp module (#962)
-  utils.paeth_predictor (#959)

Code Style (STY):
-  Use more tuples and list/dict comprehensions (#976)

Full Changelog: 2.1.0...2.1.1
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.

Problem with closing PDF file saved by PyPDF2

2 participants