Jump to content

Backspace Bug - Fixed!


19 replies to this topic

#1 l4Dl

    Member

  • PipPipPipPipPip
  • 149 posts

Posted 04 April 2013 - 12:26 PM

Hi all,

Not really a bug, just an annoyance on my part. The inability to hold the backspace key down and have the text removed just gets to me.

Issue 1:
Your in the middle of a game, you start to type something, then, someone else got there 1st. You are then forced to vigorously press the backspace key for each character on screen before you can move.

Issue 2:
Your at the login screen, you type your password wrong, you need to press backspace for each character in the box.

So instead of giving just feedback, i decided to take 5-10 minutes out of my day to try and help PGi.
A class function would be "better", but, this is what I came up with for now:

//-------------------------
// Global Variables
short KeyTimerTarget = 60; //initial delay before running the faster loop
// Global Data, define ready
short KeyTimer = KeyTimerTarget;
short KeyTrigger = 0;
//-------------------------
bool Input_BackSpace()
{
bool b;
if(iKeyDown(DIK_BACKSPACE))
{
	b = false;
  if(KeyTrigger == 2) //Check if Key has been held down for 2 passes
  {
   if(KeyTimer == 5) //Run a faster loop
   {
	b = true;
	KeyTimer = 0;
   }
   else
   {
KeyTimer++;
   }
  }
  else	//Run the initial loop
  {
   if(KeyTimer == KeyTimerTarget)
   {
	b = true;
	KeyTrigger++;
	KeyTimer = 0;
   }
   else
   {
KeyTimer++;
   }
  }
}
else
{
KeyTimer = KeyTimerTarget;
  KeyTrigger = 0;
}
return b;
}


edit: [ code ] [ / code] messes up the alignment.

And to use this in any of your script files:
extern bool Input_Backspace();
if(Input_BackSpace())
{
  //remove a character/string from the current
}


Would make me a very happy man (sad i know, but it really bugs me that much lol) :D

Edited by l4Dl, 17 April 2013 - 09:55 AM.


#2 BladeSplint

    Member

  • PipPipPipPipPipPip
  • 290 posts

Posted 04 April 2013 - 12:46 PM

Or you could just press "esc" twice and be done in a quarter of a second.

#3 FoXabre

    Member

  • PipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 113 posts

Posted 04 April 2013 - 12:50 PM

I hate when I'm faced with the following scenario: Typed up a long message that was either A) already announced by someone else or B ) would be considered awkward to post. Proceed with the backspace ubermashing. Then have an enemy Atlas present its AC20 to your face. Yeah... I would love to have a backspace fix.

View PostBladeSplint, on 04 April 2013 - 12:46 PM, said:

Or you could just press "esc" twice and be done in a quarter of a second.


Well damn...

Edited by FoXabre, 04 April 2013 - 12:50 PM.


#4 l4Dl

    Member

  • PipPipPipPipPip
  • 149 posts

Posted 04 April 2013 - 12:51 PM

View PostBladeSplint, on 04 April 2013 - 12:46 PM, said:

Or you could just press "esc" twice and be done in a quarter of a second.

That method doesnt work for the login screen, but, i'll try it for ingame (just a bit of a inconsistent nuisance for the user).
Cheers.

#5 Byk

    Member

  • PipPipPipPipPipPip
  • Ace Of Spades
  • Ace Of Spades
  • 257 posts
  • LocationSeattle, WA

Posted 04 April 2013 - 12:57 PM

View PostBladeSplint, on 04 April 2013 - 12:46 PM, said:

Or you could just press "esc" twice and be done in a quarter of a second.

Good to know. Although sometimes I have a moderately long message typed up, and I only want to backspace a couple of words to replace it or make it sound better. It's annoying to have to either delete it all and start over, or start single backspacing in the middle of a match.

#6 Bashars

    Member

  • PipPipPipPipPipPip
  • Elite Founder
  • Elite Founder
  • 205 posts

Posted 04 April 2013 - 01:09 PM

Yes its a pain but esc helps in game. And the login screen......plz how many times do you screw up your password?

#7 stjobe

    Member

  • PipPipPipPipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 9,498 posts
  • LocationOn your six, chipping away at your rear armour.

Posted 04 April 2013 - 01:12 PM

Ctrl-A, backspace/delete. Two keypresses.

Edited by stjobe, 04 April 2013 - 01:12 PM.


#8 von Pilsner

    Member

  • PipPipPipPipPipPipPipPip
  • 1,043 posts
  • LocationColorado

Posted 04 April 2013 - 01:12 PM

I really don't understand why anyone would want to keep the broken backspace... Is it just the habit of defending everything that PGI does?

It used to work like normal, then they broke it. They can fix it easily enough.

#9 DarkDevilDancer

    Member

  • PipPipPipPipPipPipPipPip
  • The People's Hero
  • The People
  • 1,108 posts

Posted 04 April 2013 - 01:16 PM

ESC key is your friend.

#10 Pyrrho

    Member

  • PipPipPipPipPipPipPip
  • Bad Company
  • 854 posts

Posted 04 April 2013 - 01:32 PM

SHIFT + HOME --> BACKSPACE --> ENTER

