Bug 470119 - Add an option not to open exported HTML files
Summary: Add an option not to open exported HTML files
Status: RESOLVED FIXED
Alias: None
Product: ghostwriter
Classification: Applications
Component: general (show other bugs)
Version: 23.04.1
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: Andy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-22 11:17 UTC by Riccardo Robecchi
Modified: 2023-06-11 07:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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