Bug 276064

Summary: Interaction between SunLocator and map change
Product: [Applications] marble Reporter: Helmut Mülner <helmut.muelner>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: normal CC: helmut.muelner
Priority: NOR    
Version: unspecified   
Target Milestone: 1.1.0   
Platform: Compiled Sources   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Helmut Mülner 2011-06-19 18:41:57 UTC
Version:           unspecified (using Devel) 
OS:                MS Windows

If the SunLocator is set to centered and the user changes the map, input is disabled

Reproducible: Always

Steps to Reproduce:
1. In the sun control, select "Sun is Zenith at" -> Show.
2. Change to a different map


Actual Results:  
mouse input is disabled


The offending code is in MarbleWidget::setMapThemeId:

    if ( sunLocator && sunLocator->getCentered() ) {
        qreal  lon = sunLocator->getLon();
        qreal  lat = sunLocator->getLat();
        centerOn( lon, lat );

        setInputEnabled( false );
    }

setInputEnabled(true) is not call afterwards
Comment 1 Thibaut Gridel 2012-02-04 14:57:26 UTC
Got fixed in Marble 1.3