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 » Community » U++ community news and announcements » 2023.2
Re: 2023.2 [message #60294 is a reply to message #60230] Tue, 14 November 2023 15:30 Go to previous messageGo to previous message
Tom1
Messages: 1217
Registered: March 2007
Senior Contributor
Hi,

One of my application windows lost context menu (and timer) with U++ 2023.2. I was able to track the breakdown to U++ git commit 608b204.

Here are the details:

In one of my windows (in a multi window app) deeper in the hierarchy MenuBar::Execute(THISBACK(ContextMenu)) runs a context menu once, but refuses to start again until I have closed and reopened that window again. It gets stuck in Win32Wnd.cpp in the while loop:
bool Ctrl::ProcessEvents(bool *quit)
{
	ASSERT_(IsMainThread(), "ProcessEvents can only run in the main thread");
	if(ProcessEvent(quit)) {
		while(ProcessEvent(quit) && (!LoopCtrl || LoopCtrl->InLoop())); // LoopCtrl-MF 071008
		SweepMkImageCache();
		return true;
	}
	SweepMkImageCache();
	return false;
}

It seems that "LoopCtrl->InLoop()" never returns false, even after closing the popup menu. I tried to follow deeper, but my ability to understand CtrlCore proved insufficient.

Another, related issue is with TimeCallback that does not work at all in that same window either. Not even before using the context menu.

Unfortunately, this is a very complex program and I have not yet been able to build a separate test case to demonstrate the issue. Simple test cases do not reproduce this issue.

Best regards,

Tom
 
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ide: branch now displayed in editor bar
Next Topic: TheIDE and U++ have been released on Flathub
Goto Forum:
  


Current Time: Wed Jun 05 19:08:20 CEST 2024

Total time taken to generate the page: 0.01335 seconds