Bug 206109

Summary: digikam marble map theme not selectable
Product: [Applications] digikam Reporter: Philippe ROUBACH <philippe.roubach>
Component: Geolocation-MarbleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: mike, opensource
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Sentry Crash Report:

Description Philippe ROUBACH 2009-09-03 13:57:44 UTC
Version:           1.0.0-beta4 (using 4.3.1 (KDE 4.3.1), Mandriva Linux release 2010.0 (Cooker) for i586)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31-desktop-0.rc8.1mnb

digikam 1.0.0b4
kipi-plugins 0.5.0

i click on the "map theme" button in the location panel
then
nothing happens

no list is displayed to choose another theme as openstreetmap for example
Comment 1 Michael Skiba 2009-09-03 14:09:01 UTC
Did you keep the button pressed for ~5 seconds?
Comment 2 Michael G. Hansen 2009-09-03 14:30:34 UTC
The map theme button has been set as setPopupMode(QToolButton::DelayedPopup), changing it to setPopupMode(QToolButton::InstantPopup) the menu pops up instantly. (worldmapwidget.cpp, WorldMapThemeBtn::WorldMapThemeBtn)

At least under KDE 4.3 with Qt 4.5, setPopupMode(QToolButton::InstantPopup) works fine.

Gilles, was there a problem in previous KDE/Qt versions?
Comment 3 Philippe ROUBACH 2009-09-03 14:32:16 UTC
(In reply to comment #1)
> Did you keep the button pressed for ~5 seconds?

5 s then ok it works

but why this timeout ? the rule with kde dialog is when you click it's almost
instantaneous, no ?
Comment 4 Philippe ROUBACH 2009-09-03 14:46:51 UTC
addendum to my comment #3

it works but with pb : see my bug #199259

it's a pity

this is a long term pb

is it possible to conceive using google maps instead of marble ?
Comment 5 caulier.gilles 2009-09-03 15:16:48 UTC
Philippe,

Yes, using new googlemaps api it's possible to play with googlemaps directly in digiKam, without to pass into a web site relay like it does in GPSSync kipi-plugins (this one need to be patched in the future). In fact, marblewidget will be replaced by a KHTML ionstance and will display googlemaps contents as well. A QStackedWidget can be used for that.

The problem is to be able to switch between marble and gogglemap without to loose features. It's not easy.

Gilles
Comment 6 caulier.gilles 2009-09-03 15:19:07 UTC
Michael, 

Can you fix QComboBox delay to your next patch in file #205001. Thanks in advance

Gilles
Comment 7 Michael G. Hansen 2009-09-03 15:26:56 UTC
Gilles,

I will include the fix in the next upload in bug #205001

Michael
Comment 8 Mikolaj Machowski 2009-09-03 17:21:50 UTC
As I described in Bug 206133 in many situations I prefer Open Street Map.

BTW, what about Ovi? Today Nokia announced they are opening API for developers.
Comment 9 caulier.gilles 2009-09-03 17:33:50 UTC
Ovi support is a task for marble as well...

Gilles Caulier
Comment 10 Philippe ROUBACH 2009-09-04 13:10:49 UTC
why you don't use gpssync instead of marble ?
thus
you can view and directly edit geolocalization

and

it's a handier way to edit photo geolocalization as you edit legend or something else
Comment 11 Michael G. Hansen 2009-10-02 11:06:04 UTC
Fixed as part of commit 1030300 for bug #205001

Michael