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 next 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
Re: FileSel + DisplayPopup crash [message #59596 is a reply to message #59569] Sat, 11 February 2023 20:16 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thank you. Push fixed.

Mirek
Re: FileSel + DisplayPopup crash [message #59598 is a reply to message #59596] Sun, 12 February 2023 13:36 Go to previous messageGo to next message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi,

Thanks! Works again.

BR,

Tom
Re: FileSel + DisplayPopup crash [message #59706 is a reply to message #59569] Mon, 13 March 2023 13:52 Go to previous message
Maginor is currently offline  Maginor
Messages: 44
Registered: May 2019
Member
Thank you so much. This also fixed the issue I was posting about in the other thread.
Previous Topic: FileSel in Local Network not show shared folders
Next Topic: BUG Access violation when closing FileSel
Goto Forum:
  


Current Time: Thu Mar 28 14:28:59 CET 2024

Total time taken to generate the page: 0.01191 seconds