Clicking on minimap to navigate result in monteverdi crashing
Mantis Issue 1197, reported by jmichel, assigned to salbert, created: 2016-04-20
With any image, trying to move by clicking on the minimap results in a crash.
1461165646 - poughovConfirmed. I just reproduced this bug on my Fedora 22, with OTB and monteverdi on their latest release branches. It also crashes without any images loaded. Could this be related to 1157?
Segmentation fault (core dumped)
1461221254 - poughovReproduced on windows 32 bits (with nightly 2016-04-20)
1461221285 - poughovChanging status to confirmed
1461236118 - salbertThis crash is revealed by this commit: http://git.orfeo-toolbox.org/monteverdi2.git/commit/d7922c94378615abedee760a1402721972cd159e (which was not included in tested packages -- nightly builds dated April 19th, 2016).
The ImageViewWidget::m_IsPickingEnabled flag is initialized to true for the main image-view and to false for the quicklook-view [1]. With aforementioned commit enabled, the ::m_IsPickingEnabled flag is arbitrary set to false when pressing the mouse button down and arbitrary set to true when mouse button is released without taking care of its previous/initialization value (which is false in the c