Opened 4 months ago

Closed 4 months ago

#15784 closed defect (fixed)

[OSX-Cocoa] single line TextCtrl and tab navigations between them are broken since r75405

Reported by: koichi Owned by: csomor
Priority: normal Milestone:
Component: wxOSX-Cocoa Version: dev-latest
Keywords: wxTextCtrl Cc:
Blocked By: Blocking:
Patch: no

Description

Since r75405, even when the TextCtrl is single line mode, pressing enter key will insert a new line instead of generating a key event for navigation between controls.

Forward navigation by tab key works but backward navigation does not.
Even when Shift+tab is pressed, it still navigates forward.

You can reproduce these bugs in the widgets sample. Please try entering "Enter" and "Shift+tab" in text boxes.

Change History (4)

comment:1 Changed 4 months ago by csomor

  • Owner set to csomor
  • Status changed from new to accepted

I can see where a shift gets lost but I don't see where I changed the flow of ENTER, thanks anyway, I'll try to dissect things ...

comment:2 Changed 4 months ago by SC

(In [75487]) copy over all modifiers for single char events, fixes shift-tabs for single line controls, see #15784

comment:3 Changed 4 months ago by SC

(In [75488]) routing to common code, see #15784

comment:4 Changed 4 months ago by SC

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [75489]) moving special characters handling for EVT_CHAR into SetupKeyEvent, fixes #15784

Note: See TracTickets for help on using tickets.