Can't input the . dot (.) or coma (,) like 10.5

Bug #2058402 reported by Frederic Thill
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mileage
Fix Released
High
Mick21367

Bug Description

Can't input like 10.5 in any of the lines and if I want to put it right I need to go into edit what is not funny! Calculations seams right

I let you know as soon you have done the update.

Kind regards

Phone model Volla Phone X
https://devices.ubuntu-touch.io/device/yggdrasilx/

Revision history for this message
Mick21367 (aurora-l) wrote :

Apologies, I didn't see this bug until now.
I can't currently recreate this issue on my own devices, unfortunately. Can you provide a little more information, please?
What version of UT are you running?
What fields does this occur on? All of them?
How long have you been using the app? Was it installed from the open store app, or some other way?

I'll be doing an update of the app from Xenial to Focal in the next few days, once that comes through can you let me know if the bug persists?

Mick21367 (aurora-l)
Changed in touchmpg:
assignee: nobody → Mick21367 (aurora-l)
Revision history for this message
Frederic Thill (kellimtai) wrote : Re: [Bug 2058402] Re: Can't input the . dot (.) or coma (,) like 10.5

Hi nice for the replay

I use ubuntu touch 16.04 OTA-25 OS

All the fields are limited on whole number without coma or point.
I download the app from open app store on Ubuntu itself.
If I want to insert a coma or point I need to go into edit and there for an unknown reason some dates are disappearing so it will follow of an calculation error for the consumption.
Is it also possible to get a field used on the Odometer?

https://blog.droom.in/what-is-odometer#:~:text=Odometer%20and%20mileage%20are%20two,to%20find%20out%20the%20mileage.

If you need more informations let me know.

Kind regards

Thill Frédéric
ccsp.space

Envoyé avec la messagerie sécurisée Proton Mail.

Le vendredi 5 avril 2024 à 22:34, Mick21367 <email address hidden> a écrit :

> Apologies, I didn't see this bug until now.
> I can't currently recreate this issue on my own devices, unfortunately. Can you provide a little more information, please?
> What version of UT are you running?
> What fields does this occur on? All of them?
> How long have you been using the app? Was it installed from the open store app, or some other way?
>
> I'll be doing an update of the app from Xenial to Focal in the next few
> days, once that comes through can you let me know if the bug persists?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2058402
>
> Title:
> Can't input the . dot (.) or coma (,) like 10.5
>
> Status in mileage:
> New
>
> Bug description:
> Can't input like 10.5 in any of the lines and if I want to put it
> right I need to go into edit what is not funny! Calculations seams
> right
>
> I let you know as soon you have done the update.
>
> Kind regards
>
> Phone model Volla Phone X
> https://devices.ubuntu-touch.io/device/yggdrasilx/
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/touchmpg/+bug/2058402/+subscriptions

Revision history for this message
Mick21367 (aurora-l) wrote :

Thanks - very strange behaviour. I'm a bit baffled, to be honest, as I still cannot reproduce the bug.
A few more questions, if that's OK.

What locale is your phone set to?

What units is the app set to (miles/km, litres/gallons)?

Has the app always done this, or is this new behaviour? How long have you been using the app?

In my testing (locale set to UK, after to ES), the numeric keyboard only has a . but you mentioned a , as well? How do you access the ,?

Sorry about the goofy way the dates disappear when you edit an entry - a workaround seems to be to change the date in the selector and change it back, though I'll be trying to look at the code in the next few days to see if it can be improved.

I'd deliberately not gone down the route of having an odometer field for two reasons -
1. simplicity - this was one of the apps I wrote to learn about programming qml, so I wanted to keep it as basic as functionality would allow
2. Most cars have a trip counter these days anyway, which is what I've assumed most people were using.
It's an interesting thought, though, so I'll probably have a look at implementing a way of recording odometer readings in the longer term.

Revision history for this message
Frederic Thill (kellimtai) wrote :
Download full text (3.5 KiB)

Hi, yes of course

What locale is your phone set to?
French

What units is the app set to (miles/km, litres/gallons)?
KM / Liters

Has the app always done this, or is this new behaviour? How long have
you been using the app?
I download the app since I have my new car so from 4 of March nearly a month

In my testing (locale set to UK, after to ES), the numeric keyboard only
has a . but you mentioned a , as well? How do you access the ,?
I can be . or , if there is a . it is fine the problem is when I introduce . it does not appeared in the introduced number like 10.5 the . does not show up so it will be 105!

