First name could be distinguishable from family name

Bug #1762704 reported by Alberto Salvia Novella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QR Tools
Confirmed
Wishlist
Unassigned

Bug Description

HOW TO REPRODUCE:
1. Using QTQR create a contact QR named "Alberto Salvia Novella".
2. Scan the code with a mobile.

RESULT:
The mobile interprets the full name as "Novella, Alberto Salvia", instead of "Salvia Novella, Alberto".

Revision history for this message
Ramiro Algozino (algozino) wrote :

I can't reproduce the error using my mobile phone. May be you can attach the generated QR code and I will check.

Changed in qr-tools:
status: New → Incomplete
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :
Changed in qr-tools:
assignee: nobody → Alberto Salvia Novella (es20490446e)
status: Incomplete → In Progress
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Generated raw text is:
MECARD:N:Alberto Salvia Novella;TEL:;EMAIL:<email address hidden>;NOTE:;BDAY:;ADR:;URL:;

Where it should be:
MECARD:N:Salvia Novella,Alberto;EMAIL:<email address hidden>;

Basically there should be two fields, one for the first name and one for the last name. Also the empty fields shall not be included.

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

I was able to reproduce the error on an iPhone. I'm unable to test on Android, as nobody home has one. I don't own any phone myself.

Changed in qr-tools:
assignee: Alberto Salvia Novella (es20490446e) → nobody
status: In Progress → New
Revision history for this message
Ramiro Algozino (algozino) wrote : Re: [Bug 1762704] Re: First name could be distinguishable from family name

This is the info I get decoding in Android with Moto Camera app:

Nombre: Alberto Salvia Novella
Correo: <email address hidden>

El mié., 18 de abr. de 2018 10:01, Alberto Salvia Novella <
<email address hidden>> escribió:

> I was able to reproduce the error on an iPhone. I'm unable to test on
> Android, as nobody home has one. I don't own any phone myself.
>
> ** Changed in: qr-tools
> Assignee: Alberto Salvia Novella (es20490446e) => (unassigned)
>
> ** Changed in: qr-tools
> Status: In Progress => New
>
> --
> You received this bug notification because you are a member of QR Tools
> Team, which is subscribed to QR Tools.
> https://bugs.launchpad.net/bugs/1762704
>
> Title:
> First name could be distinguishable from family name
>
> Status in QR Tools:
> New
>
> Bug description:
> HOW TO REPRODUCE:
> 1. Using QTQR create a contact QR named "Alberto Salvia Novella".
> 2. Scan the code with a mobile.
>
> RESULT:
> The mobile interprets the full name as "Novella, Alberto Salvia",
> instead of "Salvia Novella, Alberto".
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qr-tools/+bug/1762704/+subscriptions
>

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

@ Ramiro

1. Install an app that supports adding the scanned contact.
2. Scan the QR, and add the contact.
3. In your contact list, see what the first name and the surname are.

Revision history for this message
Ramiro Algozino (algozino) wrote :

Seems ok to me

El mié., 18 de abr. de 2018 16:00, Alberto Salvia Novella <
<email address hidden>> escribió:

> @ Ramiro
>
> 1. Install an app that supports adding the scanned contact.
> 2. Scan the QR, and add the contact.
> 3. In your contact list, see what the first name and the surname are.
>
> --
> You received this bug notification because you are a member of QR Tools
> Team, which is subscribed to QR Tools.
> https://bugs.launchpad.net/bugs/1762704
>
> Title:
> First name could be distinguishable from family name
>
> Status in QR Tools:
> New
>
> Bug description:
> HOW TO REPRODUCE:
> 1. Using QTQR create a contact QR named "Alberto Salvia Novella".
> 2. Scan the code with a mobile.
>
> RESULT:
> The mobile interprets the full name as "Novella, Alberto Salvia",
> instead of "Salvia Novella, Alberto".
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qr-tools/+bug/1762704/+subscriptions
>

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Damm, but that's the screen before adding! Not the contact itself, after adding.

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Si quieres te lo digo en Español, a ver si me comprendes :P

Revision history for this message
Ramiro Algozino (algozino) wrote :

Alberto

Si le doy aceptar queda igual. Adjunto captura del contacto después de
haber dado aceptar ya agendado en el teléfono.

Lo que estás experimentando debe ser un comportamiento de iOS/iPhone.

No es un error de QtQR

El mié., 18 de abr. de 2018 18:13, Alberto Salvia Novella <
<email address hidden>> escribió:

