Bug 282395 - Make opening files a better experience
Summary: Make opening files a better experience
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: 1.3 (KDE 4.8)
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 11:40 UTC by Anders Lund
Modified: 2011-09-24 09:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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