Development:Planning:Menu item validation

From Camino Wiki
Jump to: navigation, search

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

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

  • 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

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.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox