Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

VCard Import from QR-Code Crashes when ADR is Set

Aperta
#548 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug needs triage
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.6.0

Affected Android/Custom ROM version

Android 16

Affected device model

Samsung Galaxy S24 Ultra

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug
  1. Open the following PDF

test.pdf

  1. Scan the QR-Code on your Android mobile device
  2. Open in Contacts
  3. Contact Crashes, Address is not imported
ignoreImageMinify

The QR-Code contains a VCard, generated from LaTeX as follows:

<Reading QR code for "BEGIN:VCARD^^M
VERSION:4.0^^M
N:Test;Test;;;^^M
FN:Test Test^^M
ADR:;;Technoparkstrasse 2;Winterthur;ZH;8406;Switzerland^^M
END:VCARD^^M
" at level 11-H from aux file.>

Result: If the ADR field is absent, the contact is imported, as soon as there is an ADR field, Contacts crashes. Regardless what other fields are defined and regardless on what is in the ADR field.

The visiting card is generated with xeLaTeX usig my template: businesscard-qrcode

\documentclass{businesscard-qrcode}

\begin{document}
\givennames{Test}
\familynames{Test}
\type{work}
\street{Technoparkstrasse\ 2}
\city{Winterthur}
\region{ZH}
\zip{8406}
\country{Switzerland}

\drawcard
\end{document}
Expected behavior

VCard from QR-Code is imported in Contacts.

Actual behavior

Contacts crashes when there is an ADR line.

Sometimes I get a crash report dialog, but most often it just does not open and switches back to the QR scanner.

Screenshots/Screen recordings

No response

Additional information

No response

Lingua principale
Kotlin
Stelle
917
Fork
73
Merge medio
5g 8h
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FossifyOrg/Contacts

Tutte le issue di FossifyOrg/Contacts

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.