Qt4's QFileDialog staticmethods (getOpenFileName, etc.) use the system file dialogs by default (KFileDialog). Unfortunately, KFileDialog does not respect the "selectedFilter" parameter. Reproducible: Always Steps to Reproduce: 1. Run: python3 -c 'from PyQt4.Qt import QApplication, QFileDialog; app = QApplication([]); QFileDialog.getOpenFileNameAndFilter(filter="Source (*.py);;Text (*.txt)", initialFilter="Text (*.txt)")' Actual Results: A file dialog appears with "Source" as default filter. Expected Results: A file dialog appears with "Text" as default filter. Running Arch Linux standard packages.
Does this reproduce using the KDE Frameworks 5 version?
The issue indeed appears to be fixed as of now.