[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 15:19:56 -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:1 KapiX]:

I don't see how my change could cause the behavior you describe. Yes, it
 touches the code that probably does (a dozen lines up there are
 B_LEFT/RIGHT_ARROW shortcuts being installed), but it was there already.
 Perhaps HasShortcut does not take Menu shortcuts into account - although I
 don't see any obvious problems in its logic.

 So sorry.. my investigation was totaly wrong..
 But i know that it was working back in the days ....
 The question is why are the Shortcuts working if no TextView is added (if
 i comment it out in the code i will recive the Message in MessageRecived)

 HasShortcut normaly take the MenuItem Shortcuts into Account...

 I will try to look into it closer.. sorry for blaming you.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15612#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: