Bug 90318 - Temporary files generated by reports should not be added to recent documents list.
Summary: Temporary files generated by reports should not be added to recent documents ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.4.2.1 rc
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Recent-Document-List
  Show dependency treegraph
 
Reported: 2015-03-29 09:22 UTC by pierre-yves samyn
Modified: 2020-02-12 06:45 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Report.odb (database including a report) (20.59 KB, application/vnd.oasis.opendocument.database)
2015-03-29 09:22 UTC, pierre-yves samyn
Details
Screen shot of start center (89.32 KB, image/png)
2018-06-02 15:16 UTC, Drew Jensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pierre-yves samyn 2015-03-29 09:22:43 UTC
Created attachment 114440 [details]
Report.odb (database including a report)

Hi

Platform: Windows 7/64 & Version: 4.4.2.1
Build ID: 93fc8832889bf050a10ec6d0171dae213adc9b55
Locale: fr_FR

Temporary files generated by reports should not be added to the recent documents list.

Steps to Reproduce
1. Open the attached database
2. View> Database Objects> Reports
3. Right Click "Report"> Edit
4. Click "Execute Report" in the Standard toolbar

A temporary file is generated and the document opens.

Expected Result: This document should not feed the Recent Documents list.
Actual Result: Document is added to the list.

Each execution of a report generates a new temporary file fulfilling the list of recent documents.

Regards
Pierre-Yves
Comment 1 Julien Nabet 2015-03-29 15:19:00 UTC
On pc Debian x86-64 with master sources updated 2 days ago, I could reproduce this.
Comment 2 Matthew Francis 2015-04-05 16:14:53 UTC
This first occurred at
source-hash-d50f02bec4a70bd26a518e4e76f4a876454ab937
in bibisect 43all.

This seems certain to be the below commit.
Adding Cc: to sbergman@redhat.com; Could you possibly take a look at this? Thanks

commit de4c18bacaf75f378da829c2114a67f4007d7a22
Author: Stephan Bergmann <sbergman@redhat.com>
Date:   Fri Apr 27 11:08:37 2012 +0200

    Related fdo#37775: Update Recent Documents for r/o docs, too
    
    ...not sure why this explicit check was there at all.  Before the fix for
    fdo#37775, the check was not an issue, as docs were only added to Recent
    Documents upon saving them, anyway.
Comment 3 Robinson Tryon (qubit) 2015-12-13 11:12:00 UTC Comment hidden (obsolete)
Comment 4 Jean-Baptiste Faure 2016-04-19 20:28:01 UTC
Still there in current master (Version: 5.2.0.0.alpha0+
Build ID: 1be6c440c645e441af0e04ba7711e4b2d80aad63) built at home under Ubuntu 15.10 x86-64.

Changed version number according to description.

Best regards. JBF
Comment 5 Alex Thurgood 2016-06-16 08:27:12 UTC
Yep this is still the case as I found out when testing a chart bug report yesterday.

The temp files should be cleaned up on shutdown. At present they are kept in 

/user/temp/

and survive a restart of the office process.
Comment 6 Alex Thurgood 2016-06-16 08:30:19 UTC
I would be inclined to change the title from purely a UI report to a more general one of temp chart/report files not being allowed to survive on shutdown/restart of the office process.
Comment 7 Xisco Faulí 2016-09-26 15:51:52 UTC
Adding Cc: to Stephan Bergmann
Comment 8 Drew Jensen 2018-06-02 15:16:46 UTC
Created attachment 142487 [details]
Screen shot of start center

This bug is still alive with version 6.1Beta and 6.2 beta

It is not just reports, creating forms also and not just the menu choice is updated the Start Center is also updated.


Attached screen shot is from a new install of Libo 6.2Beta (built on June 2) after creating one Base file, then one form in it, followed by one report in it which was run 3 times.
Comment 9 QA Administrators 2019-06-03 02:49:40 UTC Comment hidden (obsolete)
Comment 10 Drew Jensen 2019-06-03 11:32:33 UTC
Using Ubuntu 18.04.01 and LO 6.2.5 first
Creating Forms or Reports or executing Reports will still leave a bogus entry in the MRU file list and on the Start Center page (bogus=pointing to a tmp file which will go away on session end)/