|
|
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 ] | |
|
| |