[haiku-bugs] Re: [Haiku] #9586: Using the keyboard to select whole words

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Tue, 22 Apr 2014 10:36:49 -0000

#9586: Using the keyboard to select whole words
----------------------------------------+----------------------------
   Reporter:  Kev                       |      Owner:  stippi
       Type:  bug                       |     Status:  reopened
   Priority:  normal                    |  Milestone:  R1
  Component:  Applications/WebPositive  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  x86
----------------------------------------+----------------------------

Comment (by ttcoder):

 Regarding the suspicion that BWindow always eats command-xyz events, good
 point -- just realized that the "return true" here
 http://cgit.haiku-os.org/haiku/tree/src/kits/interface/Window.cpp#n3803

 is ''outside'' of the '' if(shortcut != NULL) '', weird.

 I guess the only way this works out for BTextView is [http://cgit.haiku-
 os.org/haiku/tree/src/kits/interface/Window.cpp#n3681 this] `return
 false`, meaning that keyboard events are not specifically targetted at the
 CurrentFocus() view (sounds reasonable right?).

 As to the behavior of arrow-key messages, as noted above it does not
 always work. In my experience it depends on how the tab was created, if
 you clicked inside it ..etc. Sometimes I press arrow-down and get no
 response at all, until I click the view. Had to do that (clicking) just
 now when responding to this ticket for example.

--
Ticket URL: <https://dev.haiku-os.org/ticket/9586#comment:6>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: