[marble] [Bug 381872] Crash when adding bookmark with UTM view angle

Wolfgang Bauer bugzilla_noreply at kde.org
Tue Jul 4 18:21:19 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=381872

--- Comment #2 from Wolfgang Bauer <wbauer at tmo.at> ---
PS, The crash got "introduced" by this change:
https://cgit.kde.org/marble.git/commit/?id=7859bf1cc1fdaf07b70446b1530358bff7bf43e3

I'd suggest to revert this (even in the 17.04 branch) until it's implemented
properly.

FTR, see src/lib/marble/LatLonEdit.cpp line#549 ff:
void LatLonEdit::setNotation(GeoDataCoordinates::Notation notation)
{
    delete d->m_inputHandler;
    d->m_inputHandler = 0;

    switch (notation) {
    case GeoDataCoordinates::Decimal:
        d->m_inputHandler = new DecimalInputHandler(d);
        break;
    case GeoDataCoordinates::DMS:
        d->m_inputHandler = new DMSInputHandler(d);
        break;
    case GeoDataCoordinates::DM:
        d->m_inputHandler = new DMInputHandler(d);
        break;
    case GeoDataCoordinates::UTM:
        /** @todo implement */ <==
        break;
    case GeoDataCoordinates::Astro:
        /** @todo implement */
        break;
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list