From eea5774f46bba925156498abf9cb1a1165647bf7 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Mon, 12 Aug 2024 17:41:25 +0200 Subject: [PATCH] HIG: add section on "Recently Used Files" Change-Id: I6d4190adc8a77ce755435f415b6bd281921990d1 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8005 Reviewed-by: waddlesplash Haiku-Format: Haiku-format Bot Tested-by: Commit checker robot --- docs/interface_guidelines/index.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/interface_guidelines/index.xml b/docs/interface_guidelines/index.xml index 50c4b52bcb..c16a03b5c8 100644 --- a/docs/interface_guidelines/index.xml +++ b/docs/interface_guidelines/index.xml @@ -377,6 +377,22 @@ R5. find_directory() is supported in both C and C++ environments. + +Easy Access to Recently Used Files +The Deskbar provides the most recently used documents, folders and applications, + but those lists are limited in slots (defaults to 10) and not permanent. Therefore, + applications that deal with files should provide the user with a list of files they + have opened or saved most recently. + +It's recommended to show the last 10 opened or saved files in a submenu of + the Open menu item in the File menu. If the user clicks the Open label, the + regular file dialog appears, otherwise they can choose the file to open from its + submenu. An example of this is the StyledEdit application. + +The Haiku API provides BRecentFilesList::NewFileListMenu() in the RecentItems.h + header that creates the recent files menu and has the system do all its management. + + Make Your App's Look Fit in with Others