Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Fix ThreadSearch bug: all the items were deleted
Loaden:
The current ThreadSearch plugin code has a miner bug:
After the search session, When I try to drag the title bar of the result panel to stretch the window size, all the search result get re-flashed and lost.
I guess the related code is in:
--- Quote ---void ThreadSearchView::Update()
{
...
m_pLogger->Update(); /* delete this line*/
}
--- End quote ---
Then, in this Update() function, a function below will finally be called.
--- Quote ---void ThreadSearchLoggerList::Clear()
{
m_pListLog->DeleteAllItems();
m_IndexManager.Reset();
m_IndexOffset = 0;
}
--- End quote ---
Then, all the items were deleted.
If we delete this statement, we can fix this bug. What's your opinion? Jens.
Jenna:
--- Quote from: Loaden on April 06, 2010, 04:34:25 pm ---If we delete this statement, we can fix this bug. What's your opinion? Jens.
--- End quote ---
I can not reproduce the problem (linux).
I know that all search-results get deleted if the configuration-dialog ends.
Can you tell me exactly what you do before this happens (tree or list, logger or free-floating ...) ?
Do you use a clean ThreadSearch or did you make any changes or did you apply any patches ?
Loaden:
My OS is XPSP3.
Here are same question report: http://forums.codeblocks.org/index.php/topic,11850.0.html
The picture below is my ThreadSearch configs.
NOT apply any patch, ONLY SVN 6202.
[attachment deleted by admin]
ollydbg:
I can confirm this bug, please notice that this bug is related to this option:
--- Quote ---ThreadSearch panel managed by Layout
--- End quote ---
:D, if it is embedded in the Message notebook, there is no such problem.
Loaden:
--- Quote from: ollydbg on April 07, 2010, 03:59:18 am --- :D, if it is embedded in the Message notebook, there is no such problem.
--- End quote ---
Yes, I can confirm it.
Navigation
[0] Message Index
[#] Next page
Go to full version