Recent

Author Topic: [SOLVED] TSaveDialog Cocoa bugs  (Read 2769 times)

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • Former Turbo Pascal 3 user
Re: TSaveDialog Cocoa bugs
« Reply #15 on: June 01, 2020, 06:51:43 pm »
I don't use the drop-in widget as the behavior is so OS dependent. I have a unit with a "RunSaveDlg" routine that creates one in code, with IFDEFs for the OS, and warning dialogs. I can use it in all my projects without having to remember the idiosyncrasies of each OS.

Windows does pretty much as expected, Linux does not give an overwrite warning (as far as I can tell), and Mac does this weird dance that we have been talking about, sometimes causing an extra warning box.

It does sound odd. Linux seems secure enough, what extra does Apple need? I get annoyed with Apple, but still own a few Macs, and it is not an option for me to not support them.

It is all workable, thanks!
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 12.1: Lazarus 2.2.6 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 2.2.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.2.6 (64 bit on VBox)

 

TinyPortal © 2005-2018