opening attachment with a click produces unwanted popups
Submitted by Igor Liferenko
Link to original bug (#769406)
Description
Created attachment 332503 screenshot
Hello,
In pdf annotations when "Subtype" is "FileAttachment", clicking on it shows the window with text, as if "Subtype" is "Text". Please fix evince that the text window will not be shown if "Subtype" is "FileAttachment".
The screenshot is attached.
You may check yourself by compiling the following code by pdftex:
\pdfcompresslevel=0
\pdfobjcompresslevel=0
\def\attach#1{%
\immediate\pdfobj stream file {#1}%
\pdfannot width 10pt height 10pt depth 0pt {
/Subtype /FileAttachment /T (dummy)
/C [ 0.9 0.9 0.9 ]
/FS << /F (#1.txt)
/Type /Filespec
/EF << /F \the\pdflastobj\space 0 R >> >> /Name /PushPin}}
\attach{\jobname.tex}
\bye
Regards, Igor
Attachment 332503, "screenshot":
Version: 3.20.x
Edited by Germán Poo-Caamaño