Development:Planning:Toolbar item validation

From Camino Wiki
Revision as of 21:46, 25 June 2006 by Froodian (talk | contribs)
Jump to navigation Jump to search
  • Go Back
    • Must have at least one non-about:blank page previous to the current page in the current tab/window's session history to be enabled
  • Go Forward
    • Must have at least one non-about:blank page subsequent to the current page in the current tab/window's session history to be enabled
  • Reload Page
    • Disable when a page is in the "Looking up" stage. Disable when about:blank, about:bookmarks, or about:history are showing.
  • Stop Loading
    • Disable when a page and all its associated elements have finished loading
      what about post-initial-load ajax stuff?
  • Go Home
    • Disable when the current tab/window is displaying the home page
      what about multiple home pages?
  • Location/Search
    • Always enabled
  • Manage Bookmarks
    • Always enabled because it is a toggle; change icon state when the manager is open (Bug 235863
  • Progress
    • Same as Stop Loading above?
  • Print
    • Disable when viewing about:blank, about:config, about:history, about:bookmarks
  • View Page Source
  • Bookmark Page
  • New Tab
    • Always enabled
  • Close Tab
    • Disable when no tabs are present in the window, or when one tab is present but the tab bar is always shown
  • Bigger Text
  • Smaller Text
    • Disable both for about:blank, about:config, about:history, about:bookmarks, and tabs/windows of solely binary content
  • Email Page Location
    • Disable for all about: URIs and all view-source: URIs
  • Customize
    • Disable when currently customizing the toolbar (we already do this)
  • Downloads
    • Always enabled; it either opens the Downloads window or focuses it if open (we already do this)
  • Fill Form
    • Disable on all about: URIs, all view-source: URIs, all URIs of solely binary content, and, if possible, any page without form fields
  • History
    • Disable only when the History view of the Bookmarks Manager is active