Closed
Bug 2061298
Opened 3 months ago
Closed 2 months ago
[GeckoView] Spike how to use GeckoView API to pass typed signature to PDF.js
Categories
(GeckoView :: PDF Viewer, task)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: olivia, Assigned: olivia)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group6])
This is still under investigation, but it is looking more likely that the UI for the signature will be handled on the Android side and passed down to PDF.js.
If that is the case, then this bug will be for designing an implementing the GeckoView API.
It is likely PDF.js will handle placement and removal of the signature. This bug will likely spawn other bugs once more is known. (e.g., turning on editing in PDF.js, configuring placement, etc.)
| Assignee | ||
Updated•3 months ago
|
Assignee: nobody → ohall
Updated•3 months ago
|
| Assignee | ||
Comment 1•2 months ago
•
|
||
This ticket was more of a spike, so I'm going to refile for the actual GeckoView implementation ticket to add this and rename it with findings.
The proposed high-level architecture is:
- [Fenix] Handles the UI for capturing a keyboard typed signature and passes it on to GeckoView public API (UI wireframe is in-tree)
- [GeckoView] Passes the signature on to PDF.js through an interface
- [PDF.js] Accepts the typed signature and handles placement, resizing, deletion, and comiting / saving the signature to the PDF
Outline of tickets relevant to this:
- Bug 2061832 - [Toolkit] Turn on pdfjs.annotationEditorMode for Nightly
- It looks like we might be able to do this dynamically through secret settings, which would be preferred over Nightly
- Bug 2068989 - [PDF.js] Begin Packaging Annotation Editor CSS
- Will probably need some follow-ups to trim it down for Android if we carry CSS for the toolbar as well, I'm not sure what all is covered
- Bug 2061836 - [UI] [PDF.js] Add asset for close (x) that matches Android style
- Might be where we trim down to required CSS more too
- Bug 2069045 - [PDF.js] Interface for adding a signature
- Likely to have more sub-tasks
- Bug 2069043 - [GeckoView] Implement GeckoView API to pass typed signature to PDF.js
- Bug 2069060 - [AC/Fenix] Wire through signature API for Fenix use
- Bug 2066157 - [UI] Signature Font
- The Android and PDF.js font need to somewhat agree (initial UI review is we probably are not going to block the MVP on sharing the exact font)
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → WORKSFORME
Summary: [GeckoView] GeckoView API to pass typed signature to PDF.js → [GeckoView] Spike how to use GeckoView API to pass typed signature to PDF.js
You need to log in
before you can comment on or make changes to this bug.
Description
•