Difference between revisions of "Development:Planning:Shift Toggle"

From Camino Wiki
Jump to navigation Jump to search
(→‎Context Menu: view image)
Line 9: Line 9:
 
* Selecting a Go menu item (only when cmd is held down)
 
* Selecting a Go menu item (only when cmd is held down)
 
** pref: Yes
 
** pref: Yes
** toggle: No
+
** '''toggle: No'''
 
* Selecting "Open in Tabs" in the Bookmarks menu (only when cmd is held down)
 
* Selecting "Open in Tabs" in the Bookmarks menu (only when cmd is held down)
 
** pref: Yes
 
** pref: Yes
** toggle: No
+
** '''toggle: No'''
 
* Selecting a Bookmark Bar folder menu item (when cmd is held down, to open in new ''foo'')
 
* Selecting a Bookmark Bar folder menu item (when cmd is held down, to open in new ''foo'')
 
** pref: Yes
 
** pref: Yes
Line 18: Line 18:
 
* Selecting "Open in Tabs" in Bookmark Bar folder menus (only when cmd is held down)
 
* Selecting "Open in Tabs" in Bookmark Bar folder menus (only when cmd is held down)
 
** pref: Yes
 
** pref: Yes
** toggle: No
+
** '''toggle: No'''
  
 
====Context Menu====
 
====Context Menu====
 
* Open Link in New Window/New Tab in the context menu
 
* Open Link in New Window/New Tab in the context menu
 
** pref: Yes
 
** pref: Yes
** toggle: No
+
** '''toggle: No'''
 
* View image (when cmd is held down) in the context menu
 
* View image (when cmd is held down) in the context menu
 
** pref: Yes
 
** pref: Yes
Line 42: Line 42:
 
* Cmd-clicking a tab group
 
* Cmd-clicking a tab group
 
** pref: Yes
 
** pref: Yes
** toggle: No
+
** '''toggle: No'''
 +
* '''''NOT''' clicking a tab group (See Discussion)''
 
* Cmd-clicking a Bookmark Bar item
 
* Cmd-clicking a Bookmark Bar item
 
** pref: Yes
 
** pref: Yes
Line 49: Line 50:
 
** pref: No (has own pref)
 
** pref: No (has own pref)
 
** toggle: Yes
 
** toggle: Yes
 +
* '''''NOT''' double-clicking to create a new tab (See Discussion)''
  
 
===Dragging to the tab bar===
 
===Dragging to the tab bar===
Line 62: Line 64:
 
** {{bug|183401}} - Bring target tab to front on link drop, based on tab load-in-background setting
 
** {{bug|183401}} - Bring target tab to front on link drop, based on tab load-in-background setting
 
* Dragging a plain-text link to the tab bar
 
* Dragging a plain-text link to the tab bar
 +
** '''pref: No'''
 +
** '''toggle: No'''
 
* Dragging URL text from the location bar to the tab bar
 
* Dragging URL text from the location bar to the tab bar
 +
** '''pref: No'''
 +
** '''toggle: No'''
 
* Dragging a favicon from a tab or the location bar to the tab bar
 
* Dragging a favicon from a tab or the location bar to the tab bar
 +
** '''pref: No'''
 +
** '''toggle: No'''
 +
''The fix for {{bug|183401}} will almost certainly fix at least the above 3''
 
* Dragging one *loc to the tab bar
 
* Dragging one *loc to the tab bar
 +
** '''pref: No'''
 +
** '''toggle: No'''
 
* Dragging multiple *locs to the tab bar
 
* Dragging multiple *locs to the tab bar
 +
** '''pref: No'''
 +
** '''toggle: No'''
  
 
===Dragging to an existing tab===
 
===Dragging to an existing tab===

Revision as of 20:54, 26 May 2006

Camino has a "load in background" pref to control whether new tabs/windows spawned in various ways load in the backgroud or foreground. In addition, the shift key acts as a toggle, causing the tabs/windows to be opened in the opposite state from the pref.

Actions that need to respect the background pref and shift toggle

