Bug 282672

Summary: MarbleWidget::regionSelected(QList<double>) returns wrong coordinates
Product: [Applications] marble Reporter: Bernhard Beschow <shentey>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: 1.3 (KDE 4.8)   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Bernhard Beschow 2011-09-24 12:08:46 UTC
Version:           unspecified (using Devel) 
OS:                Linux

Citing Anton Chernov:

I found that very strange values are returned in QList<double>. It
have to be coordiantes of selected region but it is not so. Some times
values are "similar" to true but usually not. I have already tried to
change projection to Mercator the same problem - coordinates are
incorrect.

Reproducible: Didn't try

Steps to Reproduce:
Connect to signal MarbleWidget::regionSelected(QList<double>).

Actual Results:  
strange values are returned in QList<double>

Expected Results:  
coordiantes of selected region
Comment 1 Bernhard Beschow 2011-09-24 12:36:55 UTC
Git commit c1571d199409870520032676f98e0902a62804e5 by Bernhard Beschow.
Committed on 24/09/2011 at 13:48.
Pushed by beschow into branch 'master'.

MarbleWidgetInputHandler: don't convert rubber coordinated from global

* fixes coordinates passed in signal MarbleWidget::regionSelected(QList<double>)

Thanks to Anton Chernov for the patch.

BUG: 282672
CCMAIL: chernov.anton.mail@gmail.com

M  +1    -3    src/lib/MarbleWidgetInputHandler.cpp

http://commits.kde.org/marble/c1571d199409870520032676f98e0902a62804e5