D10048: [PATCH 2/4] Communicate calculate text change to formwidgets

Andre Heinecke noreply at phabricator.kde.org
Tue Feb 6 08:49:49 UTC 2018


aheinecke planned changes to this revision.
aheinecke added a comment.


  Mh for me this did not work when just setting the text on a field. Looking at JSField::fieldSetValue I probably missed the refreshPixmaps call after setting the value.
  
  One difference here is that we change the Field through the Event object and not in pure JavaScript. But yes both ways should use the same mechanism. I look into it some more. Maybe some general "field changed through script" mechanism would be better to support stuff like changing visibility or ReadOnly state of fields. I'm not sure if the "refreshPixmaps" would already make this possible.

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D10048

To: aheinecke, #okular
Cc: aacid, michaelweghorn, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20180206/4d095104/attachment.html>


More information about the Okular-devel mailing list