Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » FileSel&FileList, Path » FileSel + DisplayPopup crash
FileSel + DisplayPopup crash [message #59569] Tue, 07 February 2023 12:29 Go to previous message
Tom1
Messages: 1212
Registered: March 2007
Senior 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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: FileSel in Local Network not show shared folders
Next Topic: BUG Access violation when closing FileSel
Goto Forum:
  


Current Time: Sun Apr 28 05:35:10 CEST 2024

Total time taken to generate the page: 0.03686 seconds