Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
rev 2173
thomas:
That is related to the new splash screen for certain, too.
Try running codeblocks -ns... works fine.
thomas:
Narrowed it down to MainFrame::ScanForPlugins().
thomas:
It works without the compiler plugin (which displays the modal "select default" dialog). My guess is that it is some issue between that dialog and the new splash screen (having fun with activate events?).
Ceniza:
Thomas: I thought you were going to use the style parameter in the constructor... :?
BTW, could you make this little change which is used in wxSplashScreen?
Replace, in cbSplashScreen's constructor (CPP file):
--- Code: (cpp) ---Update();
--- End code ---
With:
--- Code: (cpp) ---#if defined(__WXMSW__) || defined(__WXMAC__)
Update();
#else
wxYieldIfNeeded();
#endif
--- End code ---
Thanks (if you do) :P
thomas:
--- Quote ---BTW, could you make this little change
--- End quote ---
Did that (does of course not solve the problem).
Any ideas on what to do on that behalf? I believe it is a problem with activating/deactivating frames. I had a similar effect once when redesigning the file association stuff (using a dialog instead of an alert), and finally solved it by moving the dialog to a later stage when the splash screen was already destroyed and the main frame was active. With plugin initialisation, that may prove awkward.
Might experiment if the compiler plugin could hide it in case it needs to, but that's actually not such a pleasant solution either. A plugin should not fiddle with the application in such a way.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version