> Damm, but that's the screen before adding! Not the contact itself, after
> adding.
>
> --
> You received this bug notification because you are a member of QR Tools
> Team, which is subscribed to QR Tools.
> https://bugs.launchpad.net/bugs/1762704
>
> Title:
> First name could be distinguishable from family name
>
> Status in QR Tools:
> New
>
> Bug description:
> HOW TO REPRODUCE:
> 1. Using QTQR create a contact QR named "Alberto Salvia Novella".
> 2. Scan the code with a mobile.
>
> RESULT:
> The mobile interprets the full name as "Novella, Alberto Salvia",
> instead of "Salvia Novella, Alberto".
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qr-tools/+bug/1762704/+subscriptions
>

Revision history for this message
Ramiro Algozino (algozino) wrote :

Olvidé el adjunto, por supuesto xD

El mié., 18 de abr. de 2018 20:43, Ramiro Algozino <email address hidden>
escribió:

> Alberto
>
> Si le doy aceptar queda igual. Adjunto captura del contacto después de
> haber dado aceptar ya agendado en el teléfono.
>
> Lo que estás experimentando debe ser un comportamiento de iOS/iPhone.
>
> No es un error de QtQR
>
>
> El mié., 18 de abr. de 2018 18:13, Alberto Salvia Novella <
> <email address hidden>> escribió:
>
>> Damm, but that's the screen before adding! Not the contact itself, after
>> adding.
>>
>> --
>> You received this bug notification because you are a member of QR Tools
>> Team, which is subscribed to QR Tools.
>> https://bugs.launchpad.net/bugs/1762704
>>
>> Title:
>> First name could be distinguishable from family name
>>
>> Status in QR Tools:
>> New
>>
>> Bug description:
>> HOW TO REPRODUCE:
>> 1. Using QTQR create a contact QR named "Alberto Salvia Novella".
>> 2. Scan the code with a mobile.
>>
>> RESULT:
>> The mobile interprets the full name as "Novella, Alberto Salvia",
>> instead of "Salvia Novella, Alberto".
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/qr-tools/+bug/1762704/+subscriptions
>>
>

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

¿Cómo se ve el contacto en la aplicación "Contacts"?
http://www.androidguys.com/wp-content/uploads/2017/08/Google-Contacts.jpg

Además mira la diferencia entre el campo "name" de los QR generados:
N:Alberto Salvia Novella;
N:Salvia Novella,Alberto;

En uno hay una coma, en el otro no. Eso quiere decir que uno distingue explícitamente el primer nombre del apellido, mientras que en el otro deja a la aplicación que infiera cuál es cual.

En definitiva, aunque Android pudiera distinguirlos bien, es obvio que no va a funcionar siempre. Si es que funciona en alguna ocasión.

Revision history for this message
Ramiro Algozino (algozino) wrote :

Alberto,

La coma no se de dónde sale. Es algo que agrega iOS.
El QR con QtQR se genera siempre igual, sin coma. Salvo que la agregues
manualmente. El campo nombre es un único campo de texto y QtQR no le hace
ningún procesamiento.

En Android se agrega tal cual figura en el QR:

El 19 de abril de 2018, 08:27, Alberto Salvia Novella<email address hidden>
escribió:

> ¿Cómo se ve el contacto en la aplicación "Contacts"?
> http://www.androidguys.com/wp-content/uploads/2017/08/Google-Contacts.jpg
>
> Además mira la diferencia entre el campo "name" de los QR generados:
> N:Alberto Salvia Novella;
> N:Salvia Novella,Alberto;
>
> En uno hay una coma, en el otro no. Eso quiere decir que uno distingue
> explícitamente el primer nombre del apellido, mientras que en el otro
> deja a la aplicación que infiera cuál es cual.
>
> En definitiva, aunque Android pudiera distinguirlos bien, es obvio que
> no va a funcionar siempre. Si es que funciona en alguna ocasión.
>
> --
> You received this bug notification because you are a member of QR Tools
> Team, which is subscribed to QR Tools.
> https://bugs.launchpad.net/bugs/1762704
>
> Title:
> First name could be distinguishable from family name
>
> Status in QR Tools:
> New
>
> Bug description:
> HOW TO REPRODUCE:
> 1. Using QTQR create a contact QR named "Alberto Salvia Novella".
> 2. Scan the code with a mobile.
>
> RESULT:
> The mobile interprets the full name as "Novella, Alberto Salvia",
> instead of "Salvia Novella, Alberto".
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qr-tools/+bug/1762704/+subscriptions
>

--
Ramiro Algozino
http://algozino.com.ar/

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

No has entendido lo que he querido decir. Te lo enseño en este vídeo:
https://youtu.be/_Ym90BbkNCM

Revision history for this message
Ramiro Algozino (algozino) wrote :

Hola Alberto,

QtQR sigue la especificación de NTT Docomo:
https://web.archive.org/web/20160304025131/https://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/function/application/addressbook/index.html

