Difference between revisions of "Development:Planning:Menu item validation"

From Camino Wiki
Jump to navigation Jump to search
(→‎File menu: forgot Edit menu!)
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==
 
==Edit menu==
Line 33: Line 46:
 
* Paste
 
* Paste
 
* Delete
 
* Delete
 +
**Should only be enabled for bookmark items (works)
 
* Select All
 
* Select All
 +
**Should be disabled for binary content (bug number needed)
 
* Get Info
 
* Get Info
 +
**Should be disabled for about:history
 
* Fill Form
 
* 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 in Page
 
* Find Again
 
* Find Again

Revision as of 20:12, 21 June 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.

Application (Camino) menu

  • 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

File menu

  • 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)

Edit menu

  • Undo [action]
  • Redo
  • Cut
  • Copy
  • Paste
  • Delete
    • Should only be enabled for bookmark items (works)
  • Select All
    • 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
  • Special Characters

View menu

  • Hide Toolbar
  • Customize Toolbar
  • Hide Bookmark Bar
  • Show History
  • Stop Loading Page
  • Reload Page
  • Bigger Text
  • Smaller Text
  • View Page Source
  • Text Encoding (submenu)

Go menu

  • Home
  • Search the Web
  • Local Network Services (submenu)
  • Back
  • Forward
  • Clear History

Bookmarks menu

  • Add Page to Bookmarks
  • Add Bookmark Folder
  • Show Bookmarks

Window menu

  • Minimize
  • Zoom
  • Previous Tab
  • Next Tab
  • Downloads
  • Bring All to Front

Help menu

  • Camino Help
  • Camino Home Page
  • Camino Feedback
  • Installed Plug-Ins

Contextual menus to be added.