Page 1 of 1

Bug 16388 - A Major Issue for Me

Posted: Sun Jan 28, 2018 6:40 am
by keithglong
Hi All,

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" 
(Will not work--there is a space in Drag Test.)

Code: Select all

set the dragdata["files"] to "/Users/MyName/Desktop/DragTest/the beach.jpg"
(Will not work--there is a space in the beach)

Code: Select all

set the dragdata["files"] to "/Users/MyName/Desktop/DragTest/mybeach.jpg" 
(WILL work--there aren't any spaces in the file path.)

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:
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
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).

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

Re: Bug 16388 - A Major Issue for Me

Posted: Sun Jan 28, 2018 1:31 pm
by LiveCode_Panos
Hi Keith,

I have submitted a PR that should fix the problem, tested locally and it works for me:

https://github.com/livecode/livecode/pull/6302

If the PR is approved, the fix will appear in LC 8.1.10 RC-1.

Best,
Panos
--

Re: Bug 16388 - A Major Issue for Me

Posted: Mon Jan 29, 2018 11:06 pm
by keithglong
Hi Panos,

Thank you sir! I appreciate it. And by the way... When will this fix be incorporated into LiveCode 9? (I am mostly using LiveCode 9 these days.)

(And just to clarify, the problem has to do with spaces anywhere in the file path--not just the filename.)

Best regards,

Keith "Boo" Long
Gulf Breeze, Florida

Re: Bug 16388 - A Major Issue for Me

Posted: Tue Jan 30, 2018 11:46 am
by keithglong
I just posted yet another bug (along with a sample stack) regarding the dragging out of files on a Mac.

See: http://quality.livecode.com/show_bug.cgi?id=20925

Sincerely,

Keith "Boo" Long
Gulf Breeze, Florida