Yinan-Scott-Shi / fds-smv

Automatically exported from code.google.com/p/fds-smv
0 stars 0 forks source link

Smokeview keys for backspace and delete are incorrect on Mac OSX #787

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Application Version: SMV Test
SVN Revision Number: 4230
Compile Date: June 23, 2009
Operating System: Mac OSX Leopard 10.5.7

The backspace and delete keys are different on Mac OSX and do not behave
properly when in SMV dialogs such as File/Bounds Settings.

Behavior now: Backspace key does nothing, delete key acts like backspace key

ASCII codes being sent on Mac:
Backspace: ASCII 8
Delete: ASCII 127

Expected behavior: Backspace (ASCII 8) should erase previous character,
Delete key (ASCII 127) should delete character in front

Original issue reported on code.google.com by koverholt on 24 Jun 2009 at 4:00

GoogleCodeExporter commented 9 years ago
Smokeview does not trap or handle backspace or delete keyboard events.  In other
words the "behavior" that these keys exhibit (erasing a character) occurs 
before or
outside of the scope of any Smoekview code.   If you want to call this an 
error, it
either an error with MAC OSX or perhaps the GLUT library as implemented by MAC 
OSX. 
In either case, there is nothing I can do to fix this problem.  

You'll just have to use the work around you've  already come up with .

Original comment by gfor...@gmail.com on 25 Jun 2009 at 2:11