Sorry about the goofy way the dates disappear when you edit an entry - a
workaround seems to be to change the date in the selector and change it
back, though I'll be trying to look at the code in the next few days to
see if it can be improved.
Alright

I'd deliberately not gone down the route of having an odometer field for two reasons -
1. simplicity - this was one of the apps I wrote to learn about programming qml, so I wanted to keep it as basic as functionality would allow
2. Most cars have a trip counter these days anyway, which is what I've assumed most people were using.
By the calculation of new distance -old distance you have the trip and it is more accrued then you do not forget to reset it...

It's an interesting thought, though, so I'll probably have a look at implementing a way of recording odometer readings in the longer term.
Yes the odometer is much easier to use then the other.

Have a nice day

Greetings

Thill Frédéric
ccsp.space

Envoyé avec la messagerie sécurisée Proton Mail.

Le dimanche 7 avril 2024 à 10:11, Mick21367 <email address hidden> a écrit :

> Thanks - very strange behaviour. I'm a bit baffled, to be honest, as I still cannot reproduce the bug.
> A few more questions, if that's OK.
>
> What locale is your phone set to?
>
> What units is the app set to (miles/km, litres/gallons)?
>
> Has the app always done this, or is this new behaviour? How long have
> you been using the app?
>
> In my testing (locale set to UK, after to ES), the numeric keyboard only
> has a . but you mentioned a , as well? How do you access the ,?
>
> Sorry about the goofy way the dates disappear when you edit an entry - a
> workaround seems to be to change the date in the selector and change it
> back, though I'll be trying to look at the code in the next few days to
> see if it can be improved.
>
> I'd deliberately not gone down the route of having an odometer field for two reasons -
> 1. simplicity - this was one of the apps I wrote to learn about programming qml, so I wanted to keep it as basic as functionality would allow
> 2. Most cars have a trip counter these days anyway, which is what I've assumed most people were using.
> It's an interesting thought, though, so I'll probably have a look at implementing a way of recording odometer readings in the longer term.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2058402
>
> Title:
> Can't input the . dot (.) or coma (,) like 10.5
>
> Status in mileage:
> New
>
> Bug description:
> Can't ...

Read more...

Revision history for this message
Mick21367 (aurora-l) wrote :

Thanks for the information, it's been a great help. I've now been able to reproduce this bug using French locale. Will need to see why this is happening and check other locales.

Changed in touchmpg:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Mick21367 (aurora-l) wrote :

I *think* I've found the issue (it appears to be related to validator: DoubleValidator {notation: DoubleValidator.StandardNotation} not liking the fact that the numeric keyboard doesn't have the correct separator for some locales - it only appears to show the . when some locales require ,
Disabling the numeric keyboard (i.e. allowing the full keyboard to appear) allowed me to enter e.g. 10,5 but not 10.5 when locale set to FR.
I've commented out the DoubleValidator, and the app now appears to work as expected with the numeric keyboard (though it will only show the . as the decimal separator).
The attachment is the click file for your version (I hope!). Can you install it and let me know if it works please? If it is OK, I'll upload this and the Focal version to the Open-Store.

Revision history for this message
Frederic Thill (kellimtai) wrote :

Hi
I couldn't install the click link
I got an error
I put the pics of it.
It seans there os a issue with the click format.

Thill Frédéric
ccsp.space

Envoyé avec la messagerie sécurisée Proton Mail.

Le dimanche 7 avril 2024 à 17:35, Mick21367 <email address hidden> a écrit :

> I think I've found the issue (it appears to be related to validator: DoubleValidator {notation: DoubleValidator.StandardNotation} not liking the fact that the numeric keyboard doesn't have the correct separator for some locales - it only appears to show the . when some locales require ,
> Disabling the numeric keyboard (i.e. allowing the full keyboard to appear) allowed me to enter e.g. 10,5 but not 10.5 when locale set to FR.
> I've commented out the DoubleValidator, and the app now appears to work as expected with the numeric keyboard (though it will only show the . as the decimal separator).
> The attachment is the click file for your version (I hope!). Can you install it and let me know if it works please? If it is OK, I'll upload this and the Focal version to the Open-Store.
>
> ** Attachment added: "Commented out validator to allow some locales to input non-integer values"
> https://bugs.launchpad.net/touchmpg/+bug/2058402/+attachment/5761969/+files/mileage.aurora_1.1.1_armhf.click
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2058402
>
> Title:
> Can't input the . dot (.) or coma (,) like 10.5
>
> Status in mileage:
> Confirmed
>
> Bug description:
> Can't input like 10.5 in any of the lines and if I want to put it
> right I need to go into edit what is not funny! Calculations seams
> right
>
> I let you know as soon you have done the update.
>
> Kind regards
>
> Phone model Volla Phone X
> https://devices.ubuntu-touch.io/device/yggdrasilx/
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/touchmpg/+bug/2058402/+subscriptions

