[Marble-bugs] [Bug 276064] New: Interaction between SunLocator and map change

Helmut Mülner helmut.muelner at joanneum.at
Sun Jun 19 18:41:58 CEST 2011


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

           Summary: Interaction between SunLocator and map change
           Product: marble
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: marble-bugs at kde.org
        ReportedBy: helmut.muelner at joanneum.at


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Marble-bugs mailing list