Ultimaker / cura-build-environment

CMake project to build dependencies for Cura
GNU Affero General Public License v3.0
24 stars 55 forks source link

Using xdgdesktopportal for FileDialogs #128

Closed jellespijker closed 2 years ago

jellespijker commented 2 years ago

Setting this env: export QT_QPA_PLATFORMTHEME=xdgdesktopportal should fix the File dialogs not opening up on various Linux systems, or opening up very slowely. This should use the native dialog on, every system. Our previous implementation was depended on a Filedialog which used a DirectoryList qml object which wasn't part of the PyQt6 binaries.

Contributes to CURA-9123