Skip to content

improve desktop mode and swipe UX + use the recommended pdf.js canvas rendering API - #713

Open
inthewaves wants to merge 8 commits into
GrapheneOS:mainfrom
inthewaves:keyboard-zoom
Open

improve desktop mode and swipe UX + use the recommended pdf.js canvas rendering API #713
inthewaves wants to merge 8 commits into
GrapheneOS:mainfrom
inthewaves:keyboard-zoom

Conversation

@inthewaves

@inthewaves inthewaves commented Aug 2, 2026

Copy link
Copy Markdown
Member
  • CTRL + mouse wheel zooming
  • Arrow keys for changing pages
  • Haptic feedback for swiping to change pages
  • Prevent mouse swiping from changing pages
  • Use the recommended pdf.js canvas rendering API12 to avoid black rectangles when rendering PDFs in WebView desktop mode. canvasContext is currently only being provided in pdf.js API for backwards compatibility

Footnotes

  1. https://github.com/mozilla/pdf.js/blob/v6.2.108/src/display/api.js#L1205-L1214

  2. https://github.com/mozilla/pdf.js/blob/v6.2.108/web/pdf_page_view.js#L1175-L1180

@inthewaves
inthewaves requested a review from RankoR August 2, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant