Hi,

I cannot get the signature working either, but almost certain it did work in February this year, as I have done some with MKIV.

From the test suite:

fields-007.tex
\nopdfcompression
\setupinteraction[state=start]
\starttext
\definefield[x][signature]
\field[x]
\stoptext

Using the https://live.contextgarden.net/ with (LuaTeX 2.06 20200630 + ConTeXt MkIV 2020.06.30 17:30) looks good, but evince does not display the field.

Adam

On Fri, Apr 23, 2021 at 8:52 PM Leonard Janis Robert König <ljrk@ljrk.org> wrote:
Hello,

I currently try to build a document with AcroForms, e.g., the examples
from [1] also linked in the Wiki.  The most recent example is in the
form/ subdirectory and dated mid 2020.  However, when building the
file(s) with my ConTeXt distribution the file created is broken, in
comparison to the PDF checked in into the Git.

The more obvious difference is that the PDF in the repository can be
filled in the Firefox 89 beta, while the other PDF doesn't even display
the fields as forms.  Running pdfinfo also yields:

> Syntax Error: Form field child is not a dictionary

I suspect that due to some breakage the forms children aren't set in
the AcroForms dictionary anymore?  My ConTeXt versions are:

# ArchLinux Repos

context --version
mtx-context     | ConTeXt Process Management 1.04
mtx-context     |
mtx-context     | main context file: /usr/share/texmf-
dist/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2021.03.05 19:11
mtx-context     | main context file: /usr/share/texmf-
dist/tex/context/base/mkxl/context.mkxl
mtx-context     | current version: 2021.03.05 19:11

# Debian Buster Repos
mtx-context     | ConTeXt Process Management 1.02
mtx-context     |
mtx-context     | main context file:
/usr/share/texmf/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2018.04.04 00:51

# Docker Image: Current

mtx-context     | ConTeXt Process Management 1.03
mtx-context     |
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2020.01.30 14:13
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkxl
mtx-context     | current version: 2020.01.30 14:13

# Docker Image: Beta
mtx-context     | ConTeXt Process Management 1.03
mtx-context     |
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2020.01.30 14:13
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkxl
mtx-context     | current version: 2020.01.30 14:13

# Docker Image: LMTX
mtx-context     | ConTeXt Process Management 1.04
mtx-context     |
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2021.04.14 22:58
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkxl/context.mkxl
mtx-context     | current version: 2021.04.14 22:58

# Docker Image: Beta from 2019-09
mtx-context     | ConTeXt Process Management 1.03
mtx-context     |
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2019.09.10 20:03
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkxl
mtx-context     | current version: 2019.09.10 20:03

The ConTeXt version of the checked in file on GitHub is (according to
pdfinfo):

> Creator:        LuaTeX 1.10 7138 + ConTeXt MkIV 2019.08.20 17:20
> Producer:       macOS Version 10.14.6 (Build 18G5033) Quartz
PDFContext

I also remebered another time were I toyed around with it and indeed
that PDF also had broken form field children:


> Creator:        LuaTeX 1.12 7306 + ConTeXt MkIV 2020.03.10 14:44
> Producer:       LuaTeX-1.12

A broken version that I built locally using the :current IslandOfTeX
[2] can be found at [3].

The version difference between the broken and not-broken PDFs hints
that the breakage occured between 2019.08.20 and 2019.09.10-beta, while
the Debian breackage might be due to a backport(?)

Alternatively, this could just be a mistake on my side?

Cheers
Leo König


[1]: https://github.com/fiee/ConTeXt
[2]: https://gitlab.com/islandoftex/images/context/
[3]:
https://mega.nz/file/ThcghTqb#JqRCSsd59bBbMgTMr3ahaPdU4LPlZd0cpA3ZFBJLJ3A



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________