Bug report #17304
User profiles/Open active profile folder broken on ...
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | GUI | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | invalid |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 25202 |
Description
See subject, while it has been working with me, now I do not get the 'File Explorer' opened anymore here on Debian Testing.
In my terminal it says:
This tool has been deprecated, use 'gio open' instead. See 'gio help open' for more info.
Not sure if this is Qt Related, or OS related:
QGIS version 2.99.0-Master QGIS code revision ab107d0e8c Compiled against Qt 5.9.1 Running against Qt 5.9.1 Compiled against GDAL/OGR 2.2.2 Running against GDAL/OGR 2.2.2 Compiled against GEOS 3.5.1-CAPI-1.9.1 Running against GEOS 3.5.1-CAPI-1.9.1 r4246 PostgreSQL Client Version 10.0 SpatiaLite Version 4.3.0a QWT Version 6.1.2 PROJ.4 Version 493 QScintilla2 Version 2.9.3 This copy of QGIS writes debugging output.
History
#1 Updated by Nyall Dawson about 7 years ago
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?
#2 Updated by Richard Duivenvoorde about 7 years ago
Nope, same message...
Same msg when I do it in the Python console:
QDesktopServices.openUrl(QUrl('/tmp')) or QDesktopServices.openUrl(QUrl('file:///tmp'))
Mmm, a true url is working:
QDesktopServices.openUrl(QUrl('http://qgis.org'))
Will google for Debian/Qt issues.
#3 Updated by Bas Couwenberg about 7 years ago
According to the docs you should use:
QDesktopServices::openUrl(QUrl::fromLocalFile('/tmp'));
#4 Updated by Richard Duivenvoorde about 7 years ago
- Resolution set to invalid
- Status changed from Open to Closed
Ok, after a restart all is working again :-(
Apparently a hickup of the Qt/Desktop glue after an apt update.
Sorry for the fuzz
fyi: either use, both work:
QDesktopServices.openUrl(QUrl('file:///tmp'))
or
QDesktopServices.openUrl(QUrl.fromLocalFile('/tmp'))