Back in 2015 I posted a bug regarding dragData within LiveCode. Specifically, the problem is that files cannot be dragged out of a LiveCode app on a Mac if the file paths (i.e., folder names and/or file names) contain spaces.
Code: Select all
set the dragdata["files"] to "/Users/MyName/Desktop/Drag Test/beach.jpg"
Code: Select all
set the dragdata["files"] to "/Users/MyName/Desktop/DragTest/the beach.jpg"
Code: Select all
set the dragdata["files"] to "/Users/MyName/Desktop/DragTest/mybeach.jpg"
This bug is yet to be fixed, and I even followed up in 2016. You can read the bug post/thread here:
http://quality.livecode.com/show_bug.cgi?id=16388
According to Panos back in 2015:
I was just wondering if anyone has figured out any kind of workaround? I have several applications that I have spent a lot of "blood, sweat, and tears" developing that depend on being able to drag out files. And because dragging out files is such a basic/common aspect of computing, I am at a loss as to why this hasn't been fixed/addressed yet? (And these days, as I am sure you can attest, many users have folder and file names with spaces in them).Hi Keith,
Thank you for submitting this report and providing a sample stack. We confirm this is a bug. It seems that this regression was introduced at some point between LiveCode 7.0.4 and 7.0.5.
We will update you when the status of this report changes.
Best regards,
Panos
Livecode 7.0.3 worked correctly, and per Panos, the problem is a regression... Because LiveCode is moving forward with so many improvements, I am concerned as to why this issue has not yet been fixed? I have continued to work on my projects expecting this issue to be rectified, but now I am getting a bit concerned. Any thoughts/comments/recommendations are most welcome.
Sincerely,
Keith "Boo" Long
Gulf Breeze, Florida