Bug 511263

Summary: okular should use the filename of a currently rendered markdown document as a default when exportig it as pdf
Product: [Applications] okular Reporter: Christian Hartmann <hartmann.christian>
Component: markdown backendAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 25.08.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Christian Hartmann 2025-10-28 12:03:19 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
when exportig a markdown document as pdf, okular should use the filename of the currently open and displayed document as a default for a new not yet existing pdf document.

STEPS TO REPRODUCE
1. open a marksown document in okular
2. export to pdf

OBSERVED RESULT
filename dialog does not offer any default name

EXPECTED RESULT
filename dialog reuses the filename of the markdown document as a default name

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.16.12-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland


ADDITIONAL
might be the same issue for other backends as well