Page 1 of 2
the eraser tool
Posted: Sun Feb 05, 2017 11:53 pm
by chipsm
I have a test application that allows one to draw on an image area. The pencil, line and polygon tools work. The eraser tool does not work. Everything works on the Windows Desktop.
This has been compiled as an Android stand Alone and that is where the problem shows up.
Any suggestions?
Re: the eraser tool
Posted: Mon Feb 06, 2017 12:05 am
by jmburnod
Hi Clarence,
I believe eraser is not for mobile.
best regards
Jean-Marc
Re: the eraser tool
Posted: Mon Feb 06, 2017 12:36 am
by chipsm
Please, don't take my response as being aimed at you or disrespectful...
That makes no sense to me. Think about it! This make a customer drawing application totally worthless.
Why would they have a tool that can't be used on all platforms and not make a note about it. They seem to be pretty good about that in the dictionary.
I hope that someone from the LiveCode Team answers this question and explains this.
If this is a bug, then I will gladly file a bug report.
This has to be a bug, or I'm ignorant about its use.
Re: the eraser tool
Posted: Mon Feb 06, 2017 12:44 am
by jmburnod
Dictionary is clear about it
"mac, windows, linux" only
Re: the eraser tool
Posted: Mon Feb 06, 2017 12:54 am
by chipsm
That is true for the KeyWord Only.
Under the Property definition all OS's are mentioned.
Definitely, some kind of conflict there.
If you can set an eraser property, why would the tool not be available?
When I call for the tool in the script, I don't get any type of error.
In matter of fact, when I first ran the application, this actually worked or so I thought.
Re: the eraser tool
Posted: Mon Feb 06, 2017 2:10 am
by chipsm
OK, I will tell you, that I am one determined individual.
I made some progress.
I imported a png file into my application. I was able to assign a property ID from my png file and set the property of the eraser to the png ID.
This actually works for Android.
So, I assume that there is a bug in LiveCode because it will not let the property be assigned to one of LiveCodes ID's, at least for Android. It will accept the ID of an imported image File.
Re: the eraser tool
Posted: Mon Feb 06, 2017 10:44 am
by jmburnod
Saperlipopette
You're right about eraser property, but it seems strange if we can't use eraser tool.
I remember some experiments with image data
http://forums.livecode.com/viewtopic.ph ... int#p57881
Jean-Marc
Re: the eraser tool
Posted: Mon Feb 06, 2017 4:29 pm
by chipsm
Jean-Marc,
thanks for the link. I have downloaded the sample and will be examining the scripts.
It does work with Android. Still no eraser tool though. I will work on that.
BTW, I did file a bug report on this.
Re: the eraser tool
Posted: Mon Feb 06, 2017 5:36 pm
by jacque
I'm glad you filed the bug report. It sounds like just an issue with the IDs used internally for the built in eraser images.
Re: the eraser tool
Posted: Tue Feb 21, 2017 11:17 pm
by jmburnod
Hi All
I read on doc LC 9 dp 4 that brush tool is available on mobile but not eraser tool.
Is there someone have tested paint tools LC 9 on mobile ?
I will test it and I write back
Best regards
Jean-Marc
Re: the eraser tool
Posted: Wed Feb 22, 2017 12:23 am
by chipsm
Jean-Marc, the erase tool does work in LC 9. The problem is, it does not show the eraser tool image.You have control over the image for the eraser, but you just can't see it. It is the same in LC 8.1.3 rc too.
Re: the eraser tool
Posted: Wed Feb 22, 2017 10:34 am
by jmburnod
Clarence,
Thanks for reply.
it does not show the eraser tool image
Did you try :
set the eraser to {brushID | imageID}
Jean-Marc
Re: the eraser tool
Posted: Wed Feb 22, 2017 4:30 pm
by FourthWorld
chipsm wrote:Jean-Marc, the erase tool does work in LC 9. The problem is, it does not show the eraser tool image.You have control over the image for the eraser, but you just can't see it. It is the same in LC 8.1.3 rc too.
Please file a bug report on that.
Re: the eraser tool
Posted: Wed Feb 22, 2017 4:36 pm
by chipsm
I did about 2 weeks ago. Bug report # 19223.
Re: the eraser tool
Posted: Wed Feb 22, 2017 5:32 pm
by FourthWorld
Thanks, Clarence. I had replied while on my phone, and the forum pages render so poorly there that I was unable to see that this was in the Android forum.
Mobile OSes have no cursors at all, for any tool mode. If the eraser functionality is working, what else should be happening there?