Page 1 of 1

DragNDrop acting strange on MAC OS X Lion.

Posted: Mon Feb 20, 2012 1:57 am
by BarrySumpter
Please bear with me as WinXP in my native OS.

Just testing this sample on MAC OS X Lion:
7580-dropping-system-folders-on-fields
http://lessons.runrev.com/s/lessons/m/4 ... -on-fields

LiveCode app will allow me to drop some files.

I can drag n drop a folder from the desktop or an executable.

But it won't let me drop a newly create untitled.rtf file nor a newly created untilted.txt file from the desktop.
Nor gif nor jpg.

Is there something I'm missing?

Re: DragNDrop acting strange on MAC OS X Lion.

Posted: Mon Feb 20, 2012 2:46 am
by BarrySumpter
Found revGZ sample app that has a button to drop onto that works properly.

Found :

Code: Select all

on dragEnter
  set the acceptDrop to true
yep that worked

and multiples work as well - woo hoo

RunRev should update that lesson with this code line.
How hard could that have been to do.
How hard could it be to do now.

Re: DragNDrop acting strange on MAC OS X Lion.

Posted: Mon Feb 20, 2012 1:44 pm
by Klaus
BarrySumpter wrote:...Just testing this sample on MAC OS X Lion:
7580-dropping-system-folders-on-fields
http://lessons.runrev.com/s/lessons/m/4 ... -on-fields
LiveCode app will allow me to drop some files.
I can drag n drop a folder from the desktop or an executable.
But it won't let me drop a newly create untitled.rtf file nor a newly created untilted.txt file from the desktop.
Nor gif nor jpg.
Is there something I'm missing?
Yes, this handler in the example obviously!

Code: Select all

on dragEnter
    if there is a folder the dragData["files"] then
        ## set the acceptdrop to true -- pre-Rev 2.9
        set the dragaction to copy -- >= Rev 2.9
    end if
end dragEnter
This explains why you can only drop a folder onto that field in the example, doesn't it?!
And the example is even named: 7580-dropping-system-folders-on-fields...


Best

Klaus

Re: DragNDrop acting strange on MAC OS X Lion.

Posted: Mon Feb 20, 2012 7:57 pm
by BarrySumpter
Obviously you've addded no value to this thread whatsoever.
It is obvious that as little effort as possible is made to clarify these functions
giving rise to obvious burnouts to make obvious useless posts.

The only obvious point regarding your post is your obvious contempt for others.

Doesn't it? Hey? Huh? What? I say!

Re: DragNDrop acting strange on MAC OS X Lion.

Posted: Mon Feb 20, 2012 8:09 pm
by Klaus
I only answered your question "Is there something I'm missing?" correctly.
Sorry if this hurts your feelings somehow.

Re: DragNDrop acting strange on MAC OS X Lion.

Posted: Mon Feb 20, 2012 8:15 pm
by BarrySumpter
Obviously there is something your missing in your reply as well as my reply to your reply obviously.
Obvious, isn't it?
I mean besides your obvious contempt.
Hey?
I'm sorry if your missing my obvious point.

Re: DragNDrop acting strange on MAC OS X Lion.

Posted: Mon Feb 20, 2012 8:17 pm
by Klaus
OK, I won't bother you anymore, Barry, promised!

Re: DragNDrop acting strange on MAC OS X Lion.

Posted: Mon Feb 20, 2012 8:42 pm
by BarrySumpter
OK, I'll spell it out.

Your knowledge and responses are of value.

The word obvious is not a power word nor a helping word.
It's my opinion it's a destructive word one would use as an insult.

It's my opinion that If the topic was so obvious you wouldn't have to actually say nor write the word obvious.

It's my opinion that we as a society seem to allow the experienced a certain leeway in writing and speaking.
Others with experience will actually fight for the right of others with experiece to write and speak as they feel.
i.e. in actuality fighting for their own right to write and speak as they feel.

I don't agree with this.

It's my opinion that the experienced should be able to write and speak properly.
i.e. giving their knowledge freely without contempt or insult.
So I hold the experienced to a higher standard.

I see the experienced who write and speak in a contemptuous manner as burn outs.
i.e. One symptom forgetting or not wanting to make the effort in how to communicate in a positive manner.

Feel free to take the standard passive aggressive response of the experienced by ignoring my posts.
And giving your knowledge to only those you feel as deemed to deserve such enlightenment.
I'm sure it gives the since of power.

All hail and bow to the experienced.

Re: DragNDrop acting strange on MAC OS X Lion.

Posted: Mon Feb 20, 2012 9:03 pm
by Klaus
I'm an idiot and should have known better! :oops:

Re: DragNDrop acting strange on MAC OS X Lion.

Posted: Mon Feb 20, 2012 9:41 pm
by BarrySumpter
Yeah, me too. :cry: