0.49.4/5 fails to keep the outline state but 0.49.6 crash when compiling C++

On linux C++ development, there are two problems can’t be resolved simultaneously when switching versions.

i) On 0.49.4 and 0.49.5 if I fold some classes int the Outline then switch to the chat panel then switch back the Outline was unfold and sticked to the front so that I have to click and scroll down multiple times to find my function to edit.

ii) When I switch to 0.49.6 if I compile the code with g++ 14.2.1 outside Cursor, Cursor crashes (kill: 9).

Thanks for your attention.