Mailinglist Archive: opensuse-bugs (4790 mails)

< Previous Next >
[Bug 1044747] marble reproducibly crashes when adding a bookmark while UTM is set for view angle
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sat, 01 Jul 2017 18:05:37 +0000
  • Message-id: <bug-1044747-21960-KUpFSAoVQc@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1044747
http://bugzilla.suse.com/show_bug.cgi?id=1044747#c3

--- Comment #3 from Wolfgang Bauer <wbauer@xxxxxx> ---
PS, the crash is actually here:
void LatLonEdit::setValue( qreal value )
{
// limit to allowed values
const qreal maxValue = (d->m_dimension == Longitude) ? 180.0 : 90.0;

if (value > maxValue) {
value = maxValue;
} else {
const qreal minValue = -maxValue;
if (value < minValue) {
value = minValue;
}
}

// no change?
if( value == d->m_value ) {
return;
}

d->m_value = value;

// calculate sub values
// calculation is done similar to GeoDataCoordinates::lonToString,
// perhaps should be moved with similar methods into some utility
class/namespace

d->m_updating = true;

d->m_inputHandler->setValue(value); <==

const bool isNegative = (value < 0.0);
d->m_sign->setCurrentIndex( isNegative ? NegativeSphereIndex :
PositiveSphereIndex );

d->m_updating = false;
}

I.e. at a different place, but you seem to be right that it's because of
d->m_inputhandler being NULL.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >