Opened 10 years ago

Closed 9 years ago

#138 closed defect (wontfix)

Command-line does not receive ctrl-A, ctrl-E ... when graphics pane has focus

Reported by: Tom Goddard Owned by: Eric Pettersen
Priority: minor Milestone:
Component: Window Toolkit Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: chimera

Description

The control characters for navigating to the beginning or end of the command-line entry field don't work unless the focus is on the command-line entry field. If the focus is on the graphics pane (from clicking in the graphics) then ctrl-A produces a capital A in the command entry field.

Change History (6)

comment:1 by Eric Pettersen, 10 years ago

Status: newaccepted

The graphics pane forward the keystroke event to the command line, which then uses EmulateKeyPress() to process it. As per that function's documentation:

Please note that this function doesn’t currently work correctly for all keys under any platform but MSW.

So, will probably be an arduous adventure into Wx code to fix it.

comment:2 by Eric Pettersen, 10 years ago

Resolution: fixed
Status: acceptedclosed

Fixed by raising the main window to the top of the window hierarchy after the splash screen closes.

comment:3 by Tom Goddard, 10 years ago

Resolution: fixed
Status: closedreopened

This bug has returned.

comment:4 by Eric Pettersen, 10 years ago

Hmm, the "doesn't work for all keys except under MSW" seems very applicable here. The retarded way Wx handles the control key modifier on the Mac seems to be the main culprit here.

comment:5 by Eric Pettersen, 10 years ago

Component: User InterfaceWindow Toolkit

comment:6 by Eric Pettersen, 9 years ago

Resolution: wontfix
Status: reopenedclosed

Moving to Qt, and this works in Qt.

Note: See TracTickets for help on using tickets.