[haiku-bugs] Re: [Haiku] #8191: Cmd+Tab should switch between tabs, not windows

  • From: "jscipione" <trac@xxxxxxxxxxxx>
  • Date: Mon, 10 Dec 2012 23:01:42 -0000

#8191: Cmd+Tab should switch between tabs, not windows
-------------------------------------+----------------------------
   Reporter:  rq                     |      Owner:  jscipione
       Type:  enhancement            |     Status:  assigned
   Priority:  normal                 |  Milestone:  R1
  Component:  Applications/Terminal  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by jscipione):

 Replying to [comment:14 rq]:
 > WRT to muscrular memory and Cmd+left/right: on other OS's these
 shortcuts are often used to jump to previous/next word in text editors.

 First of all, catering to the muscle memory of other operating systems, no
 matter how popular, is unwise IMHO; we should only seek to be internally
 consistent. How tab switching on other operating systems is immaterial,
 the question is, how should tab switching behave in Haiku?

 Secondly, you have to be more specific when citing examples. The function
 of Command+left and Command+right is not consistent on all other operating
 systems. What text editors in what systems use Command+left/Command+right
 to jump between previous/next word?

 For example in my text editor here, TextMate 1.5 on Mac OS X 10.6.8,
 Command+left/Command+right jump to the beginning and end of the line, not
 word. This is consistent with how Command+left/Command+right work on Mac
 OS X (most of the time anyway, see below).

 In my terminal application, iTerm2, Command+left/Command+right jump
 between tabs and not words or lines. This is because in a terminal
 application the usual conventions do not apply, instead you use your
 shell's keybindings, which on most Unix-like systems means Emacs
 keybindings. You can however set your shell to use vi keybindings and
 probably others as well. Another special case is browsers, in Firefox
 17.0.1 Command+left and Command+right perform back and forward
 respectively. So on this operating system, Command+left and Command+right
 are not 100% consistent, they yield to application specific needs.

 Moving onto Command+tab and Command+shift+tab... on Mac OS X those switch
 to the next and previous application, similar to how Control+tab and
 Control+tab work on Haiku. Control+tab and Control+Shift+tab seem to
 perform switching to the next tab and previous tab on Mac OS X on some
 application such as Firefox 17.0.1 and Safari 5.1.7 but not on others such
 as TextMate 1.5 and iTerm2.

 All that said, it doesn't really matter how it works on Mac OS X or
 Windows or Linux or any other OS. On Haiku modifiers involving the command
 key are reserved for application use. So the only question is, how should
 tab switching be defined in Terminal?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8191#comment:15>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: