User forums > Using Code::Blocks
Annoying error: Searching the Project tree and press down arrow
yvesdm3000:
It's a rather minor issue. With the SVN-version, I open up the CodeBlocks_unix workspace, I click in the Projects-tree on the root and type "config". And then I tap the down arrow, an assertion goes off saying
../src/generic/treectlg.cpp(1521): assert "IsVisible(item)" failed in GetNextVisible(): this item itself should be visible
I can still click 'continue' so it's more like an annoyance, but still a bug.
-Yves
oBFusCATed:
Can you please describe the steps with a bit more details?
What is this projects-tree?
Also can you paste the full backtrace?
yvesdm3000:
Hi,
I essentially want to search a file that has 'config' in its name in the workspace. I do that by focussing the Management -> "Projects" tab and click anything inside it.
Then I type 'config' and CB highlights any file that has the typed text inside its name. If I then tap the 'arrow down'-key, I get this assertion.
The dialog-box for the assertion that shows up doesn't seem to show any backtrace...
I played with it a little while and maybe the assertion is false. When I do the search, it seems to scroll down a little, making the first selection no longer visible. If there is an assertion that the selected item needs to be visible when pressing the down-arrow, maybe it should be made visible first ?
Version 10515
Yves
yvesdm3000:
Attachment shows backtrace. I can obviously set a breakpoint and make a backtrace from there, but I guess it's allready clear what happens ?
Yves
oBFusCATed:
I can reproduce this. Thank you. The screen shot is not helpful, but this doesn't matter.
Navigation
[0] Message Index
[#] Next page
Go to full version