(Android) historyPos out of range

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
FrankLiemar
Newbie
Newbie
Posts: 15
Joined: Wed Oct 30, 2013 12:00 am

(Android) historyPos out of range

Post by FrankLiemar » Wed Nov 13, 2013 8:48 am

I am having the same problem as the owner of the topic below.
www.teechart.net/support/viewtopic.php?f=10&t=13275
As answer on the last question in the topic.
It seem to happen when i touch 2 different places in the chart very fast after each other.
I was able to reproduce the problem on your example app.
I am getting this problem on the Motorola Xoom and the Motorola Xoom 2.
android version : 4.0.4

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: (Android) historyPos out of range

Post by Narcís » Wed Nov 13, 2013 9:01 am

Hello,

Thanks for the info. I have tried to reproduce this unsuccessfully here with a Nexus 4 and a Nexus 7 (2012). What I do is opening one of the examples in the demo and start touching the chart very quickly with one finger and also tried with multi-touch. Is this what I am supposed to do? Could you provide more detailed instructions on how to reproduce it? Should I touch on a series or anywhere on the chart? Any specific series?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

FrankLiemar
Newbie
Newbie
Posts: 15
Joined: Wed Oct 30, 2013 12:00 am

Re: (Android) historyPos out of range

Post by FrankLiemar » Wed Nov 13, 2013 9:08 am

Update :
I am able to reproduce the problem everytime by touching and not releasing the chart with my index finger (with your whole finger not with the top of your finger).
I tested it on the Line and Bar chart.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: (Android) historyPos out of range

Post by Narcís » Wed Nov 13, 2013 9:46 am

Hello,

Thanks for the update. Both Nexus devices tested use Android 4.3. I also tried with a Motorola Defy (Android 2.1) and Samsung Galaxy Ace (Android 2.3.6) but worked fine there as well. Will keep investigating.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

FrankLiemar
Newbie
Newbie
Posts: 15
Joined: Wed Oct 30, 2013 12:00 am

Re: (Android) historyPos out of range

Post by FrankLiemar » Wed Nov 13, 2013 10:42 am

I have been searching for some answers .

there is a chance that you are calling the following code in your onTouch;

Code: Select all

event.getX()
which is probably causing errors
.
I can't see any Source Code so i wouldn't know.

Thanks for your help.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: (Android) historyPos out of range

Post by Narcís » Thu Nov 14, 2013 2:06 pm

Hello,

Thanks for your feedback. We haven't been able to reproduce the issue here yet. However, we are investigating it and we will try to modify the code to catch the error. Would you mind adding this issue to bugzilla? Doing so you'll be identified as the creator of the issue and therefore notified about its evolution.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

FrankLiemar
Newbie
Newbie
Posts: 15
Joined: Wed Oct 30, 2013 12:00 am

Re: (Android) historyPos out of range

Post by FrankLiemar » Fri Nov 15, 2013 8:02 am

I am not able to make a Bugzilla account everytime i try to register the email never arrives.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: (Android) historyPos out of range

Post by Narcís » Fri Nov 15, 2013 9:26 am

Hello,

Have you checked your spam folder for bugzilla emails being filtered there?

Anyway, I have submitted the issue (ID103) myself. If you sign up to our bugzilla platform please let us know, we will be glad to add you to the CC List so that you can be notified about updates on the issue.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

FrankLiemar
Newbie
Newbie
Posts: 15
Joined: Wed Oct 30, 2013 12:00 am

Re: (Android) historyPos out of range

Post by FrankLiemar » Fri Nov 15, 2013 11:26 am

Hello,

I have checked the spam folder but it is not in there.

Also is there a way to disable the OnTouch event of the chart.
So that i can temporary disable the cursor tool untill the problem is fixed.
Because if i disable the cursor tool the ontouch still remains.

If you want to reproduce the problem you should really get a Motorola Xoom tablet.
I think that the problem is only for some of the tablets.
So that you need to change something only for those tablets.

eoinoc
Newbie
Newbie
Posts: 3
Joined: Tue Sep 10, 2013 12:00 am

Re: (Android) historyPos out of range

Post by eoinoc » Tue Dec 10, 2013 2:52 am

After our apps released to Google Market, we also found this issue through customer feedback.
Even I haven't get a chance to reproduce, the crash log message is almost the same as posted here.

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: (Android) historyPos out of range

Post by Yeray » Tue Dec 10, 2013 4:03 pm

Hello eoinoc,

Do you know in what devices it was reproduced, and in what devices not?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

eoinoc
Newbie
Newbie
Posts: 3
Joined: Tue Sep 10, 2013 12:00 am

Re: (Android) historyPos out of range

Post by eoinoc » Mon Dec 16, 2013 2:26 am

No I don't.
But I don't think it's a device-specific problem.

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: (Android) historyPos out of range

Post by Yeray » Mon Dec 16, 2013 10:37 am

Hello,
eoinoc wrote:No I don't.
But I don't think it's a device-specific problem.
This wouldn't explain why we can't reproduce the problem here following the same steps some customers indicated us, in the same demo application. The only difference we found was on the devices. Do you have any other clue?

I understand you haven't been able to reproduce the problem, but if you are aware of any step-by-step instructions we can follow to reproduce the problem in any device, please, don't hesitate to tell us.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

FrankLiemar
Newbie
Newbie
Posts: 15
Joined: Wed Oct 30, 2013 12:00 am

Re: (Android) historyPos out of range

Post by FrankLiemar » Fri Dec 20, 2013 11:18 am

Hello
I have reproduced the problem and i used a tool to see what kind of motion was made before it crashed.
Reproduced on : Motorola Xoom 2
Attachments
HistoryPosOutOfRange3.png
HistoryPosOutOfRange3.png (83.07 KiB) Viewed 33027 times
HistoryPosOutOfRange2.png
HistoryPosOutOfRange2.png (85.56 KiB) Viewed 33022 times
HistoryPosOutOfRange.png
HistoryPosOutOfRange.png (84.44 KiB) Viewed 33039 times

FrankLiemar
Newbie
Newbie
Posts: 15
Joined: Wed Oct 30, 2013 12:00 am

Re: (Android) historyPos out of range

Post by FrankLiemar » Fri Dec 20, 2013 11:20 am

Here is the fourth picture.
Attachments
HistoryPosOutOfRange4.png
HistoryPosOutOfRange4.png (10.36 KiB) Viewed 33020 times

Post Reply