Home » U++ Library support » FileSel&FileList, Path » FileSel + DisplayPopup crash
FileSel + DisplayPopup crash [message #59569] |
Tue, 07 February 2023 12:29  |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
There is a strange FileSel + DisplayPopup crash in the last release and current version. Here's a minimal testcase:
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
GUI_APP_MAIN
{
{
FileSel fs;
fs.ExecuteOpen();
}
PromptOK("With a DisplayPopup you will not get this far!");
}
Please run the above code in debugger and open a file with a long name while it's displayed in a DisplayPopup to show the entire filename. A double click on a long filename will do.
I think the callback posted from DisplayPopup's WhenClose is late from object destruction and freeing the memory crashes.
Best regards,
Tom
|
|
|
|
|
|
Goto Forum:
Current Time: Tue Apr 29 09:47:42 CEST 2025
Total time taken to generate the page: 0.00752 seconds
|