Menus

  • Selecting a Bookmarks menu item (when cmd is held down, to open in new foo)
    • pref: Yes
    • toggle: Yes
  • Selecting a Go menu item (only when cmd is held down)
    • pref: Yes
    • toggle: No
  • Selecting "Open in Tabs" in the Bookmarks menu (only when cmd is held down)
    • pref: Yes
    • toggle: No
  • Selecting a Bookmark Bar folder menu item (when cmd is held down, to open in new foo)
    • pref: Yes
    • toggle: Yes
  • Selecting "Open in Tabs" in Bookmark Bar folder menus (only when cmd is held down)
    • pref: Yes
    • toggle: No

Context Menu

  • Open Link in New Window/New Tab in the context menu
    • pref: Yes
    • toggle: No
  • View image (when cmd is held down) in the context menu
    • pref: Yes
    • toggle: Yes
  • Search (when cmd is held down) in the context menu
    • Bug 331670 - "Search" CM item needs to respect new & background keys/toggles
  • items in the Bookmarks Manager context menu/action button menu??

Text Entry

  • Cmd-return in location bar
    • pref: Yes
    • toggle: Yes
  • Cmd-return in search bar
    • pref: Yes
    • toggle: Yes

Toolbar

  • Cmd-clicking a tab group
    • pref: Yes
    • toggle: No
  • NOT clicking a tab group (See Discussion)
  • Cmd-clicking a Bookmark Bar item
    • pref: Yes
    • toggle: Yes
  • View Source Toolbar Button
    • pref: No (has own pref)
    • toggle: Yes
  • NOT double-clicking to create a new tab (See Discussion)

Dragging to the tab bar

Anything dragged to the blank area of the tab bar should open new tabs, respecting both the pref and the shift key.

  • Dragging a tab group to the tab bar
    • Bug 319627 - Cmd-drag a bookmark folder should append, not replace
  • Dragging a bookmark folder to the tab bar
    • Bug 319627 - Cmd-drag a bookmark folder should append, not replace
  • Dragging a Bookmark Bar item to the tab bar
    • Bug 320668 - Dragging a bookmark into the tab bar creates a background tab, regardless of pref
  • Dragging a link on a page to the tab bar
    • Bug 183401 - Bring target tab to front on link drop, based on tab load-in-background setting
  • Dragging a plain-text link to the tab bar
    • pref: No
    • toggle: No
  • Dragging URL text from the location bar to the tab bar
    • pref: No
    • toggle: No
  • Dragging a favicon from a tab or the location bar to the tab bar
    • pref: No
    • toggle: No

The fix for Bug 183401 will almost certainly fix at least the above 3

  • Dragging one *loc to the tab bar
    • pref: No
    • toggle: No
  • Dragging multiple *locs to the tab bar
    • pref: No
    • toggle: No

Dragging to an existing tab

We need foreground/background distinctions here. Dragging to the current tab should have the same behaviour as dragging to the content area; dragging to a background tab is what we need to worry about.

What about a Cmd-drag to the active tab? Cmd-drag to any tab should equal drag to the tab bar?

  • Dragging a tab group to an existing tab
    • Bug 319627 - Cmd-drag a bookmark folder should append, not replace
  • Dragging a bookmark folder to an existing tab
    • Bug 319627 - Cmd-drag a bookmark folder should append, not replace
  • Dragging a Bookmark Bar item to an existing tab
  • Dragging a link on a page to an existing tab
  • Dragging a plain-text link to an existing tab
  • Dragging URL text from the location bar to an existing tab
  • Dragging a favicon from a tab or the location bar to an existing tab
  • Dragging one *loc to an existing tab
  • Dragging multiple *locs to an existing tab

Dragging to the content area

  • Dragging a tab group to the content area
  • Dragging a bookmark folder to the content area
  • Dragging multiple *locs to the content area

IMO, the behaviour of the above three is all we need to worry about. If you drag a single item of any sort to the content area, it should load in the current tab, period. Anything else doesn't make much sense.

  • Dragging a Bookmark Bar item to the content area
  • Dragging a link on a page to the content area
  • Dragging a plain-text link to the content area
  • Dragging URL text from the location bar to the content area
  • Dragging a favicon from a tab or the location bar to the content area
  • Dragging one *loc to the content area

To Do

  1. Seek reviews to see if any actions are missing
  2. Determine if any do not make sense on this list, if any
  3. Determine
    • which of these work
    • which of these do not, but are covered by existing bugs (and link to bugs)
    • which need to be filed (then link, once filed)