Forum > macOS / Mac OS X

Dragging files to .app no longer loads them

(1/2) > >>

Espectr0:
Hola,
 
With Lazarus 4.0 and earlier, I could (individually) drag .srt (SubRip), .vtt (WebVTT), and .itt (iTunes Timed Text) files onto my .app, and it would open them without any issues on OS X El Capitan (10.11.6).
However, after updating Lazarus to 4.2, I now get an error: The document “[example]” could not be opened. App cannot open files in the “Text file” format.

Is it possible that something has changed internally in Lazarus?

Thanks in advance!

cdbc:
Hi
Hmmm, have you checked for BOM (B)yte(O)rder(M)ark in the srt files?!?
There are BOMs for utf8 & utf16 BE/LE...
Regards Benny

Espectr0:
When I compiled my app with Lazarus 4 or earlier, it worked. I think the problem started with Lazarus 4.2. The message I get is from macOS as soon as I drag the file over the .app.

madref:
Did you set all the path correctly?

Espectr0:
I haven't changed anything in my app, I just recompiled it with the new Lazarus and it stopped working. What should I check?

Maybe something changed with macOS El Capitan compatibility?

Navigation

[0] Message Index

[#] Next page

Go to full version