User forums > Help
Strange behavior of C::B over xming.
BlueHazzard:
Are you able to build codeblocks, and test patches?
I have not the possibility to set up a environment like yours, and it is difficult/impossible to fix this by guessing...
shredluc:
Yes, absolutely, i am able and willing to build and test patches.
In fact i thought that maybe the pre-built version has some issue so i actually built a version from source and that also had this behavior.
I know my setup is a completely borderline use case, but i am totally up for helping make codeblocks better.
EDIT:
I just wanted to clarify, un-checking the "parse-documentation" under Settings->Editor->Code completion->Documentation (tab) -> Parse Documentation (checkbox) did not change the behavior.
What did change the behavior was this:
Settings->Editor->General settings->Documentation popup (checkbox in code completion block)
Once that is not checked then obviously the documentation popup does not happen and so the code completion list stays put.
BlueHazzard:
After a quick search in the code completion code i think you have problems with the class UnfocusablePopupWindow. There is a conditional compiling in there. Can you check what class you use?
The related file is src\sdk\ccmanager.h:149
Can you check if the behavior is different if you swap the conditional compiling: Use wxFrame if wxPopupWindow is used.
shredluc:
so there was no ccmanager.h in src\sdk\, but there was a .cpp file which i take is what you meant. Taking what you wrote about the conditional compiling literally i commented out the sections that would be used if wxUSE_POPUPWIN was defined:
--- Code: ---// imported with small changes from PlatWX.cpp
class UnfocusablePopupWindow :
//#if wxUSE_POPUPWIN
// public wxPopupWindow
//#else
public wxFrame
//#endif // wxUSE_POPUPWIN
{
public:
//#if wxUSE_POPUPWIN
// typedef wxPopupWindow BaseClass;
// UnfocusablePopupWindow(wxWindow* parent, int style = wxBORDER_NONE) :
// wxPopupWindow(parent, style)
//#else
typedef wxFrame BaseClass;
UnfocusablePopupWindow(wxWindow* parent, int style = 0) :
wxFrame(parent, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize,
style | wxFRAME_NO_TASKBAR | wxFRAME_FLOAT_ON_PARENT | wxNO_BORDER | wxFRAME_SHAPED
#ifdef __WXMAC__
| wxPOPUP_WINDOW
#endif // __WXMAC__
)
//#endif // wxUSE_POPUPWIN
--- End code ---
Then i ran make, it compiled just fine. Ran codeblocks and this time the popup windows appear for a split second and then completely disappear. They do not get pushed to the background.
As an aside if i disable the Documentation popup at Settings->Editor..->General settings->Documentation popup
the single popup window stays on top just fine in either compiled version (with and without the edit i did)
If i did not do what you wanted me to do ill try again.
Navigation
[0] Message Index
[*] Previous page
Go to full version