I'm encountering a problem using TSaveDialog in Lazarus 1.6 / FPC 3.0.0 under MacOS X 10.11.6 (beta - but am encountering the same problem in non-beta 10.11).
Example project to reproduce:
Standard application with TSaveDialog and TButton on it.
OnClick for the button:
procedure TForm1.Button1Click(Sender: TObject);
begin
if SaveDialog1.Execute then ShowMessage(SaveDialog1.FileName);
end;
When executing this simple application and clicking on the button, the SaveDialog appears.
Standard it shows the directory "Desktop" (in my case).
When the user enters only the file name (not touching anything else in the dialog), for example 'test.txt' in the "Save As" field, and clicks the "Save" button, the filename results in "/test.txt" - the path is completely ignored.
Am I overlooking something here or should this be reported as a bug?