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 » U++ Core » Core regression between svn 6693 -> 6697
Re: Core regression between svn 6693 -> 6697 [message #41639 is a reply to message #41638] Mon, 06 January 2014 23:05 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi again,

After further verifications the simple WaitCursor() call works fine but there seems to be some other issue concerning this point I previously pointed out:
Quote:

Closing of a popup menu is delayed until the action selected by menu is finished (mostly visible when selecting copy action in GraphCtrl for the Big data graph)


I tried these three different codes to try to fallback in a 'simple WaitCursor()' case :
	bar.Add( t_("Copy"), GraphCtrlImg::COPY(),  THISBACK1(SaveToClipboard, false));
	bar.Add( t_("Copy_post"), GraphCtrlImg::COPY(), THISBACK2(PostCallback, THISBACK1(SaveToClipboard, false), 0));
	bar.Add( t_("Copy_100ms"), GraphCtrlImg::COPY(), THISBACK3(SetTimeCallback, 100, THISBACK1(SaveToClipboard, false), 0));false));


'Copy' : works but menu stays displayed until copy is finished (can be quite long)
'Copy_post' : menu disappears immediately after pressing button BUT .... the copying action starts only after I press the mouse button somewhere in the application : it will last indefinitely if I don't press the button !!!!
'Copy_100ms': Same as 'Copy_post'

The two later cases are very strange, especially if you consider that I already use 'SetTimeCallback()' without any problems
 
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 icon14.gif
Previous Topic: 6715 nightly build
Next Topic: Callback (THISBACK) Improve
Goto Forum:
  


Current Time: Tue May 14 11:13:50 CEST 2024

Total time taken to generate the page: 0.03348 seconds