Revision history for this message
Mick21367 (aurora-l) wrote :

Thanks. I think the click architecture might be wrong for your phone (it should have been all, but came through as armhf). I'll try again tonight.

Revision history for this message
Frederic Thill (kellimtai) wrote :

alright

Thill Frédéric
ccsp.space

Envoyé avec la messagerie sécurisée Proton Mail.

Le lundi 8 avril 2024 à 10:27, Mick21367 <email address hidden> a écrit :

> Thanks. I think the click architecture might be wrong for your phone (it
> should have been all, but came through as armhf). I'll try again
> tonight.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2058402
>
> Title:
> Can't input the . dot (.) or coma (,) like 10.5
>
> Status in mileage:
> Confirmed
>
> Bug description:
> Can't input like 10.5 in any of the lines and if I want to put it
> right I need to go into edit what is not funny! Calculations seams
> right
>
> I let you know as soon you have done the update.
>
> Kind regards
>
> Phone model Volla Phone X
> https://devices.ubuntu-touch.io/device/yggdrasilx/
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/touchmpg/+bug/2058402/+subscriptions

Revision history for this message
Mick21367 (aurora-l) wrote :

Hopefully the attached (built for 'all' rather than 'armhf') will install on your phone OK. Tested on my Pixel 3a and Nexus 5 (Focal and Xenial) and it installs and runs OK. If it works OK for you let me know and I will upload the new versions to the open-store.

Revision history for this message
Frederic Thill (kellimtai) wrote :

Great this is working for me too and the . dote is passing true too

well done

Thill Frédéric
ccsp.space

Envoyé avec la messagerie sécurisée Proton Mail.

Le lundi 8 avril 2024 à 16:19, Mick21367 <email address hidden> a écrit :

> Hopefully the attached (built for 'all' rather than 'armhf') will
> install on your phone OK. Tested on my Pixel 3a and Nexus 5 (Focal and
> Xenial) and it installs and runs OK. If it works OK for you let me know
> and I will upload the new versions to the open-store.
>
> ** Attachment removed: "Commented out validator to allow some locales to input non-integer values"
> https://bugs.launchpad.net/touchmpg/+bug/2058402/+attachment/5761969/+files/mileage.aurora_1.1.1_armhf.click
>
> ** Attachment added: "Updated click"
> https://bugs.launchpad.net/touchmpg/+bug/2058402/+attachment/5762180/+files/mileage.aurora_1.1.1_all.click
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2058402
>
> Title:
> Can't input the . dot (.) or coma (,) like 10.5
>
> Status in mileage:
> Confirmed
>
> Bug description:
> Can't input like 10.5 in any of the lines and if I want to put it
> right I need to go into edit what is not funny! Calculations seams
> right
>
> I let you know as soon you have done the update.
>
> Kind regards
>
> Phone model Volla Phone X
> https://devices.ubuntu-touch.io/device/yggdrasilx/
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/touchmpg/+bug/2058402/+subscriptions

Revision history for this message
Frederic Thill (kellimtai) wrote :

I try to delete all my old data but impossible?

Thill Frédéric
ccsp.space

Envoyé avec la messagerie sécurisée Proton Mail.

Le lundi 8 avril 2024 à 17:01, fred.thill <email address hidden> a écrit :

