FLTK logo

[fltk.general] Re: Fix for Fl_Native_File_Chooser under macOS 10.15 Catalina

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Fix for Fl_Native_File_Chooser under macOS 10.15 Catalina Manolo Jul 23, 2021  
 

Le vendredi 23 juillet 2021 à 01:00:45 UTC+2, anmol....@gmail.com a écrit :
  ManoloFLTK:          Fix for Fl_Native_File_Chooser under macOS 10.15 Catalina

From the changelog for 1.3.6.- 

Is this the
 Assertion failure in -[NSSavePanel _attachSandboxExtensions:toURL:orURLs:]
error ?
What error are you refering to?

I am using 1.4 and still get this error.

>>>

Fl_Native_File_Chooser native;

char title[FILENAME_MAX];

char* filename_name, * filename_ext;

native.options(Fl_Native_File_Chooser::NEW_FOLDER |  Fl_Native_File_Chooser::SAVEAS_CONFIRM | Fl_Native_File_Chooser::USE_FILTER_EXT);

        strcpy(title, "Select output file");

        native.title(title);

switch (native.show()) {.  <<------ CRASH

}

No crash here with FLTK 1.4 current and macOS 11.
Please, triple check you compile and link with what you believe.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/454c500d-f356-4db6-a7e3-a26827f3acf8n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.