Bug 470119

Summary: Add an option not to open exported HTML files
Product: [Applications] ghostwriter Reporter: Riccardo Robecchi <sephiroth_pk>
Component: generalAssignee: Andy <zerofollowthrough>
Status: RESOLVED FIXED    
Severity: wishlist CC: zerofollowthrough
Priority: NOR    
Version First Reported In: 23.04.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Riccardo Robecchi 2023-05-22 11:17:57 UTC
SUMMARY
The current default behaviour makes it so that exported HTML files are automatically opened in the browser. At least in my own usage, this is actually unwanted behaviour as I have no use for the file being opened in the browser and I always end up closing the new tab instantly. It would therefore be great if an option not to open the newly-created file upon export were introduced.

STEPS TO REPRODUCE
1. Export a file to HTML

OBSERVED RESULT
The file is automatically opened in the browser.

EXPECTED RESULT
The file is not automatically opened in the browser.

SOFTWARE/OS VERSIONS
Linux: KDE neon
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Comment 1 megan.conkle 2023-06-11 07:22:52 UTC
Git commit e5636a628ad475262b0a9dbe08b09ccff6644712 by Megan Conkle, on behalf of Andy malinowski.
Committed on 11/06/2023 at 07:22.
Pushed by wereturtle into branch 'master'.

Added checkbox to not open exported files on export if unselected.

Made opening an exported file optional via a checkbox on the Export dialog.

M  +9    -1    src/export/exportdialog.cpp
M  +1    -0    src/export/exportdialog.h

https://invent.kde.org/office/ghostwriter/-/commit/e5636a628ad475262b0a9dbe08b09ccff6644712