Version: (using Devel) Installed from: Compiled sources OS: Linux - Open gpx file from command line (or from dolphin) - Zoom to gpx file after opening it - Option to show lines between dots - Support opening multiple gpx files in open file dialog
SVN commit 1118077 by nienhueser: Support opening multiple files at once. CCBUG: 163132 M +1 -2 QtMainWindow.cpp M +2 -3 marble_part.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1118077
Mostly done! Only remaining todo wish is: - Zoom to gpx file after opening it Question: do we want it? The fileview already centers on placemarks/geometries/documents when clicking on the item...
(In reply to comment #2) > Mostly done! > > Only remaining todo wish is: > - Zoom to gpx file after opening it > > Question: do we want it? > The fileview already centers on placemarks/geometries/documents when clicking > on the item... I'd say yes: Given the sheer number of items in the placemark list and the fact that the average user won't see the fileview, the loading of a kml/gpx file currently seems to have no effect. Therefore it'd be a good way to give some feedback. It should be limited to the situation where the user opens exactly one file though to avoid irritating behavior when opening multiple files or when calling the method from a lib / via dbus. This will be a bit tricky to implement though as the Qt/KDE application needs feedback from the file manager, I guess...
Git commit 954406a835ab07d61cd09a8f895f3afeb09226ec by Thibaut Gridel. Committed on 20/09/2011 at 22:11. Pushed by tgridel into branch 'master'. FileLoader: Recenter on file bbox when single user file BUG: 163132 M +10 -2 src/lib/FileLoader.cpp M +1 -0 src/lib/FileLoader.h M +10 -1 src/lib/FileManager.cpp M +3 -1 src/lib/FileManager.h M +6 -1 src/lib/MarbleModel.cpp M +2 -0 src/lib/MarbleModel.h M +5 -0 src/lib/MarbleWidget.cpp http://commits.kde.org/marble/954406a835ab07d61cd09a8f895f3afeb09226ec