https://bugs.kde.org/show_bug.cgi?id=523420

            Bug ID: 523420
           Summary: New "Directory (Folder) Picker" open button doesn't
                    work
    Classification: Plasma
           Product: plasma-integration
      Version First 6.7.3
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 194546
  --> https://bugs.kde.org/attachment.cgi?id=194546&action=edit
Video of the observed behavior

DESCRIPTION
I recently upgraded to Plasma 6.7.3 and today I noticed that the new folder
picker dialog doesn't actually let me pick a folder. Specifically I'm using
QInputDialog::getExistingDirectory from a normal QWidgets based Qt application.
Calling it opens the dialog, but clicking "Open" does nothing and the dialog
doesn't close.

This also happens with a minimal test application that has a button with just

```cpp
QString selected = QFileDialog::getExistingDirectory();
qDebug() << "Selected" << selected;
```
in the click handler.

When running the application I also get the following in the terminal:
```
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Save
File" msgid_plural: "" msgctxt: "@title:window"
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Select
Folder" msgid_plural: "" msgctxt: "@title:window"
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.kio.widgets.kdirmodel: No node found for item that was just removed:
QUrl("file:///home/trilader/folder-picker-test/build/Desktop_Debug/Makefile")
```

STEPS TO REPRODUCE
1. Call QInputDialog::getExistingDirectory and interact with the dialog.

OBSERVED RESULT
I get the dialog and clicking "open" doesn't do anything.

EXPECTED RESULT
The dialog closes and the selected folder is returned from the API call.

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to