# Attachment preview does not show PDF documents in Windows client 7.0

**URL:** https://discuss.tryton.org/t/attachment-preview-does-not-show-pdf-documents-in-windows-client-7-0/7057
**Category:** User
**Tags:** tryton
**Created:** [March 6, 2024, 12:58pm UTC](https://discuss.tryton.org/t/attachment-preview-does-not-show-pdf-documents-in-windows-client-7-0/7057 "2024-03-06T12:58:32Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [March 14, 2024, 8:36am UTC](https://discuss.tryton.org/t/attachment-preview-does-not-show-pdf-documents-in-windows-client-7-0/7057/5 "2024-03-14T08:36:13Z")

</div>

Here is the proposal to update the package:

> <https://github.com/msys2/MINGW-packages/pull/20331>
>
> Hi, 
> 
> I took the time to update evince package to 45.0 version. Note that this… is my first PR in this repository, so probably I'm missed something in the process. Let me know in such case so I can fix it. 
> 
> In the update process I removed all patches that seemed outdated and just keep the ones need to make the code compyle on msys2. For that I did:
> 
> \- Remove some parts of the code that used the \`fnctl\` function which is not available on the build. For that I updated the current patch that already had some issue. 
> \- Remove the \`pdf\_document\_load\_fn\` function which caused a compiling error. 
> 
> This allowed me to build the package.

The CI build is currently failing, until this is fixed upstream if anyone wants to try building tryton using the new evince feature just let me now so I can share the build package and the steps to install it manually.

Cheers!

---

_[View the full topic](https://discuss.tryton.org/t/attachment-preview-does-not-show-pdf-documents-in-windows-client-7-0/7057)._
