<table><tr><td style="">aheinecke added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D10048" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>I had another look at this and I could not get it to work with refreshPixmaps and I don't understand how the FormWidget should be updated if the text of the underlying FormField changes. The only setTexts I see in the FormWidgets are in the Ctor or in the "slotHandleTextChangedByUndoRedo" I'm probably overlooking something :-/</p>

<p>So I tried it out and added another Field "JSSum" to the example PDF I'm using <a href="https://phabricator.kde.org/F5696675" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F5696675: simple_calculate.pdf</a> which had a calculate script that modified a field value through a JavaScript assignment and it also did not work there: <a href="https://phabricator.kde.org/F5696683" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F5696683: calculate-not-working.gif</a> So maybe there was a regression at some point?</p>

<p>Could you attach a sample PDF where this is working? Sorry I don't want to create additional work for you but I did not find one by searching for related bugs in BKO.</p>

<p>The Versions I tried were unmodified master (<a href="https://phabricator.kde.org/R223:e06883d102f06bf99ffcf29845fcc4e3e0622d62" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">e06883d10</a>) and Okular 0.26.1 which I have from my debian distro.</p>

<p>To be clear:<br />
I'm still planning to make changes to this revision but I first want to figure out if there is an already working update mechanism between FormField and FormWidget that I have overlooked or if the one that was in place needs a fix.</p>

<p>Thanks,<br />
Andre</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10048" rel="noreferrer">https://phabricator.kde.org/D10048</a></div></div><br /><div><strong>To: </strong>aheinecke, Okular<br /><strong>Cc: </strong>aacid, michaelweghorn, ngraham<br /></div>