#11 l4Dl

    Member

  • PipPipPipPipPip
  • 149 posts

Posted 04 April 2013 - 04:12 PM

View Poststjobe, on 04 April 2013 - 01:12 PM, said:

Ctrl-A, backspace/delete. Two keypresses.

Technically, thats 3 key presses. "Ctrl", "A", "Backspace".
Regardless, its non-standard.
- Press Windows Key + R
- Type notepad
- press enter
- type some text
- hold down the backspace key
- admire as the text is disappearing before your eyes

This is called "common practice". Welcome to the world of "standard" computing :P

The whole point of this topic is to try and resolve a basic issue with the user input code. Its done, it just needs to be implemented.
The whole suggestion of "just do this instead" might work, however, it completely ignores basic user interface rules, and, "just turn your PC off and play scrabble" isn't really a answer :)

#12 Cache

    Member

  • PipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 746 posts

Posted 04 April 2013 - 04:59 PM

View Postvon Pilsner, on 04 April 2013 - 01:12 PM, said:

It used to work like normal, then they broke it. They can fix it easily enough.

I wouldn't call it normal. On the log in screen at least, hitting backspace would delete 2-3 characters for me. Current problem is more annoying.

#13 Lil Cthulhu

    Member

  • PipPipPipPipPipPipPip
  • Big Brother
  • 554 posts
  • LocationR'lyeh

Posted 04 April 2013 - 05:00 PM

View PostBladeSplint, on 04 April 2013 - 12:46 PM, said:

Or you could just press "esc" twice and be done in a quarter of a second.


I'm sorry, that is not an acceptable alternative to a properly working backspace key.

And it never will be, no matter how many times it's brought up.

#14 Dukarriope

    Member

  • PipPipPipPipPipPipPip
  • 923 posts
  • Twitter: Link
  • Locationa creative suite

Posted 04 April 2013 - 08:28 PM

Has anyone tried Shift + Home? Highlights the whole input box. Like, well, anywhere else.

#15 stjobe

    Member

  • PipPipPipPipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 9,498 posts
  • LocationOn your six, chipping away at your rear armour.

Posted 04 April 2013 - 11:46 PM

View Postl4Dl, on 04 April 2013 - 04:12 PM, said:

The whole suggestion of "just do this instead" might work, however, it completely ignores basic user interface rules, and, "just turn your PC off and play scrabble" isn't really a answer :P

Does the word "workaround" mean anything at all to you?

Of course they need to fix it. In the meantime, you can use Ctrl-A, backspace/delete, or Shift-Home, backspace/delete, or a few other things to stop having to hammer the backspace key like a [redacted].

#16 Lil Cthulhu

    Member

  • PipPipPipPipPipPipPip
  • Big Brother
  • 554 posts
  • LocationR'lyeh

Posted 05 April 2013 - 05:13 PM

View Poststjobe, on 04 April 2013 - 11:46 PM, said:

Does the word "workaround" mean anything at all to you?

Of course they need to fix it. In the meantime, you can use Ctrl-A, backspace/delete, or Shift-Home, backspace/delete, or a few other things to stop having to hammer the backspace key like a [redacted].


Well, see the thing about that is that this bug has been present for as long as I can remember and as the OP demonstrated, the fix is really rather simple.

So while you're busy defending PGI with jacklegged workarounds, this is one of those few problems where it actually would have only taken one member of the programming team ten minutes tops to actually fix it.

#17 Precarious

    Member

  • PipPip
  • 47 posts

Posted 05 April 2013 - 05:16 PM

View Poststjobe, on 04 April 2013 - 11:46 PM, said:

Does the word "workaround" mean anything at all to you?

Of course they need to fix it. In the meantime, you can use Ctrl-A, backspace/delete, or Shift-Home, backspace/delete, or a few other things to stop having to hammer the backspace key like a [redacted].



Does the premise of not ignoring problems in perpetuity and actually fixing ones which are easily addressed (read: less than an hour) mean nothing to you?

I am one of the fastest typists to have ever lived. http://data.typerace...=precariousgray

This bug is annoying, irrational, and needs to be fixed. If an error is made, it takes way, way, way too long to correct it. There, now you have it from the fingertips of God himself.

The end.

#18 Kobold

    Member

  • PipPipPipPipPipPipPipPipPip
  • Elite Founder
  • 2,930 posts
  • LocationChicago, IL

Posted 05 April 2013 - 05:19 PM

ctrl + a, backspace.

#19 Lil Cthulhu

    Member

  • PipPipPipPipPipPipPip
  • Big Brother
  • 554 posts
  • LocationR'lyeh

Posted 05 April 2013 - 05:20 PM

View PostKobold, on 05 April 2013 - 05:19 PM, said:

ctrl + a, backspace.


No, go away please.

#20 Precarious

    Member

  • PipPip
  • 47 posts

Posted 05 April 2013 - 05:21 PM

View PostKobold, on 05 April 2013 - 05:19 PM, said:

ctrl + a, backspace.


No. This is not a solution. This is you thinking that you are making a useful post. Here, allow me to help you: you aren't.





10 user(s) are reading this topic

0 members, 10 guests, 0 anonymous users