Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Visualization minimap width resets itself #418

Open
chivay opened this issue Mar 22, 2018 · 3 comments
Open

Visualization minimap width resets itself #418

chivay opened this issue Mar 22, 2018 · 3 comments

Comments

@chivay
Copy link
Contributor

chivay commented Mar 22, 2018

Steps to reproduce:

  1. Open a visualization
  2. Resize minimap
  3. Try to resize/move sampling region

Expected behavior: minimap width stays the same
Actual behavior: minimap width gets reset to original

@CarloMara
Copy link

Just wanted to say that I'm also affected by this bug.

Have a nice day,
Carlo

@CarloMara
Copy link

CarloMara commented Sep 14, 2018

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

@CarloMara
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants