Bug 165071 - Everytime you open a document, it creates a duplicate entry in the "Recent Documents" menu's list instead of changing the recency sorting order
Summary: Everytime you open a document, it creates a duplicate entry in the "Recent Do...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
25.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Recent-Document-List
  Show dependency treegraph
 
Reported: 2025-02-06 00:57 UTC by Jeff Fortin Tam
Modified: 2025-02-06 01:40 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Fortin Tam 2025-02-06 00:57:19 UTC
In bug #165070's demonstration video, attachment #199008 [details], you can see that everytime you reopen a document, it creates another entry for it in the recent documents list menu, even if it was already present in that menu.

To reproduce:

1. From your file manager, open a LibreOffice document
2. Close LibreOffice
3. Repeat steps 1 and 2 a couple of times
4. Look at the "Recent Documents" menu in "Current Module Only" mode

Result: the same document is present multiple times in the list.

Instead, it should bump the existing entry up to the top of the recency list, not create a new entry.

This will keep the list's contents more relevant, and allow showing more different files, instead of a visually overloading list filled with duplicates.
Comment 1 Jeff Fortin Tam 2025-02-06 00:58:45 UTC
This was tested with:

Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 8; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Comment 2 m_a_riosv 2025-02-06 01:40:20 UTC
I can't reproduce with
Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

Please test in safe mode, Menu/Help/Restart in Safe Mode