Bug 282395

Summary: Make opening files a better experience
Product: [Applications] marble Reporter: Anders Lund <anderslund>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: wishlist CC: nienhueser
Priority: NOR    
Version: unspecified   
Target Milestone: 1.3 (KDE 4.8)   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anders Lund 2011-09-20 11:40:29 UTC
Version:           unspecified
OS:                Linux

Opening files with marble have been a really frustrating experience in many cases. There are a few things that could be done to improve this situation:

I don't think disabling "otherplaces" display should be possible in the map themes. In the resulting state, opening files with marble becomes a very bad/frustrating experience, because there is no result, if the file only contain placemarks/waypoints. In fact the state should not be possible at all! Alternatively, the user should of course be warned when attempting to open a file that contains placemarks.

If a file contains elements that can not be displayed for other reasons, warn the user.

After opening a file, zoom the map view to the bouncing box of the files visible content.

Reproducible: Didn't try

Steps to Reproduce:
bko is broken with khtml

Actual Results:  
bko is broken with khtml

Expected Results:  
bko is broken with khtml

OS: Linux (i686) release 3.0-ARCH
Compiler: gcc
Comment 1 Dennis Nienhüser 2011-09-20 15:51:07 UTC
See also bug 184217 (No dialog is shown to report error loading KML file) and bug 163132 (Marble GPX file handling).
Comment 2 Thibaut Gridel 2011-09-24 09:51:44 UTC
Git commit ed2c90691fc0fa0e29cfcc7beb628fb411a4f302 by Thibaut Gridel.
Committed on 24/09/2011 at 11:48.
Pushed by tgridel into branch 'master'.

PlacemarkLayout: display placemarks by default if properties are not set
in the map

BUG: 282395

M  +22   -7    src/lib/MarbleMap.cpp
M  +7    -0    src/lib/layers/PlacemarkLayout.cpp

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