bugGNUstep - Bugs: bug #30539, Backspace key sends DEL (0x7f)...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #30539: Backspace key sends DEL (0x7f) character on OSX, whereas GS X backend does not

Submitted by:  Derek Fawcus <dfawcus>
Submitted on:  Sat 24 Jul 2010 12:05:30 PM UTC  
 
Category: BackendSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Closed

Mon 26 Jul 2010 08:08:30 PM UTC, comment #2:

Applied this patch plus a few changes in gui to have this working again with the changed key behaviour.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Sun 25 Jul 2010 09:27:06 PM UTC, comment #1:

This is another controversial change. When changing the key mapping here we also need to adjust the mapping in NSInputManager and make sure that all applications relying on the current behaviour get corrected as well.

As I understand it, you tested the behaviour on an Apple computer and found that the backspace key produces an NSDeleteCharacter.
Looking through the Google hit for NSDeleteCharacter there seems to be a lot of confusion even among the Apple developers.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Sat 24 Jul 2010 12:05:30 PM UTC, original submission:

If this is to match the OSX behaviour, then the backspace key should generate the DEL character. The change is obvious:

--- a/Source/x11/XGServerEvent.m
+++ b/Source/x11/XGServerEvent.m
@@ -2296,7 +2296,7 @@ process_char (KeySym keysym, unsigned *eventModifierFlags)
#endif
/* FIXME: The following line ? */
case XK_Escape: return 0x1b;
- case XK_BackSpace: return NSBackspaceKey;
+ case XK_BackSpace: return NSDeleteCharacter;

/* The following keys need to be reported as function keys */
#define XGPS_FUNCTIONKEY \

Derek Fawcus <dfawcus>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by dfawcus (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Oct 2011 08:48:48 PM UTCFredKieferStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Mon 26 Jul 2010 08:08:30 PM UTCFredKieferStatusNone=>Ready For Test
      Assigned toNone=>FredKiefer
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1