No es un bug de la aplicación, ya que la especificación es clara y hay un
único campo "N" para el nombre. Tu pedido de separar los dos campos, lo
tomo como sugerencia de mejora y veré de implementarlo. Mientras tanto nada
impide que en el único campo de QtQR separes tu(s) apellido(s) de tu(s)
nombre(s) con una coma. Como bien dices en el final de tu video los nombres
son muy dependientes de cada cultura, en occidente estamos acostumbrados a
cierto formato, y en el resto del mundo pueden ser completamente distinto,
por lo que lo más práctico es mantener un único campo al menos por el
momento; aunque lo voy a pensar un poco y veré si implemento el cambio.

Saludos!

2018-04-19 13:09 GMT-03:00 Alberto Salvia Novella <email address hidden>:

> No has entendido lo que he querido decir. Te lo enseño en este vídeo:
> https://youtu.be/_Ym90BbkNCM
>
> --
> You received this bug notification because you are a member of QR Tools
> Team, which is subscribed to QR Tools.
> https://bugs.launchpad.net/bugs/1762704
>
> Title:
> First name could be distinguishable from family name
>
> Status in QR Tools:
> New
>
> Bug description:
> HOW TO REPRODUCE:
> 1. Using QTQR create a contact QR named "Alberto Salvia Novella".
> 2. Scan the code with a mobile.
>
> RESULT:
> The mobile interprets the full name as "Novella, Alberto Salvia",
> instead of "Salvia Novella, Alberto".
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qr-tools/+bug/1762704/+subscriptions
>

--
Ramiro Algozino
http://algozino.com.ar/

Changed in qr-tools:
status: New → Opinion
importance: Undecided → Wishlist
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

@ Ramiro

Citando la especificación que me indicas:

"Cuando un campo está dividido por una coma (,), la primera mitad se trata como el apellido y la segunda mitad se trata como el primer nombre."

Ciao!

Revision history for this message
Ramiro Algozino (algozino) wrote :

Alberto,

Nada impide que le pongas la coma en el campo para separar el apellido.

Sentite libre de enviar un parche y con gusto lo aplico.

Arrivederci

El lun., 23 de abr. de 2018 14:31, Alberto Salvia Novella <
<email address hidden>> escribió:

> @ Ramiro
>
> Citando la especificación que me indicas:
>
> "Cuando un campo está dividido por una coma (,), la primera mitad se
> trata como el apellido y la segunda mitad se trata como el primer
> nombre."
>
> Ciao!
>
> --
> You received this bug notification because you are a member of QR Tools
> Team, which is subscribed to QR Tools.
> https://bugs.launchpad.net/bugs/1762704
>
> Title:
> First name could be distinguishable from family name
>
> Status in QR Tools:
> Opinion
>
> Bug description:
> HOW TO REPRODUCE:
> 1. Using QTQR create a contact QR named "Alberto Salvia Novella".
> 2. Scan the code with a mobile.
>
> RESULT:
> The mobile interprets the full name as "Novella, Alberto Salvia",
> instead of "Salvia Novella, Alberto".
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qr-tools/+bug/1762704/+subscriptions
>

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

No tientes al volcán, porque soy como Pompella! 🌋

Reto aceptado.

Changed in qr-tools:
assignee: nobody → Alberto Salvia Novella (es20490446e)
status: Opinion → In Progress
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Since:
- Now the app also crashes while scanning QR with the webcam, and has been like that for a while.
- The app seems unmaintained.

I interpret that the continuation of the app is unsure, so I have decided not to work on this at least for the moment.

Nevertheless here we have a backup of qtqr.py with many improvements:
https://bin.privacytools.io/?0a658d265479d566#JUQdMgLOhcUiUE+ym7pxAoyHoCsRBZ0kLc1C+KJGc/Q=

Changed in qr-tools:
status: In Progress → Confirmed
assignee: Alberto Salvia Novella (es20490446e) → nobody
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :
Revision history for this message
Ramiro Algozino (algozino) wrote :

Hello Alberto,

I've never got the patch you were going to send. I would happily applyed it. There's only one report of webcam decoding not working, and affects one person that uses Debian according to launchpad. Have you reported the issue or added additional information?

Also, what are the improvements you've made? why haven't you send them? A quick diff doesn't show any additional features and I would say that your version of qtqr.py is outdated. QtQR has been ported to Qt5 and your version doesn't seem to be compatible.

Please don't say things that are simply not true.

You are free of working or not on the project, and dedicating your time to it as much as I am.

I've been maintaining this software for years in my free time and I have been always open to suggestions, a lot of them have been implemented even though I haven't been using Ubuntu in years, just to give something back to the community.

Best regards,

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

I will consider that.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.