Mentions légales du service

Skip to content
Snippets Groups Projects

Add warning "Infinite loop constently opening a new window using Boost when applying zoom"

Merged ORDRONNEAU Camille requested to merge cordronn/vite:issue-68 into master
@@ -138,6 +138,15 @@ bool Render_abstract::apply_zoom_box(Element_pos x_min, Element_pos x_max, Eleme
update_visible_interval_value();
#if defined(USE_ITC) && defined(BOOST_SERIALIZE)
#warning A known bug is being compiled, make sure that the bug is fixed before compiling
/**
* The next code creates a bug where process are being created in an infinite loop
* When applying a zoom on a trace, this code 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...
*
* Reported https://gitlab.inria.fr/solverstack/vite/-/issues/68
*/
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;
Loading