Difference between revisions of "Development:Planning:Menu item validation"
Jump to navigation
Jump to search
(create article) |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | This is an ongoing attempt at auditing the validation state of all our menu items. A similar page exists for [[toolbar item validation]]. | + | This is an ongoing attempt at auditing the validation state of all our menu items. A similar page exists for [[toolbar item validation]]. Any menu items that don't specify validation parameters are always enabled. |
==Application (Camino) menu== | ==Application (Camino) menu== | ||
Line 6: | Line 6: | ||
* Reset Camino | * Reset Camino | ||
* Empty Cache | * Empty Cache | ||
+ | **Should be disabled if the cache is empty (new bug needed) | ||
* Services (submenu) | * Services (submenu) | ||
* Hide Camino | * Hide Camino | ||
+ | **Should be disabled if Camino is the only app showing (works) | ||
* Hide Others | * Hide Others | ||
+ | **Should be disabled if Camino is the only app showing (works) | ||
* Show All | * Show All | ||
+ | **Should be disabled if all apps are showing (works) | ||
* Quit Camino | * Quit Camino | ||
Line 16: | Line 20: | ||
* New Tab | * New Tab | ||
* Open File | * Open File | ||
+ | **Should be disabled if a sheet is up (works) | ||
* Open Location | * Open Location | ||
+ | **Should be disabled if a sheet is up (works) | ||
* Close Window | * Close Window | ||
+ | * Close All Windows (alternate) | ||
* Close Tab | * Close Tab | ||
+ | **Should be disabled if there's only one tab open in the current window (works) | ||
* Save As | * Save As | ||
+ | **Should be disabled for all about:URIs (Bug number needed) | ||
* Email Page Location | * Email Page Location | ||
+ | **Should be disabled for all about:URIs (Bug number needed, or possibly new bug) | ||
+ | **Should be disabled for view-source URIs | ||
* Import Bookmarks | * Import Bookmarks | ||
* Export Bookmarks | * Export Bookmarks | ||
* Page Setup | * Page Setup | ||
+ | **Should be disabled for all about:URIs (Bug number needed, or possibly new bug) | ||
* Print | * Print | ||
+ | **Should be disabled for all about:URIs (Bug number needed, or possibly new bug) | ||
+ | |||
+ | ==Edit menu== | ||
+ | * Undo [action] | ||
+ | * Redo | ||
+ | * Cut | ||
+ | * Copy | ||
+ | ** Should be enabled in Flash text fields ({{bug|315824}} comment 6) | ||
+ | * Paste | ||
+ | **All above Edit menu items are validated by the Undo Manager | ||
+ | * Delete | ||
+ | **Should only be enabled for bookmark items (works) | ||
+ | * Select All | ||
+ | **Should be disabled for binary content (bug number needed) | ||
+ | **: I think for a11y reasons you '''don't''' want to do that; Select All does work in these cases (or at least for simple images) [[User:Sardisson|sardisson]] | ||
+ | * Get Info | ||
+ | **Should be disabled for about:history | ||
+ | * Fill Form | ||
+ | **Should be disabled for binary content (bug number needed) | ||
+ | **Should be disabled for all about:URIs | ||
+ | **Should be disabled for view-source URIs | ||
+ | * Find in Page | ||
+ | * Find Again | ||
+ | * Find Previous | ||
+ | * User Selection for Find | ||
+ | **All Find options should be disabled for about:config (new bug needed) | ||
+ | **All Find options should be disabled for binary content (new bug needed) | ||
+ | **Use Selection for Find should be disabled when there is no selection (new bug needed) | ||
+ | * Special Characters… | ||
==View menu== | ==View menu== | ||
− | * Hide Toolbar | + | * Show/Hide Toolbar |
* Customize Toolbar | * Customize Toolbar | ||
− | * Hide Bookmark Bar | + | * Show/Hide Bookmark Bar |
* Show History | * Show History | ||
+ | **Should be disabled if History is already showing | ||
* Stop Loading Page | * Stop Loading Page | ||
+ | **Should be disabled if no page is loading (works) | ||
* Reload Page | * Reload Page | ||
+ | **Should be disabled when a page is in the "Looking up" stage of loading (bug number needed) | ||
+ | **Should be disabled when bookmarks/history are in view (works) | ||
+ | **Should be disabled when about:config is in view (new bug needed?) | ||
+ | * Force Reload Page (alternate) | ||
+ | * Reload All Tabs (alternate) | ||
+ | **Should be disabled if the frontmost window is not a browser window, or when it only has one tab (will work) | ||
+ | * Force Reload All Tabs (alternate) | ||
+ | :''Note: All Reload options inherit validation requirements of the reload option above them'' | ||
* Bigger Text | * Bigger Text | ||
+ | **Should be disabled when viewing non-text content | ||
+ | **Should be disabled when text is at maximum size (works) | ||
+ | **Should be disabled when bookmarks manager is in view (will work) | ||
* Smaller Text | * Smaller Text | ||
+ | **Should be disabled when viewing non-text content | ||
+ | **Should be disabled when text is at minimum size (works) | ||
+ | **Should be disabled when bookmarks manager is in view (will work) | ||
* View Page Source | * View Page Source | ||
* Text Encoding (submenu) | * Text Encoding (submenu) | ||
+ | **Should be disabled if at all possible when viewing non-text content | ||
==Go menu== | ==Go menu== |
Latest revision as of 23:34, 12 August 2006
This is an ongoing attempt at auditing the validation state of all our menu items. A similar page exists for toolbar item validation. Any menu items that don't specify validation parameters are always enabled.
Contents
- About Camino
- Preferences
- Reset Camino
- Empty Cache
- Should be disabled if the cache is empty (new bug needed)
- Services (submenu)
- Hide Camino
- Should be disabled if Camino is the only app showing (works)
- Hide Others
- Should be disabled if Camino is the only app showing (works)
- Show All
- Should be disabled if all apps are showing (works)
- Quit Camino
- New Window
- New Tab
- Open File
- Should be disabled if a sheet is up (works)
- Open Location
- Should be disabled if a sheet is up (works)
- Close Window
- Close All Windows (alternate)
- Close Tab
- Should be disabled if there's only one tab open in the current window (works)
- Save As
- Should be disabled for all about:URIs (Bug number needed)
- Email Page Location
- Should be disabled for all about:URIs (Bug number needed, or possibly new bug)
- Should be disabled for view-source URIs
- Import Bookmarks
- Export Bookmarks
- Page Setup
- Should be disabled for all about:URIs (Bug number needed, or possibly new bug)
- Print
- Should be disabled for all about:URIs (Bug number needed, or possibly new bug)
- Undo [action]
- Redo
- Cut
- Copy
- Should be enabled in Flash text fields (Bug 315824 comment 6)
- Paste
- All above Edit menu items are validated by the Undo Manager
- Delete
- Should only be enabled for bookmark items (works)
- Select All
- Should be disabled for binary content (bug number needed)
- I think for a11y reasons you don't want to do that; Select All does work in these cases (or at least for simple images) sardisson
- Should be disabled for binary content (bug number needed)
- Get Info
- Should be disabled for about:history
- Fill Form
- Should be disabled for binary content (bug number needed)
- Should be disabled for all about:URIs
- Should be disabled for view-source URIs
- Find in Page
- Find Again
- Find Previous
- User Selection for Find
- All Find options should be disabled for about:config (new bug needed)
- All Find options should be disabled for binary content (new bug needed)
- Use Selection for Find should be disabled when there is no selection (new bug needed)
- Special Characters…
- Show/Hide Toolbar
- Customize Toolbar
- Show/Hide Bookmark Bar
- Show History
- Should be disabled if History is already showing
- Stop Loading Page
- Should be disabled if no page is loading (works)
- Reload Page
- Should be disabled when a page is in the "Looking up" stage of loading (bug number needed)
- Should be disabled when bookmarks/history are in view (works)
- Should be disabled when about:config is in view (new bug needed?)
- Force Reload Page (alternate)
- Reload All Tabs (alternate)
- Should be disabled if the frontmost window is not a browser window, or when it only has one tab (will work)
- Force Reload All Tabs (alternate)
- Note: All Reload options inherit validation requirements of the reload option above them
- Bigger Text
- Should be disabled when viewing non-text content
- Should be disabled when text is at maximum size (works)
- Should be disabled when bookmarks manager is in view (will work)
- Smaller Text
- Should be disabled when viewing non-text content
- Should be disabled when text is at minimum size (works)
- Should be disabled when bookmarks manager is in view (will work)
- View Page Source
- Text Encoding (submenu)
- Should be disabled if at all possible when viewing non-text content
- Home
- Search the Web
- Local Network Services (submenu)
- Back
- Forward
- Clear History
- Add Page to Bookmarks
- Add Bookmark Folder
- Show Bookmarks
- Minimize
- Zoom
- Previous Tab
- Next Tab
- Downloads
- Bring All to Front
- Camino Help
- Camino Home Page
- Camino Feedback
- Installed Plug-Ins
Contextual menus to be added.