> Great this is working for me too and the . dote is passing true too
>
> well done
>
>
> Thill Frédéric
> ccsp.space
>
>
>
> Envoyé avec la messagerie sécurisée Proton Mail.
>
>
> Le lundi 8 avril 2024 à 16:19, Mick21367 <email address hidden> a écrit :
>
> > Hopefully the attached (built for 'all' rather than 'armhf') will
> > install on your phone OK. Tested on my Pixel 3a and Nexus 5 (Focal and
> > Xenial) and it installs and runs OK. If it works OK for you let me know
> > and I will upload the new versions to the open-store.
> >
> > ** Attachment removed: "Commented out validator to allow some locales to input non-integer values"
> > https://bugs.launchpad.net/touchmpg/+bug/2058402/+attachment/5761969/+files/mileage.aurora_1.1.1_armhf.click
> >
> > ** Attachment added: "Updated click"
> > https://bugs.launchpad.net/touchmpg/+bug/2058402/+attachment/5762180/+files/mileage.aurora_1.1.1_all.click
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/2058402
> >
> > Title:
> > Can't input the . dot (.) or coma (,) like 10.5
> >
> > Status in mileage:
> > Confirmed
> >
> > Bug description:
> > Can't input like 10.5 in any of the lines and if I want to put it
> > right I need to go into edit what is not funny! Calculations seams
> > right
> >
> > I let you know as soon you have done the update.
> >
> > Kind regards
> >
> > Phone model Volla Phone X
> > https://devices.ubuntu-touch.io/device/yggdrasilx/
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/touchmpg/+bug/2058402/+subscriptions

Revision history for this message
Mick21367 (aurora-l) wrote (last edit ):

Hi - glad it worked. When deleting old entries, I'm guessing you are finding that the page doesn't refresh and when you go back the entry is still there? If so, you need to go further back (to the main page) and then back into the edit page. I've been looking at that in the last two or three days, as I hadn't realised the delete action was so clumsy. It's next on the list to improve.
Another way to get rid of old data (assuming you want to delete all of it) is simply to delete the mileage.aurora folder in .local/share (hidden folder). Then the app will ask you for setup again and all your previous data will be gone (permanently I'm afraid - once deleted, it can't be recovered)

Revision history for this message
Frederic Thill (kellimtai) wrote :

oh it does delete but it does it very slowly you need to go out of the edit and get in again to find out if it erased but it will not be done after the 1st delete I needed to redo it 3 times before it went off the list!

Thill Frédéric
ccsp.space

Envoyé avec la messagerie sécurisée Proton Mail.

Le lundi 8 avril 2024 à 17:07, fred.thill <email address hidden> a écrit :

> I try to delete all my old data but impossible?
>
>
>
> Thill Frédéric
> ccsp.space
>
>
>
> Envoyé avec la messagerie sécurisée Proton Mail.
>
>
> Le lundi 8 avril 2024 à 17:01, fred.thill <email address hidden> a écrit :
>
> > Great this is working for me too and the . dote is passing true too
> >
> > well done
> >
> > Thill Frédéric
> > ccsp.space
> >
> > Envoyé avec la messagerie sécurisée Proton Mail.
> >
> > Le lundi 8 avril 2024 à 16:19, Mick21367 <email address hidden> a écrit :
> >
> > > Hopefully the attached (built for 'all' rather than 'armhf') will
> > > install on your phone OK. Tested on my Pixel 3a and Nexus 5 (Focal and
> > > Xenial) and it installs and runs OK. If it works OK for you let me know
> > > and I will upload the new versions to the open-store.
> > >
> > > ** Attachment removed: "Commented out validator to allow some locales to input non-integer values"
> > > https://bugs.launchpad.net/touchmpg/+bug/2058402/+attachment/5761969/+files/mileage.aurora_1.1.1_armhf.click
> > >
> > > ** Attachment added: "Updated click"
> > > https://bugs.launchpad.net/touchmpg/+bug/2058402/+attachment/5762180/+files/mileage.aurora_1.1.1_all.click
> > >
> > > --
> > > You received this bug notification because you are subscribed to the bug
> > > report.
> > > https://bugs.launchpad.net/bugs/2058402
> > >
> > > Title:
> > > Can't input the . dot (.) or coma (,) like 10.5
> > >
> > > Status in mileage:
> > > Confirmed
> > >
> > > Bug description:
> > > Can't input like 10.5 in any of the lines and if I want to put it
> > > right I need to go into edit what is not funny! Calculations seams
> > > right
> > >
> > > I let you know as soon you have done the update.
> > >
> > > Kind regards
> > >
> > > Phone model Volla Phone X
> > > https://devices.ubuntu-touch.io/device/yggdrasilx/
> > >
> > > To manage notifications about this bug go to:
> > > https://bugs.launchpad.net/touchmpg/+bug/2058402/+subscriptions

Revision history for this message
Frederic Thill (kellimtai) wrote :

Also in the graph it is strange to see the MPG graph larger then the LPK

Thill Frédéric
ccsp.space

