Opened 5 years ago

Last modified 5 years ago

#15612 new bug

B_LEFT_ARROW and B_RIGHT_ARROW are not invoked when a TextView is focused — at Version 2

Reported by: Paradoxon Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc: kapix
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

Since https://github.com/haiku/haiku/commit/17c9e987431f0a838ea579b9b77a6ad3bf4d7a29#diff-5875f6a800591cc589d7f2099a131158 MenuEntries with B_LEFT_ARROW or B_RIGHT_ARROW will stop working as soon as a TextView has a Focus.

e.g. if you are in the url textfield of WebPositive forward and backward navigation in history will stop working.

Not sure what the default behaviour should be.. but some apps the MenutItems stoped working like ScriptureGuide, FlyingTroll (never heard of this behaviour..:-) And WebPositive if the URL field is selected :-D.

Change History (2)

comment:1 by KapiX, 5 years ago

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.

comment:2 by diver, 5 years ago

Component: Servers/app_serverKits/Interface Kit
Description: modified (diff)
Owner: changed from axeld to nobody
Summary: B_LEFT_ARROW and B_RIGHT_ARROW are not invoked when a Textview is focused since wordwise updateB_LEFT_ARROW and B_RIGHT_ARROW are not invoked when a TextView is focused
Note: See TracTickets for help on using tickets.