Bug 486860 - Hungarian Railway (MÁV) ticket is too small for the controller device
Summary: Hungarian Railway (MÁV) ticket is too small for the controller device
Status: REPORTED
Alias: None
Product: KDE Itinerary
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Android Unspecified
: NOR normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-10 17:04 UTC by Gergely HORVÁTH
Modified: 2024-12-28 17:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed 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 2024-05-10 17:04:22 UTC
SUMMARY
Itinerary can parse Hungarian Railway (MÁV) tickets which is great, however the displayed barcode is too small for the controller to check with their device, I have to open the pdf. Is it possible to make it bigger? As I see it, there is a huge margin that can be reduced, consequently increase the size of the barcode.

Also the "show barcode" button on the bottom right side currently only increases the backlight (and only slightly, I don't think it maximises it). Shouldn't it increase the size somehow? I'm not sure what the intention is with that, I think I have seen other application throwing the barcode to full screen in such cases, maybe even rotating it (the MÁV barcode is a wide one, it would benefit from rotation before making it full screen). The utilization of this button is just an idea, I don't think that it is bugged, just an idea to improve.

Do you need a ticket to reproduce?

SOFTWARE/OS VERSIONS
Using it under LineageOS 21, installed from F-Droid.

In case of any question just reach out and I try to help as best as I could!
Best regards,
Gergely
Comment 1 KDamian 2024-12-28 17:23:07 UTC
I can reproduce and confirm the issue (I had the same experience with ticket controller not being able to scan the code on a MÁV train a few days ago).

Some ideas from what other programs do to mitigate:

* MÁV's app itself - ticket is bigger to begin with (I would guess ~20%), no action on pressing/holding the image.
* PKP (Polish train company's app) - ticket is also bigger to begin with (similarly around 20%), tapping it hides the UI and shows only the code with the same dimensions, on a black background.
* JakDojade (Polish public transport) - ticket is in smaller size than in Itinerary, but upon pressing it it goes to full screen and dimensions comparable to PKP/MÁV.