Infinite loop constently opening a new window using Boost when applying zoom
I could not compile using Boost_Serialize but I've tested a part of the code that seamed suspicious and it actually creates a bug.
#if defined(USE_ITC) && defined(BOOST_SERIALIZE)
if (Info::Splitter::preview == true && Info::Render::_key_ctrl == true) {
// we are in preview mode, we have to load the actual data from the serialized files
Info::Splitter::_x_min = _min_visible_time;
Info::Splitter::_x_max = _max_visible_time;
// Info::Splitter::preview=false;
_interface_graphic->get_console()->load_data(_interface_graphic->get_trace());
Info::Render::_key_ctrl = false;
// return;
}
#endif
This code is in the apply_zoom_box
function. When applying a zoom on a trace, it opens another process with the same trace and applies a zoom to this one. But in this other process, a zoom is now applied, thus opening another process to apply the zoom...
I don't really know what this code was really intended for, and I don't really know if Boost is really used anymore so this needs to be checked.