Visualization minimap width resets itself
Steps to reproduce:
- Open a visualization
- Resize minimap
- Try to resize/move sampling region
Expected behavior: minimap width stays the same Actual behavior: minimap width gets reset to original
Just wanted to say that I'm also affected by this bug.
Have a nice day, Carlo
Hi everybody,
After doing some tests, it appears that this bug is not present on Ubuntu 18.04 but it is on Fedora 28. The only meaningful difference is that on Ubuntu pakages qt5.9 while fedora qt5.10.1.
I did some looking around and it seems like that it's probably related to this. My knowledge of qt is very limited, so I'm not sure, but the behaviour is very similar.
I'm going compile on my system with the old version to see if something changes. In case this is confirmed @koriakin @mkow could we add a note on BUILDING.md regarding this issue?
Thanks again to all, Carlo
I can confirm that this bug is do to some regression between qt5.9 and qt5.10.1 as now everything works great on my machine.
It seems like in qt5.10.1 void VisualizationMinimap::resizeGL(int w, int h) gets called even when it's not needed. For example when updating the selection, with qt5.9 only MinimapPanel::updateSelection gets called while qt5.10.1 calls also resizeGL
@mkow Can you check my findings and in case their are correct update the building guide?
Thanks again to all, Carlo