pablo-s / passes

Manage your digital passes
GNU General Public License v3.0
66 stars 16 forks source link

QR code tiny #48

Closed piegamesde closed 1 month ago

piegamesde commented 1 month ago

For some reason, the QR code on my device is tiny with no way to make it larger

image

Screen size: 2560 × 1600 Display scaling: 1.5 Font scaling: 1.1 Compositor: GNOME Mutter

pablo-s commented 1 month ago

Hi @piegamesde !

Have you tried clicking on the code? It is actually a button that should show you a larger version of it.

piegamesde commented 1 month ago

Yes. I get a toast error message 'NoneType' object has no attribute 'barcodes'

pablo-s commented 1 month ago

Ok.

Are you using the flatpak version? Or are you downloading the application from a repository?

What version are you using?

Would it be possible for you to send me the pass? This is probably the easiest to reproduce and fix the issue. The pass file is a zip so before sending it you can remove any sensitive data that you do not want to share.

If fine with you, you can send it to pablo@sanchezrodriguez.me

piegamesde commented 1 month ago

I am on NixOS, and can reproduce both with the Flatpak and the Nix packaging. Both version 0.9. I'll see if I can strip the pass

pablo-s commented 1 month ago

@piegamesde , are you still having this problem?

If you are still interested, please send me the pass (remember you can unzip the pass and remove any information you do not want to share).

piegamesde commented 1 month ago

Oh well, I forgot. I just tried it again, and while I don't think I succeeded at properly, I found out that clicking on the QR code works as soon as there is more than one ticket in the app.

pablo-s commented 1 month ago

Ok! No problem!

Now that you have mentioned that the problem happens with just a single pass in the list... it is very likely that the issue has been already fixed (but not released).

It is a problem with the focus of the pass widget and it can be worked around if you click on the pass (on the pass list) and then you click on the barcode button.

Anyway, thanks for spending time to report the issue!