Page MenuHomePhabricator

Visualeditor in Internet Explorer scrambles Texts when typing into new table cells
Open, Needs TriagePublicBug

Description

Editing tables with Internet Explorer 11 can scramble texts.

Steps to Reproduce:

  1. On Mediawiki, for example https://www.mediawiki.org/wiki/Project:Sandbox, with Internet Explorer 11 start the Visual Editor;
  2. Insert a new table, by default this inserts a 4x4 table with empty cells;
  3. Insert a string into every tablecell, for example "asdf"
  4. Click on "Publish changes..."

Actual Results:

  1. On editing, in some cells an extra paragraph with an empty slug will be added. The string is not vertically aligned then.
  2. After saving, in every such cells with the extra paragraph the string will be scrambled from "asdf" to "dfs", i.e. allways the first letter is omitted, and the second letter is moved to the end of the string.

Expected Results:

  1. On editing no extra paragraph with an empty slug should be inserted;
  2. After saving, all cells should contain the inserted string.

Tested on Windows 7 and 10 on Internet Explorer.

Event Timeline

Hwboehm created this task.Apr 15 2019, 2:22 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 15 2019, 2:22 PM

I can reproduce this on Windows 10 as well. The problem happens when typing with a "table selection" (blue overlay covering a table cell); it doesn't happen when typing with a "linear selection" (blinking cursor inside a table cell).

matmarex renamed this task from Visualeditor/Parsoid in Internet Explorer scrambles Texts to Visualeditor/Parsoid in Internet Explorer scrambles Texts when typing into new table cells.Apr 23 2019, 3:21 PM
matmarex renamed this task from Visualeditor/Parsoid in Internet Explorer scrambles Texts when typing into new table cells to Visualeditor in Internet Explorer scrambles Texts when typing into new table cells.
JTannerWMF moved this task from To Triage to Up next on the VisualEditor board.Apr 23 2019, 3:28 PM
JTannerWMF added a subscriber: JTannerWMF.

We will investigate this next Sprint and put the solution here if it isn't a quick fix. If it is something that will take time we will evaluate it in terms of our Q4 Work.

The problem appears to occur whenever you type into a table cell without entering it first (i.e. when the cell is selected and shaded by the blue selection). In the worst case we can disable that functionality in IE.

Osnard added a subscriber: Osnard.May 9 2019, 10:57 AM

Good news that there is a solution. Thanks for investigating. Is there any chance that this get's back ported to LTS branch REL1_31 ?