[Digikam-devel] [Bug 178911] map search returns photos from what you see on the map and not the area you select
Arnd Baecker
arnd.baecker at web.de
Mon Dec 29 11:12:19 GMT 2008
http://bugs.kde.org/show_bug.cgi?id=178911
Arnd Baecker arnd baecker web de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|general |Map Searches
Ever Confirmed|0 |1
--- Comment #1 from Arnd Baecker <arnd baecker web de> 2008-12-29 12:12:18 ---
I also observe this behaviour.
On the konsole I get for different selection regions:
Selection region: ( 120 , 123 ) ( 202 , 191 )
West: 8.88512 North: 57.8784 East: 11.2337 South: 56.5583
Selection region: ( 18 , 6 ) ( 226 , 247 )
West: 8.88512 North: 57.8784 East: 11.2337 South: 56.5583
Ie, the lat-lon-box corresponds to the entire visible region.
This output comes from marble, where the conversion from
the selection region should be performed in
void MarbleWidget::setSelection(const QRect& region)
Looking at the code, d->m_map->viewParams()->viewport()
is used and the selected region (region.topLeft(), region.bottomRight() )
is not used.
So IMO, this bug should be transferred to marble.
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list