Envoyé avec la messagerie sécurisée Proton Mail.

Le lundi 8 avril 2024 à 17:18, fred.thill <email address hidden> a écrit :

> oh it does delete but it does it very slowly you need to go out of the edit and get in again to find out if it erased but it will not be done after the 1st delete I needed to redo it 3 times before it went off the list!
>
>
>
> Thill Frédéric
> ccsp.space
>
>
>
> Envoyé avec la messagerie sécurisée Proton Mail.
>
>
> Le lundi 8 avril 2024 à 17:07, fred.thill <email address hidden> a écrit :
>
> > I try to delete all my old data but impossible?
> >
> > Thill Frédéric
> > ccsp.space
> >
> > Envoyé avec la messagerie sécurisée Proton Mail.
> >
> > Le lundi 8 avril 2024 à 17:01, fred.thill <email address hidden> a écrit :
> >
> > > Great this is working for me too and the . dote is passing true too
> > >
> > > well done
> > >
> > > Thill Frédéric
> > > ccsp.space
> > >
> > > Envoyé avec la messagerie sécurisée Proton Mail.
> > >
> > > Le lundi 8 avril 2024 à 16:19, Mick21367 <email address hidden> a écrit :
> > >
> > > > Hopefully the attached (built for 'all' rather than 'armhf') will
> > > > install on your phone OK. Tested on my Pixel 3a and Nexus 5 (Focal and
> > > > Xenial) and it installs and runs OK. If it works OK for you let me know
> > > > and I will upload the new versions to the open-store.
> > > >
> > > > ** Attachment removed: "Commented out validator to allow some locales to input non-integer values"
> > > > https://bugs.launchpad.net/touchmpg/+bug/2058402/+attachment/5761969/+files/mileage.aurora_1.1.1_armhf.click
> > > >
> > > > ** Attachment added: "Updated click"
> > > > https://bugs.launchpad.net/touchmpg/+bug/2058402/+attachment/5762180/+files/mileage.aurora_1.1.1_all.click
> > > >
> > > > --
> > > > You received this bug notification because you are subscribed to the bug
> > > > report.
> > > > https://bugs.launchpad.net/bugs/2058402
> > > >
> > > > Title:
> > > > Can't input the . dot (.) or coma (,) like 10.5
> > > >
> > > > Status in mileage:
> > > > Confirmed
> > > >
> > > > Bug description:
> > > > Can't input like 10.5 in any of the lines and if I want to put it
> > > > right I need to go into edit what is not funny! Calculations seams
> > > > right
> > > >
> > > > I let you know as soon you have done the update.
> > > >
> > > > Kind regards
> > > >
> > > > Phone model Volla Phone X
> > > > https://devices.ubuntu-touch.io/device/yggdrasilx/
> > > >
> > > > To manage notifications about this bug go to:
> > > > https://bugs.launchpad.net/touchmpg/+bug/2058402/+subscriptions

Revision history for this message
Frederic Thill (kellimtai) wrote :

Yes I did it that way to erase the list then going back to the main page and after the 3rd time to watch it was finally gone.

Thill Frédéric
ccsp.space

Envoyé avec la messagerie sécurisée Proton Mail.

Le lundi 8 avril 2024 à 17:16, Mick21367 <email address hidden> a écrit :

> Hi - glad it worked. When deleting old entries, I'm guessing you are finding that the page doesn't refresh and when you go back the entry is still there? If so, you need to go further back (to the main page) and then back into the edit page. I've been looking at that in the last two or three days, as I hadn't realised the delete action was so clumsy. It's next on the list to improve.
> Another way to get rid of old data (assuming you want to delete all of it) is simply to delete the mileage.aurora folder in .local/share (hidden folder). Then the app will ask you for setup again and all your previous data will be gone (permanently I'm afraid - once deleted, it can't be recovered)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2058402
>
> Title:
> Can't input the . dot (.) or coma (,) like 10.5
>
> Status in mileage:
> Confirmed
>
> Bug description:
> Can't input like 10.5 in any of the lines and if I want to put it
> right I need to go into edit what is not funny! Calculations seams
> right
>
> I let you know as soon you have done the update.
>
> Kind regards
>
> Phone model Volla Phone X
> https://devices.ubuntu-touch.io/device/yggdrasilx/
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/touchmpg/+bug/2058402/+subscriptions

Mick21367 (aurora-l)
Changed in touchmpg:
status: Confirmed → Fix Released
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.