Bug 276064 - Interaction between SunLocator and map change
Summary: Interaction between SunLocator and map change
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Microsoft Windows
: NOR normal
Target Milestone: 1.1.0
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-19 18:41 UTC by Helmut Mülner
Modified: 2012-02-04 14:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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