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 4

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 Paradoxon)

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 (4)

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

in reply to:  1 comment:3 by Paradoxon, 5 years ago

Replying to 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.

comment:4 by Paradoxon, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.