the eraser tool

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

chipsm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 244
Joined: Wed May 11, 2011 7:50 pm

the eraser tool

Post 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?
Clarence Martin
chipsm@themartinz.com
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: the eraser tool

Post by jmburnod »

Hi Clarence,
I believe eraser is not for mobile.
best regards
Jean-Marc
https://alternatic.ch
chipsm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 244
Joined: Wed May 11, 2011 7:50 pm

Re: the eraser tool

Post 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.
Clarence Martin
chipsm@themartinz.com
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: the eraser tool

Post by jmburnod »

Dictionary is clear about it
"mac, windows, linux" only
https://alternatic.ch
chipsm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 244
Joined: Wed May 11, 2011 7:50 pm

Re: the eraser tool

Post 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.
Clarence Martin
chipsm@themartinz.com
chipsm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 244
Joined: Wed May 11, 2011 7:50 pm

Re: the eraser tool

Post 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.
Clarence Martin
chipsm@themartinz.com
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: the eraser tool

Post by jmburnod »

Saperlipopette :shock:
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
https://alternatic.ch
chipsm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 244
Joined: Wed May 11, 2011 7:50 pm

Re: the eraser tool

Post 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.
Clarence Martin
chipsm@themartinz.com
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: the eraser tool

Post 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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: the eraser tool

Post by jmburnod »

Hi All
I read on doc LC 9 dp 4 that brush tool is available on mobile but not eraser tool. :shock:
Is there someone have tested paint tools LC 9 on mobile ?
I will test it and I write back
Best regards
Jean-Marc
https://alternatic.ch
chipsm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 244
Joined: Wed May 11, 2011 7:50 pm

Re: the eraser tool

Post 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.
Clarence Martin
chipsm@themartinz.com
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: the eraser tool

Post 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
https://alternatic.ch
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: the eraser tool

Post 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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
chipsm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 244
Joined: Wed May 11, 2011 7:50 pm

Re: the eraser tool

Post by chipsm »

I did about 2 weeks ago. Bug report # 19223.
Clarence Martin
chipsm@themartinz.com
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: the eraser tool

Post 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?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Post Reply