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

            Bug ID: 489753
           Summary: Opening file dialog to save file in Neochat flatpak
                    quits the app
    Classification: Plasma
           Product: xdg-desktop-portal-kde
           Version: git-master
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: jan.rathm...@gmx.de
                CC: aleix...@kde.org, jgrul...@redhat.com, n...@kde.org
  Target Milestone: ---

SUMMARY
If the file dialog for saving a file is opened in Neochat flatpak, the whole
program quits.

STEPS TO REPRODUCE
1. Install Neochat flatpak from Flathub
2. Open a chat that contains messages with files/images attached.
3. Click on download button, or right-click, "Save as..:" on an image.

OBSERVED RESULT
File dialog window appears briefly (~0.5-2 sec.), then it disappears and
NeoChat quits with console output like this:

kf.solid.backends.udisks2: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.kio.core: Invalid URL: QUrl("/home/jan/Downloads")
kf.kio.widgets: Failed to check which JobView API is supported
"org.freedesktop.DBus.Error.ServiceUnknown"
kf.kio.core: Invalid URL: QUrl("/home/jan/Downloads")
kf.kio.core: Invalid URL: QUrl("/")
kf.kio.core: Invalid URL: QUrl("/home")
kf.kio.core: Invalid URL: QUrl("/home/jan")
kf.kio.core: Invalid URL: QUrl("/home/jan/Downloads")
ASSERT: "!protocol.isEmpty()" in file
/run/build-runtime/kio/src/core/kprotocolinfofactory.cpp, line 60

EXPECTED RESULT
File dialog lets you save the file (and Neochat keeps running ;-) ).

SOFTWARE/OS VERSIONS
Reproduced on
* Kubuntu 24.04 + self-build Plasma 6.1.2
* Kubuntu 24.04 + Plasma 5.27.11 (distro packages)
* Neon Unstable VM (Plasma 6.2-dev)

ADDITIONAL INFORMATION
@nicofee could also reproduce.

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

Reply via email to