Bug 504899

Summary: When using Obsidian on KDE to export PDFs, there's a UI bug when selecting the file path.
Product: [Plasma] xdg-desktop-portal-kde Reporter: shinnkka1
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aleixpol, kdedev, nate
Priority: NOR    
Version First Reported In: 6.3.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screen record

Description shinnkka1 2025-05-28 03:27:15 UTC
SUMMARY
When using Obsidian on KDE to export PDFs, there's a UI bug when selecting the file path.
I suspect it might be an issue with xdg-desktop-portal-kde, but it's also possible that it's not.
Refer to the Obsidian forum: https://forum.obsidian.md/t/export-to-pdf-broken-on-kde-linux/98005

STEPS TO REPRODUCE
1. open obsidian document
2. click “export to PDF”
3. select a path without click sidebar
4. submit

OBSERVED RESULT
nothing happen

EXPECTED RESULT
export a document to PDF

STEPS TO REPRODUCE
1. open obsidian document
2. click “export to PDF”
3. select a sidebar position (such as Download)
3. select a path
4.submit

OBSERVED RESULT
export a document to pdf

EXPECTED RESULT
export a document to pdf


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.14.7-zen2-1-zen Wayland
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Obsidian mentioned that they haven't made any changes. Given that there is a way to successfully select the file path, I believe this is purely a UI bug.
Comment 1 shinnkka1 2025-05-28 03:32:47 UTC
Additionally, I tested on GNOME, LXQt, and Hyprland — Obsidian works fine on all of them.
Comment 2 Nate Graham 2025-05-28 15:59:13 UTC
Can you please attach a screen recording that shows the issue happening?

Was the app installed from Flathub, or native distro packages?
Comment 3 shinnkka1 2025-05-29 04:46:54 UTC
Created attachment 181843 [details]
screen record

Of course, I've attached a compressed screen recording file. I'm using the Obsidian package from the Arch extra repository, while the reporter on the Obsidian forum is using the AppImage version — it seems the issue occurs with both. I haven't used the Flatpak version.
Comment 4 TraceyC 2025-05-29 15:24:31 UTC
Thanks for the screen recording, that helps.

I'm able to reproduce this on git-master, with Obsidian installed from Flatpak. I confirm that following the steps
I noticed that, as also seen in the screen recording, the dialog is in the ~/directory. The path shown in the navigation bar is weird:

./

After clicking on a folder in the left hand pane, it is corrected, e.g.

/home/tracey/Downloads/
Comment 5 shinnkka1 2025-05-29 16:05:06 UTC
It seems to be related to this bug: https://bugs.kde.org/show_bug.cgi?id=498911
Comment 6 TraceyC 2025-05-30 15:34:42 UTC
Good catch. I'm going to mark this as a duplicate of that one, and make some notes.

*** This bug has been marked as a duplicate of bug 498911 ***