tmail-flutter icon indicating copy to clipboard operation
tmail-flutter copied to clipboard

[WIP][Plan A for printing pdf] TF-2764 Add print button in PDF Viewer

Open dab246 opened this issue 1 year ago • 2 comments

Issue

#2764

Browser Supported

  • [x] Chrome
  • [x] Opera
  • [x] Firefox
  • [x] Microsoft EDGE
  • [ ] Safari

Demo

  • Chrome:

https://github.com/linagora/tmail-flutter/assets/80730648/4df95345-34f6-416a-a32c-71a11020eac9

  • Microsoft EDGE:

https://github.com/linagora/tmail-flutter/assets/80730648/faec0604-6cca-4698-9b99-6ed5035a97d6

  • Opera:

https://github.com/linagora/tmail-flutter/assets/80730648/2213b983-8fed-40c6-8cd4-50f5f7b2bae6

  • Firefox:

https://github.com/linagora/tmail-flutter/assets/80730648/1308d489-8569-4524-810a-673b0972d1ea

Note

  • The file name when printing is randomly generated from the corresponding browser.

dab246 avatar Apr 02 '24 10:04 dab246

This PR has been deployed to https://linagora.github.io/tmail-flutter/2766.

github-actions[bot] avatar Apr 02 '24 10:04 github-actions[bot]

  • keep it as plan B

Next steps:

  • please choose another way to preview pdf in dart
    • then print by browser
    • change download logic also

hoangdat avatar Apr 03 '24 02:04 hoangdat