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

--- Comment #10 from Julius Künzel <jk.kde...@smartlab.uber.space> ---
@Jan In the meanwhile I have a new PC and new Plasma Version and I can still
reproduce this. Have you tested it on X11 or Wayland?

Here is some code to reproduce:

    QFileDialog *fileDialog = new QFileDialog(this);
    fileDialog->setFileMode(QFileDialog::Directory);

    if (fileDialog->exec() == QDialog::Accepted) {
        fileDialog->deleteLater();
    }

If you change use fileDialog->setFileMode(QFileDialog::ExistingFile) instead it
works perfectly fine.

Here is the output of flatpak-portal-test-kde after you triggered the "Open
(modal)…" button in the "Open Directory" row. If you do the same with the one
in the "FileChooser:" row there is no output:

    kf.kio.widgets: Cannot read information about filesystem under path
"/home/julius/.var/app/org.kde.portal-test-kde/cache/thumbnails/"
    Qt: Session management error: networkIdsList argument is NULL


Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Kernel Version: 5.15.6-051506-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800HS with Radeon Graphics
Memory: 15.1 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650 with Max-Q Design/PCIe/SSE2

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

Reply via email to