Page MenuHomePhabricator

[Regression wmf24] Hitting return deletes the text even after deselecting it
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

1.Open VE
2.Type a text
3.Select the text
4.De-select it by clicking at the end of text
5.Press return to go to the next line

Observed Result:
It deletes the entire text that was selected before.

Event Timeline

Ryasmeen raised the priority of this task from to Needs Triage.
Ryasmeen updated the task description. (Show Details)
Ryasmeen added a project: VisualEditor.
Ryasmeen subscribed.
Ryasmeen set Security to None.
Catrope raised the priority of this task from High to Unbreak Now!.
Catrope added a subscriber: dchan.

At least that's what it git bisects to, but for whatever reason this isn't broken on enwiki which is supposed to be running wmf23.

Never mind, that commit really was in wmf24, I'm just bad at typing 23 when I mean 23.

DM range doesn't update when clicking at end of line, which would cause the behaviour described. Interestingly if you try it a second time it doesn't break.

Change 202266 had a related patch set uploaded (by Divec):
Fix typo in ve.ce.RangeState#compareSelections

https://gerrit.wikimedia.org/r/202266

Change 202266 merged by jenkins-bot:
Fix typo in ve.ce.RangeState#compareSelections

https://gerrit.wikimedia.org/r/202266

Catrope reassigned this task from Esanders to dchan.
Catrope edited a custom field.
Catrope removed a project: Patch-For-Review.

Change 202390 had a related patch set uploaded (by Jforrester):
Fix typo in ve.ce.RangeState#compareSelections

https://gerrit.wikimedia.org/r/202390

Change 202390 merged by jenkins-bot:
Fix typo in ve.ce.RangeState#compareSelections

https://gerrit.wikimedia.org/r/202390

Jdforrester-WMF renamed this task from [Regression wmf 24] Hitting return deletes the text even after deselecting it to [Regression wmf24] Hitting return deletes the text even after deselecting it.Apr 7 2015, 3:46 PM