Draft: Complete redesign (!349) · Merge requests · GNOME / Document Scanner · GitLab

GitLab

4 min read Original article ↗

Draft: Complete redesign

  • Review changes

  • Download

This is a complete redesign with tons of new features and improvements plus some bug fixes.

image.png

New features with related issues (work items?):

  • implementing redesign (close #349, close #553, close #74, close #545, close #483, close #336)
  • complete redesign of the internal representation avoiding Cairo and Pixbuf, using Texture and drawing with Graphene / Snapshot instead, (fixes #311, close #97)
  • if a scanner label is duplicated, display name as subtitle (close #129)
  • using scaled down preview images (max 512 px width / height) to greatly reduce memory usage. (close #61)
  • crop page keyboard shortcut (close #466)
  • automatically keeping searching for scanners if none is found
  • using the system's accent color (instead of just blue)
  • allowing to change the default page orientation in the settings (close #457)
  • Adding alternating page orientation as option (close #519)
  • crop automatically selects content using a simple algorithm (close #56)
  • hide ruler if not selected / crop, add blue cross in center of selection (close #262)
  • display the number of pages below the window title (close #5)
  • detect empty pages using a simple algorithm (can be tuned in the preferences) (close #306)
  • keeping selecting pages, toggle hide / show deleted, undo deletion (close #248)
  • copy and split crop function (close #53, close #2, close #362)
  • paste image from clipboard as new page
  • pages on a grid view with drag & drop for moving and deleting pages, toggle to page view (close #169)
  • selecting multiple pages (to apply modifications / filters / export selection) (close #86, #38, #101)
  • deskew correction (performed automatically if selected in the preferences) (close #6)
  • color filters (convert to grayscale, 1 / 2 / 8 bit) (close #34, close #224)
  • automatic color filter (determining what color filter is best)
  • restoring original image after filtering (writing copy to autosave folder)
  • new app icon displaying a document scanner
  • instead of frame, draw grey background to highlight pages
  • Adding "Select All", "Select Even", and "Select Odd" as well as "Reverse Order" to the page menu
  • Adding "Flip page" as menu entry and keyboard shortcut. Yes, that is just twice rotate right / left, but since it is used frequently...
  • Adding "Undo" / "Redo", undoing everything but filters / deskew (UI notifies the user about that with a toast). This allows for undoing an accidental "Reorder Pages". (close #396)
  • notify user if scan finished and app not in focus
  • eraser tool in single page mode to draw black color for censoring pages (close #62)
  • Deskew tool in single page mode to deskew a page manually
  • Default dpi is now 300. There is an option to automatically reduce color depth after scanning now. Removing Text / Image (Photo) Mode and allowing for directly selecting dpi. (close #17, close #514)
  • Add timestamp to filename (close #201)
  • Adding metadata to pdf, pdf/A output optional (close #3, close #189, possibly #403)
  • Custom paper size (close #126)
  • use phyiscal dimensions for crop if scanning a new page or pasting crop on a page with different dpi (close #19)

Bug fixes:

  • custom crop not resizable after crash (fixing #575)
  • handling empty pages (fixing #574)
  • properly trimming pages after scanning with page size "Automatic" (fixing #11, fixing #75, fixing #102)
  • trimming pages with identical lines at top or bottom with page size "Automatic" (fixing #492)
  • select new page after deleting works now, error if deleting the last page (fixing #220, fixing #569)
  • properly shifting view if selection outside drawing area (fixing #39, fixing #526, close #524)
  • fixing bug with scrolling on clicking the page (close #567)
Edited by DeepKling