Bug 164767 - "recent files" list shouldn't have numbers...
Summary: "recent files" list shouldn't have numbers...
Status: RESOLVED DUPLICATE of bug 160230
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-20 05:08 UTC by peter josvai
Modified: 2025-01-20 15:50 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 peter josvai 2025-01-20 05:08:15 UTC
Hi, 


the "Recent files" list has numbers...

for example:

1.my file 1
2.my file other

etc...


This is cool, BUT...

imagine that your files have numbers at the beginning of the filename, like, 

7-1--chapter_title
4-3-other-chapter-title

the list will then look like this:

1.7-1--chapter_title
2.4-3-other-chapter-title


NOT like: 

2.   7_1-chapter_title
but
2.7_1-chapter_title

...........

Suggestion:

Omit the number altogether. It has no relevance.

or

Have a different deliminator, 
like, "|" or ")".. plus a space :)

1. | 7_1--chapter

1.)  7_1--chapter

But omitting it would be perfect...
cause it really has zero relevance.



* * * Thank you for developing LIbreoffice and Writer * * *
Comment 1 Mike Kaganski 2025-01-20 05:36:21 UTC
1. The code pointer: RecentFilesMenuController::fillPopupMenu [1]
2. But "it really has zero relevance" is wrong. For the first ten elements, the number is the accelerator key (meaning that using the keyboard to navigate the menu, the key press sequence like F10->F->U->3 (or Alt+F->U->3) will open the recent file #3).

[1] https://opengrok.libreoffice.org/xref/core/framework/source/uielement/recentfilesmenucontroller.cxx?r=8c200de99582c0b961748202a3e40985b3f8aa4f#153
Comment 2 V Stuart Foote 2025-01-20 15:50:06 UTC

*** This bug has been marked as a duplicate of bug 160230 ***