This is a follow up to ticket 1444
The above ticket was missing a major change responsible that the tree update works correctly at all for the SymboldBottomTree without the lower window selected.
Thus without the BottomTree the following function the Ticket 1444/Test2 misbehaviour can still be observed.
File: codecompletion/classbrowser.cpp
old code
void ClassBrowser::SelectSavedItem()
{
...
if (parent.IsOk() && m_ClassBrowserBuilderThread && m_Parser && m_Parser->ClassBrowserOptions().treeMembers)
{
m_CCTreeCtrl->SelectItem(parent);
m_CCTreeCtrl->EnsureVisible(parent);
}
New code (treeMembers removed)
void ClassBrowser::SelectSavedItem()
{
...
if (parent.IsOk() && m_ClassBrowserBuilderThread && m_Parser )
{
m_CCTreeCtrl->SelectItem(parent);
m_CCTreeCtrl->EnsureVisible(parent);
}
Comment from @pecanh from ticket 1444
Would you move this last change to new ticket since this one is already closed?
Also would you make the change to your system and run it for a while to see if there will be any side effects.
I did. I've been using this change for development since 6 days and I have not noted any unexpected side effects. So I would think its safe to commit that change
However, the change is very notable for users that ran the symbol browser without bottom tree, because the tree is now being updated a lot more often, even when that is mostly expected behaviour (see below).
Please note that I think these tickets are be connected:
Note that ticket 1447 (the above fix) was applied to Head rev 13430.
It was included in the Nightly for Jan 20 2024
Thanks Tiger Beard.
Last edit: pecan 2024-01-20
Thanks, I did not see that one.