Bug 469096 - Barcode is opened in a different format than the one on the boarding pass
Summary: Barcode is opened in a different format than the one on the boarding pass
Status: RESOLVED NOT A BUG
Alias: None
Product: KDE Itinerary
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Android Linux
: NOR normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-28 10:20 UTC by Gergely HORVÁTH
Modified: 2023-05-04 08:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gergely HORVÁTH 2023-04-28 10:20:58 UTC
Hi,

I installed Itinerary on an Android/LineagOS phone from FDroid and imported a boarding pass from Ryanair. It has the "vertical" kind of barcode, yet after importing I only see a squeared barcode. I guess it is not a QR code, yet I'm not sure if it will work on the airport. Is it possible to somehow change the barcode type? What is your suggestion?

I just checked, I see the same on desktop, ArchLinux, itinerary version: 23.04.0-1

LineageOS 20
Fdroid
Itinerary 23.04 (2023. 04. 27.)

Thanks for looking into it,
Best regards,
Gergely
Comment 1 Volker Krause 2023-04-28 16:16:36 UTC
We try to preserve the barcode format when that information is available, but e.g. when scanning via the phone camera it's not. In that case you will get the square ("Aztec") format by default. Either way, the content is the same in both cases, the square ones just tends to work better on phones. Airports only care about the content and the usual airport scanners can read all formats, so this shouldn't be a problem.

There is currently no way to manually override the format in the UI.
Comment 2 Gergely HORVÁTH 2023-05-04 08:50:54 UTC
Thanks for the answer, it did worked well!