News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Internal error - wxWidgets Debug Alert

Started by wombat, April 13, 2021, 11:31:55 PM

Previous topic - Next topic

wombat

Hi there,

last year I started a topic with the same issue but couldn't reproduce it anymore. Today I found a way. But now the forum says "Warning: this topic has not been posted in for at least 120 days. Unless you're sure you want to reply, please consider starting a new topic." So, here it is.

In a larger uC-project I'm using Code::Blocks and Notepad++ parallel because of some nice features in NPP. For a compiler run the task switch normally works fine and CB asks to update the shown source code. The exceptions is when I activate CB by clicking with the mouse on the titlebar. Clicking in any frame works fine but the titlebar rises an assertation.

Please see attached screenshots for details.

I'm running the actual Win10 with CB and NPP in the latest release versions.



BlueHazzard

Can reproduce it with latest trunk...

Assert is thrown in editormanager.cpp:1012
tried to fix it with
  wxWindow* win = wxWindow::GetCapture();
                if (win && win->HasCapture())
                    win->ReleaseMouse();

but it did not help.... found this:
http://wxwidgets.10942.n7.nabble.com/HasCapture-sometimes-returns-wrong-result-under-Windows-td29846.html
not really helpfull...

oBFusCATed

Quote from: wombat on April 13, 2021, 11:31:55 PM
But now the forum says "Warning: this topic has not been posted in for at least 120 days. Unless you're sure you want to reply, please consider starting a new topic." So, here it is.
This is a case where you're sure you want to reply. You should have used the old topic.
Can you post a link to it?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

wombat

Sorry oBFusCATed, that was a misunderstandig on my side. The first post is here: https://forums.next.codeblocks.org/index.php/topic,24039.msg163923.html#msg163923 Is it possible to merge them? Or should the old topic be deleted? It has no information but the first alert report. Please feel free to do anything that keeps the forum clear and structured. I don't know how to do it.

Thanks to BlueHazzard for reproducing and quick investigation.