Last modified: 2012-10-29 18:10:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35078, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33078 - Visual Editor: select word with keyboard and overwrite doesn't work as expected
Visual Editor: select word with keyboard and overwrite doesn't work as expected
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: VE-deploy-2012-10-15
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-14 04:46 UTC by Dario Taraborelli
Modified: 2012-10-29 18:10 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dario Taraborelli 2011-12-14 04:46:22 UTC
Selecting text via the keyboard and overwriting it doesn't work as expected in Safari 5.1.2 / FF 8.0.1 - Mac OS 10.6.8.

If I double-click a word and overwrite it everything works fine. The same doesn't happen if I select words via the keyboard. 

Steps to reproduce:

1) Move the cursor to the end of the word "Interface" (after the "e") in the first headline of: http://www.mediawiki.org/wiki/Special:VisualEditorSandbox
2) Backward-select the word "Interface" character by character using the shift+left arrow OR select the entire word using option+shift+left arrow
3) Overwrite the selection by retyping the word "Interface"
4) an "e" appears from nowhere resulting in "Ienterface"
5) if you try the same select & overwrite trick with the word "interfaces" in the second headline of the SandBox an "s" appears ("isnterface")

This suggests that the last character of the selected word gets somehow inserted after the first character when you overwrite the whole word.

I can show you in 30 sec how to reproduce it if the above description is confusing.
Comment 1 Trevor Parscal 2011-12-14 18:57:33 UTC
I can verify that I've seen this as well.
Comment 2 Yair Rand 2011-12-26 02:35:17 UTC
It's as though the last character isn't highlighted at all. Copy-pasting the word results in "interfac".
Comment 3 James Forrester 2012-06-22 17:42:43 UTC
Fixed in new version of VE through using native implementation.
Comment 4 James Forrester 2012-10-15 22:58:00 UTC
Mass-moving old VisualEditor tickets to the VE product. Search for this message to mass-delete bugmail.
Comment 5 James Forrester 2012-10-29 18:10:19 UTC
Noting bugs closed in the 2012-10-15 release.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links