Jump to content


Cursor jumping around after using post editor features


  • Please log in to reply
6 replies to this topic

#1 OFFLINE   Neil P

Neil P

    Resident Pyromaniac

  • Forum Moderators
  • 2,254 posts

Posted 07 June 2012 - 07:12 PM

This is a strange bug that I'm not sure is real or in my head. It seems to me that when you click on one of the buttons, say the bold button, and then start typing, hitting the backspace key causes the cursor to jump to unexpected locations.

It also happens when using the shortcuts, for example hitting Ctrl+I to italicize, typing a few letters and then hitting backspace. The cursor always jumps to where I started italicizing.

Steps to reproduce:

1. Press a post editor button, say the "B" for bold
2. Begin typing
3. Press the backspace key

Expected outcome:
The previous character entered will be deleted

Actual outcome:
The cursor jumps back to where the bolding was initiated.


This may be a "feature" of IPB, as it seems to always jump to the beginning of the bolding (or whatever button was used). However, it's completely counter-intuitive to me, so I wonder if it is actually a bug.

#2 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,700 posts

Posted 07 June 2012 - 07:18 PM

Testing...

Testing....

testing...again...

Nope. Can't duplicate in FF, Neil. :(

Clear your corrupted cache. :)
Posted Image

Posted Image Support Slackware: https://paypal.me/volkerdi

#3 OFFLINE   Neil P

Neil P

    Resident Pyromaniac

  • Forum Moderators
  • 2,254 posts

Posted 07 June 2012 - 07:51 PM

I cleared my cache and restarted Chrome. I still see it. Maybe it's a chrome/webkit bug? I have some other browsers installed, I will test it out.

#4 OFFLINE   Neil P

Neil P

    Resident Pyromaniac

  • Forum Moderators
  • 2,254 posts

Posted 07 June 2012 - 07:54 PM

This is a Safari Test (5.1.7; 7534.57.2). I hit ctrl+b.

Works as expected. (I'll just edit this post instead of posting a new one every time!)
=====

This is an Opera Test (11.64 Build 1403). I hit ctrl+b. Opening the tag and hitting backspace worked, but hitting Ctrl+B again moves the cursor to the beginning of the document, backspace not necessary.

=====

This is a Chrome Canary Test (21.0.1167.0 canary). I hit ctrl+b. Unsurprisingly, it acts the same as my chrome dev version (21.0.1163.0 dev-m) does (i.e., the "bug" happens)

=====

This is a Firefox (13) Test. I hit ctrl+b. Works as expected.

=====

This is an Aurora (Firefox 14a2) Test. I hit ctrl+b. Works as expected.

=====

This is an Internet Explorer (9.0.8112.16421) Test. I hit ctrl+b. Works as expected

#5 OFFLINE   Neil P

Neil P

    Resident Pyromaniac

  • Forum Moderators
  • 2,254 posts

Posted 07 June 2012 - 08:16 PM

So in summary, Chrome exhibits the bug for me (I'm using the dev version of Chrome), and I've seen it on all my systems (including in Ubuntu where I use Chromium). It doesn't affect Safari, so it seems to be a Chrome bug and not a WebKit bug. Firefox and Internet Explorer both work as expected (no bug). Opera works with the backspace key, but toggling off moves the cursor to the beginning of the document.

#6 OFFLINE   Neil P

Neil P

    Resident Pyromaniac

  • Forum Moderators
  • 2,254 posts

Posted 07 June 2012 - 08:47 PM

I did a little searching and found this InvisionPower community post, which led to this CKEditor bug, which led to this Webkit/Chrome bug (from 2007!!). It's Chrome only, it seems. And also looks fixed (or worked around?) in CKEditor, which according to the IP post, is what IPB uses. So maybe since it was fixed upstream, an IPB update will (eventually) fix it?

#7 OFFLINE   LilBambi

LilBambi

    Australisches Googler

  • Forum Admins
  • 22,548 posts

Posted 08 June 2012 - 10:05 AM

Pretty weird. If IPB wasn't using their own 'modified' CKEditor, it might not be so hard to fix. ;)
Bambi
AKA Fran

Posted Image
My Public Key for Email :: BambisMusings Blog :: Fran's Computer Services Blog :: MyPassionIsBooks Blog :: 5BuckReview :: CNIRadio
"The Net interprets censorship as damage and routes around it." ~John Gilmore (Time Magazine, Dec 6, 1993)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users