Skip to content

Improvements for barcode scanning support

Volker Krause requested to merge work/vkrause/barcode-fixes into master

See individual commits for details.

Longer term is would IMHO also be interesting to look into the following:

  • Rebase the ZXing scanning code on what is already in KF::Prison. That might need a bit of extra API for accepting images rather than video frames, but it does contain all the image format mapping and result decoding logic already.
  • Consolidate the barcode content detection and handling logic with what is in Qrca already. Opening URLs and copying to clipboard is just the most obvious usecase here, but we have a lot more apps that can potentially process specific QR code content (KMyMoney/Skrooge, Keysmith, Vakzination, Itinerary, etc). Maybe we need something similar to MIME type detection for files also for barcode content to keep this extensible.

Merge request reports