Bug 117454

Summary: All KDE applications should recognize the --tempfile option
Product: [I don't know] kde Reporter: Tristan Miller <psychonaut>
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tristan Miller 2005-12-01 19:45:51 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    SuSE RPMs

This report concerns the KDE User Interface Guidelines <http://developer.kde.org/documentation/standards/kde/style/basics/index.html>.

The Adobe Acrobat Reader supports a command-line option -tempFile:
    -tempFile
        Indicates files listed on the command line are temporary files
        and should not be put in the recent file list.

I think this would be very useful to implement globally for all KDE applications which read one or more input filenames from the command line and have a "File->Open recent" menu.  There is no point in clogging this menu with temporary files which are created, for example, when one clicks on an attachment in KMail, and erased immediately afterwards.

Rather than file this bug separately for every KDE application, I think KDE should adopt this as a KDE-wide interface standard and encourage developers to abide by it.  However, the option should probably be "--tempfile" instead of "-tempFile" to maintain uniformity with existing long options.
Comment 1 Tristan Miller 2008-09-24 11:50:00 UTC
I think it may be necessary to report this bug on a per-application basis, making reference to this bug.  Perhaps this bug could be used as a tracking bug via the dependency feature?
Comment 2 Nate Graham 2020-09-30 04:26:54 UTC
> All KDE applications should
I'm afraid bug reports about things that all KDE applications should do are too broad to ever be implemented. There are over 200 KDE apps now! You'd need to file bug reports on each app that needs this functionality, since it would need to be implemented differently for every app.