[haiku-bugs] Re: [Haiku] #15612: B_LEFT_ARROW and B_RIGHT_ARROW are not invoked when a TextView is focused

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 15 Jan 2020 21:37:15 -0000

#15612: B_LEFT_ARROW and B_RIGHT_ARROW are not invoked when a TextView is 
focused
----------------------------------+----------------------------
   Reporter:  Paradoxon           |      Owner:  nobody
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------
Comment (by Paradoxon):

 Replying to [comment:5 ttcoder]:

Sorry for the "drive-by commenting", but any chance that lines like this
 one are relevant? :

 https://xref.landonf.org/source/xref/haiku/src/kits/interface/TextView.cpp#5178

 Actually that could be the solution... since it removes the ARROW
 Shortcuts without check if the Textview installed it... and since its
 called in void BTextView::WindowActivated(bool active) ... but i need
 somehow to check if its called with active false or IsFocus() false and
 fActive is true :) somewhen on startup....
 But actually once the Texfield get losing focus ... it will also delete
 all Arrow Shortcuts anyway... thats not a save behavior :).

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

Other related posts: