Bug#800786: marble: open file dialog doesn't work
Package: marble
Version: 4:15.08.1+dfsg-2
Severity: normal
Tags: upstream patch
Dear Maintainer,
The open file dialog (Ctrl-O) doesn't work; the following patch fixes this:
diff -Nru marble-15.08.1+dfsg/debian/patches/fix-openurl.patch marble-15.08.1+dfsg0/debian/patches/fix-openurl.patch
--- marble-15.08.1+dfsg/debian/patches/fix-openurl.patch 1970-01-01 01:00:00.000000000 +0100
+++ marble-15.08.1+dfsg0/debian/patches/fix-openurl.patch 2015-10-03 16:43:02.000000000 +0200
@@ -0,0 +1,11 @@
+--- a/src/apps/marble-kde/marble_part.cpp
++++ b/src/apps/marble-kde/marble_part.cpp
+@@ -272,7 +272,7 @@
+ }
+
+ foreach( const QString &fileName, fileNames ) {
+- openUrl( fileName );
++ openUrl( QUrl::fromLocalFile( fileName ) );
+ }
+
+ return true;
diff -Nru marble-15.08.1+dfsg/debian/patches/series marble-15.08.1+dfsg0/debian/patches/series
--- marble-15.08.1+dfsg/debian/patches/series 2015-09-20 00:40:08.000000000 +0200
+++ marble-15.08.1+dfsg0/debian/patches/series 2015-10-03 16:42:36.000000000 +0200
@@ -2,3 +2,4 @@
do_not_install_private_headers
kubuntu_disable-MarbleRunnerManagerTest.diff
debian-avoid_installing_pruned_files.patch
+fix-openurl.patch
You probably also want to forward this upstream; apologies for my current
laziness but I figured you might have a quicker channel to them.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages marble depends on:
ii libc6 2.19-22
ii libgcc1 1:5.2.1-17
ii libkf5configcore5 5.14.0-1
ii libkf5configgui5 5.14.0-1
ii libkf5configwidgets5 5.14.0-1
ii libkf5coreaddons5 5.14.0-1
ii libkf5i18n5 5.14.0-1
ii libkf5kiowidgets5 5.14.0-1
ii libkf5newstuff5 5.14.0-1
ii libkf5parts5 5.14.0-1
ii libkf5runner5 5.14.0-1
ii libkf5wallet-bin 5.14.0-1
ii libkf5wallet5 5.14.0-1
ii libkf5widgetsaddons5 5.14.0-1
ii libkf5xmlgui5 5.14.0-1
ii libmarblewidget-qt5-22 4:15.08.1+dfsg-2.1
ii libqt5core5a 5.4.2+dfsg-9
ii libqt5dbus5 5.4.2+dfsg-9
ii libqt5gui5 5.4.2+dfsg-9
ii libqt5network5 5.4.2+dfsg-9
ii libqt5printsupport5 5.4.2+dfsg-9
ii libqt5widgets5 5.4.2+dfsg-9
ii libqt5xml5 5.4.2+dfsg-9
ii libstdc++6 5.2.1-17
ii marble-data 4:15.08.1+dfsg-2.1
ii marble-plugins 4:15.08.1+dfsg-2.1
marble recommends no packages.
Versions of packages marble suggests:
pn gosmore <none>
pn monav-routing-daemon <none>
pn routino <none>
-- no debconf information
Reply to: