Bug 310095 - Fill-In Form data saved for Okular but not Acrobat Reader or Evince
Summary: Fill-In Form data saved for Okular but not Acrobat Reader or Evince
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.15.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-14 15:12 UTC by Marco Parillo
Modified: 2012-11-14 20:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The starting form with no data entered (335.86 KB, application/pdf)
2012-11-14 15:13 UTC, Marco Parillo
Details
The form with some sample data entered (337.40 KB, application/pdf)
2012-11-14 15:14 UTC, Marco Parillo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Parillo 2012-11-14 15:12:47 UTC
Saved Filled-in form data seems to be saved only for Okular.

Reproducible: Always

Steps to Reproduce:
1. I open a fill-in form
2. Click Show Forms and enter data
3. Save as a new version
4. Close Okular.
5. Open the new version from Dolphin.
6. Click Show Forms. See my entered data.
7. E-mail to a Windows or Xubuntu user.
8, They try to open the .pdf using another viewer (Adobe Acrobat Reader or Evince). They do not see the data.
Actual Results:  
Entered data only visible in Okular

Expected Results:  
Entered data should be visible in any PDF viewer.
Comment 1 Marco Parillo 2012-11-14 15:13:43 UTC
Created attachment 75246 [details]
The starting form with no data entered
Comment 2 Marco Parillo 2012-11-14 15:14:27 UTC
Created attachment 75247 [details]
The form with some sample data entered
Comment 3 Albert Astals Cid 2012-11-14 15:44:51 UTC
Fabio any clue? Seems the modification did not change the graphical data?
Comment 4 Marco Parillo 2012-11-14 16:09:53 UTC
(In reply to comment #0)
> Saved Filled-in form data seems to be saved only for Okular.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. I open a fill-in form
> 2. Click Show Forms and enter data
> 3. Save as a new version
> 4. Close Okular.
> 5. Open the new version from Dolphin.
> 6. Click Show Forms. See my entered data.
> 7. E-mail to a Windows or Xubuntu user.
> 8, They try to open the .pdf using another viewer (Adobe Acrobat Reader or
> Evince). They do not see the data.

Note that Acrobat Reader and Evince are running on Windows. Document Viewer 3.6.0 using poppler/cairo (0.20.4) is running on Xubuntu.

> Actual Results:  
> Entered data only visible in Okular
> 
> Expected Results:  
> Entered data should be visible in any PDF viewer.
Comment 5 Fabio D'Urso 2012-11-14 16:38:12 UTC
Seems this is yet another XFA form with the same issue as https://bugs.freedesktop.org/show_bug.cgi?id=55978. XFA forms are not supported by Poppler yet.
Starting from Okular 0.16 + Poppler 0.22, you get a warning telling that this document contains XFA forms, which are not supported.
Comment 6 Marco Parillo 2012-11-14 16:53:20 UTC
(In reply to comment #5)
> Seems this is yet another XFA form with the same issue as
> https://bugs.freedesktop.org/show_bug.cgi?id=55978. XFA forms are not
> supported by Poppler yet.
> Starting from Okular 0.16 + Poppler 0.22, you get a warning telling that
> this document contains XFA forms, which are not supported.

So, as long as I stick with Okular, I will be fine, but XFA form data cannot be shared with users of  Acrobat Reader, Evince, and Document Viewer? What will change in the next release is that I will be warned?
Comment 7 Fabio D'Urso 2012-11-14 17:11:52 UTC
> So, as long as I stick with Okular, I will be fine, but XFA form data cannot
> be shared with users of  Acrobat Reader, Evince, and Document Viewer?
Poppler's non-XFA form support has been improved in 0.22, and because of those changes it happens that you will be able to share filled form data in this document with other poppler-based viewers, such as evince. *But* I discourage you from doing that, because when sometime in the future Poppler will start to support XFA datasets, it will probably behave like acroread currently does, i.e. it will show nothing. So my suggestion is to treat all XFA forms as unsupported, even though they appear to work.

> What will change in the next release is that I will be warned?
Correct. The exact message is "This document has XFA forms, which are currently unsupported", and it shown instead of the regular one "This document has forms. Click on the button to interact with them, or use View -> Show Forms.".