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

            Bug ID: 505559
           Summary: xdg-desktop-portal-kde crashes when Obsidian pdf
                    report opens dolphin for file save
    Classification: Plasma
           Product: xdg-desktop-portal-kde
      Version First 6.3.2
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: raitarohik...@protonmail.com
                CC: aleix...@kde.org
  Target Milestone: ---

Created attachment 182245
  --> https://bugs.kde.org/attachment.cgi?id=182245&action=edit
crash report by the KDE Crash Report tool

SUMMARY
I am experiencing issues with pdf-export for the flatpak version 1.8.10 of
md.obsidian.Obsidian.

The issue is very much the same as here
https://forum.obsidian.md/t/export-to-pdf-fails-on-kubuntu/95039  except the
solution proposed does not work for me (installing xdg-desktop-portal-gtk)

The dolphin dialog appears briefly and quickly disappears, followed by the
xdg-desktop-portal-kde Crash notification. Also occurs in sandbox vault. Also
occurs from the binary from the appimage.
I have raised this to the dicord of Obsidian, but I was told, quote:
```
That's interesting I don't see it crash, but I have to give it a full path
I think you should file a bug with the KDE team they are extremely good at
fixing them fast
```

STEPS TO REPRODUCE
1. install Obsidian md
2. use the sandbox vault (https://help.obsidian.md/sandbox)
3. open the command palette and find "Export to PDF"
4. click the export button 

OBSERVED RESULT
xdg-desktop-portal-kde crashes.
dolphin window closes and I cannot save the pdf

EXPECTED RESULT
not crashing. 
being able to save the file

SOFTWARE/OS VERSIONS
Operating System: TUXEDO OS 
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.11.0-118026-tuxedo (64-bit)
Graphics Platform: Wayland
Processors: 32 × Intel® Core™ i9-14900HX
Memory: 62.5 GiB of RAM
Graphics Processor 1: Intel® Graphics
Graphics Processor 2: NVIDIA GeForce RTX 4060 Laptop GPU

ADDITIONAL INFORMATION
$ apt search xdg-desktop-portal | grep installed
```
xdg-desktop-portal/noble,now 1.18.4-1+24.04+noble+release+build15 amd64
[installed]
xdg-desktop-portal-gtk/noble,now 1.15.1-1build2 amd64 [installed]
xdg-desktop-portal-kde/noble,now 6.3.2-0zneon+24.04+noble+release+build14 amd64
[installed]
```
$ systemctl --user status xdg-desktop-portal
```
● xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
     Active: active (running) since Fri 2025-06-13 09:37:16 EEST; 6min ago
   Main PID: 2385 (xdg-desktop-por)
      Tasks: 8 (limit: 76624)
     Memory: 6.1M (peak: 7.5M)
        CPU: 368ms
     CGroup:
/user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal.service
             └─2385 /usr/libexec/xdg-desktop-portal

iun 13 09:37:13 tux systemd[2279]: Starting xdg-desktop-portal.service - Portal
service...
iun 13 09:37:13 tux xdg-desktop-por[2385]: Choosing gtk.portal for
org.freedesktop.impl.portal.Lockdown as a last-resort fallback
iun 13 09:37:13 tux xdg-desktop-por[2385]: The preferred method to match portal
implementations to desktop environments is to use the portals.conf(5)
configuration file
iun 13 09:37:16 tux systemd[2279]: Started xdg-desktop-portal.service - Portal
service.
iun 13 09:38:23 tux xdg-desktop-por[2385]: Backend call failed: Message
recipient disconnected from message bus without replying
iun 13 09:38:25 tux xdg-desktop-por[2385]: Backend call failed: Message
recipient disconnected from message bus without replying
iun 13 09:38:33 tux xdg-desktop-por[2385]: Backend call failed: Message
recipient disconnected from message bus without replying
iun 13 09:39:02 tux xdg-desktop-por[2385]: Failed to ReadAll() from Settings
implementation: Timeout was reached
```

$ journalctl -g "xdg"
```
jun 13 09:09:07 tux dbus-daemon[2336]: [session uid=1000 pid=2336] Activating
via systemd: service name='org.freedesktop.portal.Flatpak'
unit='flatpak-portal.service' requested by ':1.101' (uid=1000 pid=14121
comm="xdg-dbus-proxy --args=42" label="flatpak (unconfined)")
jun 13 09:09:07 tux flatpak[14188]: xdg-settings
jun 13 09:09:28 tux xdg-desktop-portal-kde[2641]: KCrash: Application
'xdg-desktop-portal-kde' crashing... crashRecursionCounter = 2
jun 13 09:09:28 tux xdg-desktop-portal-kde[2641]: KCrash: Application Name =
xdg-desktop-portal-kde path = /usr/lib/x86_64-linux-gnu/libexec pid = 2641
jun 13 09:09:28 tux xdg-desktop-portal-kde[2641]: KCrash: Arguments:
/usr/lib/x86_64-linux-gnu/libexec/xdg-desktop-portal-kde
jun 13 09:09:29 tux dbus-daemon[2336]: [session uid=1000 pid=2336] Activating
via systemd: service name='org.freedesktop.impl.portal.desktop.kde'
unit='plasma-xdg-desktop-portal-kde.service' requested by ':1.18' (uid=1000
pid=2405
comm="/usr/libexec/xdg-desktop-portal" label="unconfined")
```
$ sudo apt install debuginfod libqt6widgets6 libqt6dbus6 libkf6kiocore6
libkf6coreaddons6 libkf6kiogui6
```
debuginfod is already the newest version (0.190-1.1ubuntu0.1).
libqt6widgets6 is already the newest version
(6.8.2-0zneon+24.04+noble+release+build42).
libqt6dbus6 is already the newest version
(6.8.2-0zneon+24.04+noble+release+build42).
libkf6kiocore6 is already the newest version
(6.11.0-0zneon+24.04+noble+release+build28).
libkf6coreaddons6 is already the newest version
(6.11.0-0zneon+24.04+noble+release+build14).
libkf6kiogui6 is already the newest version
(6.11.0-0zneon+24.04+noble+release+build28).
```

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

Reply via email to