https://issues.qgis.org/https://issues.qgis.org/favicon.ico2017-10-18T10:27:59ZQGIS Issue TrackingQGIS Application - Bug report #17304: User profiles/Open active profile folder broken on ...https://issues.qgis.org/issues/17304?journal_id=836642017-10-18T10:27:59ZNyall Dawson
<ul></ul><p>It must be an upstream/distro issue -we just call a standard qt method for opening folders. Does the open project folder button in project properties work for you?</p> QGIS Application - Bug report #17304: User profiles/Open active profile folder broken on ...https://issues.qgis.org/issues/17304?journal_id=836692017-10-18T11:07:44ZRichard Duivenvoorde
<ul></ul><p>Nope, same message...</p>
<p>Same msg when I do it in the Python console:</p>
<pre>
QDesktopServices.openUrl(QUrl('/tmp'))
or
QDesktopServices.openUrl(QUrl('file:///tmp'))
</pre>
<p>Mmm, a true url is working:</p>
<pre>
QDesktopServices.openUrl(QUrl('http://qgis.org'))
</pre>
<p>Will google for Debian/Qt issues.</p> QGIS Application - Bug report #17304: User profiles/Open active profile folder broken on ...https://issues.qgis.org/issues/17304?journal_id=836722017-10-18T11:39:35ZBas Couwenbergsebastic@xs4all.nl
<ul></ul><p>According to the docs you should use:<br /><pre>
QDesktopServices::openUrl(QUrl::fromLocalFile('/tmp'));
</pre></p> QGIS Application - Bug report #17304: User profiles/Open active profile folder broken on ...https://issues.qgis.org/issues/17304?journal_id=836742017-10-18T12:30:10ZRichard Duivenvoorde
<ul><li><strong>Resolution</strong> set to <i>invalid</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Ok, after a restart all is working again :-(</p>
<p>Apparently a hickup of the Qt/Desktop glue after an apt update.</p>
<p>Sorry for the fuzz</p>
<p>fyi: either use, both work:<br /> QDesktopServices.openUrl(QUrl('file:///tmp'))<br /> or<br /> QDesktopServices.openUrl(QUrl.fromLocalFile('/tmp'))</p>