After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773098 - Embedded file is extracted with the wrong extension
Embedded file is extracted with the wrong extension
Status: RESOLVED DUPLICATE of bug 772188
Product: evince
Classification: Core
Component: pdf annotations
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-17 12:42 UTC by jvromans
Modified: 2016-10-17 13:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Open in Evince and click on the MuseScore icon (top left, right icon) (87.96 KB, application/xxx)
2016-10-17 12:42 UTC, jvromans
Details

Description jvromans 2016-10-17 12:42:47 UTC
Created attachment 337846 [details]
Open in Evince and click on the MuseScore icon (top left, right icon)

Given a PDF document that has a FileAttachment annotation pointing to an embedded file "foo.mscz". 
When the annotation is activated, the file is extracted to disk and passed to the appropriate application, in this case MuseScore.
However, the file is extracted with a name like, for example "foo.mscz.WB9FPY". This causes the MuseScore program to not recognize the file.

Suggested solution: make the filename unique, and then append the extension again. In the above example the new filename would become "foo.WB9FPY.mscz".

Better still: create an unique directory and keep the name as it is: "WB9FPY/foo.mscz".

Thanks.
Comment 1 Germán Poo-Caamaño 2016-10-17 13:16:25 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 772188 ***