Last modified: 2014-03-12 21:21:11 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 T59552, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57552 - VisualEditor: Cursor jumps to the beginning of first line after changing the heading format of a text in an article
VisualEditor: Cursor jumps to the beginning of first line after changing the ...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2014-02-27
Assigned To: Ed Sanders
:
: 60139 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-25 19:26 UTC by Rummana Yasmeen
Modified: 2014-03-12 21:21 UTC (History)
10 users (show)

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


Attachments
Screenshot (196.50 KB, image/png)
2013-11-25 19:26 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2013-11-25 19:26:08 UTC
Created attachment 13900 [details]
Screenshot

Steps to reproduce:

1.Click on the Edit button in a page
2.Select a text by dragging with mouse control.
3.Change the heading format of the text to any format for example:heading/paragraph etc.

Observed Result:
The cursor moves to a position which is the middle of the first and second line of the page
Comment 1 Rummana Yasmeen 2013-11-25 19:27:14 UTC
Test Environment: production
Browser: Chrome Version 26.0.1410.65 
OS: MAC OS X 10. 8. 5 
Example Page:https://en.wikipedia.org/wiki/User:RYasmeen_(WMF)/ref_not_editable?veaction=edit
Comment 2 Rummana Yasmeen 2014-02-25 21:34:13 UTC
This issue is still happening however I am changing the steps and observed result as follows:

Steps to reproduce:

1.Open a page with VE
2.Select any text with keyboard/mouse control/double click
3.Change the heading format of the section to any format, for example:Preformatted/Sub-heading 1 etc.

Observed Result:
The cursor jumps to the beginning of the page.Now Type something on the first line or apply a format on the first line say "Page title", it actually adds the text in the text position of step 2 replacing replacing its previous content and style.
Comment 3 Gerrit Notification Bot 2014-02-26 22:02:04 UTC
Change 115759 had a related patch set uploaded by Esanders:
Restore focus after node-destroying actions

https://gerrit.wikimedia.org/r/115759
Comment 4 Gerrit Notification Bot 2014-02-26 22:15:37 UTC
Change 115759 merged by jenkins-bot:
Restore focus after node-destroying actions

https://gerrit.wikimedia.org/r/115759
Comment 5 Rummana Yasmeen 2014-02-27 20:42:03 UTC
Verified the fix in betalabs:http://en.wikipedia.beta.wmflabs.org/w/index.php?title=27thfebchrome&veaction=edit
Comment 6 Roan Kattouw 2014-03-12 21:21:11 UTC
*** Bug 60139 has been marked as a duplicate of this bug. ***

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


Navigation
Links