Last modified: 2012-07-02 22:19:33 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 T39815, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37815 - VisualEditor has broken delete behavior on end-of-file
VisualEditor has broken delete behavior on end-of-file
Status: RESOLVED DUPLICATE of bug 37813
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Christian Williams
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-21 22:24 UTC by ssastry
Modified: 2012-07-02 22:19 UTC (History)
7 users (show)

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


Attachments

Description ssastry 2012-06-21 22:24:22 UTC
* Move cursor to last line of the page.
* Delete till all subsequent empty lines are removed.
* The next delete will remove the first character of the line and subsequent deletes delete larger chunks of text.
Comment 1 Helder 2012-06-22 03:09:11 UTC
Confirmed.

When I press delete to remove the last character of the last line, I get:
----
Uncaught TypeError: Cannot read property 'node' of undefined ve.ce.Surface.js:847
ve.ce.Surface.showSelection ve.ce.Surface.js:847
ve.ce.Surface.onChange ve.ce.Surface.js:588
jQuery.extend.proxy.proxy load.php:816
ve.EventEmitter.emit ve.EventEmitter.js:33
ve.dm.Surface.change ve.dm.Surface.js:88
ve.ce.Surface.handleDelete ve.ce.Surface.js:753
ve.ce.Surface.onKeyDown ve.ce.Surface.js:194
jQuery.extend.proxy.proxy load.php:816
jQuery.event.dispatch load.php:3332
jQuery.event.add.elemData.handle.eventHandle
----
using Google Chrome 19.0.1084.56 on
https://www.mediawiki.org/wiki/VisualEditor:Sandbox?debug=1

Then, the cursor jumps to the beginning of the line. Subsequent delete will start removing the first characters.
Comment 2 MZMcBride 2012-06-22 20:20:50 UTC
Is this bug related to bug 37813?
Comment 3 James Forrester 2012-06-22 22:06:13 UTC
Mass-moving items into VisualEditor product
Comment 4 Christian Williams 2012-07-02 22:19:33 UTC
Yep, this is a duplicate of 37813, which is now fixed.

*** This bug has been marked as a duplicate of bug 37813 ***

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


Navigation
Links