Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.13.1
-
None
-
Ubuntu 16.04, Python 3.7
Description
Sorry for the vague title but there are multiple things that do not work and this is possibly due to a binding issue. I am running Ubuntu 16.04 Python 3.7
import sys from PySide2.QtWidgets import QFileDialog, QApplication app = QApplication(sys.argv) loc = QFileDialog.getExistingDirectory(None, '', '/home', options=QFileDialog.Option.ShowDirsOnly) print(loc) sys.exit(app.exec_())
Issue 1: The above code presents
As opposed to the expected home directory. I have also tried passing the keyword arguments.
Issue 2: You cannot select a directory. Notice that the Open button on the bottom is greyed out.
Issue 3: The returned path is strange (I need to click a file to be able to get any path)
/run/user/1000/doc/7ab72791/thing
Import note is that I also have PyQt5 installed. Some of the others like `getSaveFileName` work!