Page MenuHomePhabricator

Double-clicking on a block transclusion that takes up most of the visible space inside a table cell doesn't edit the cell or edit the transclusion
Open, LowPublic8 Estimated Story Points

Description

Editing the template jungle of a main page is not exactly something VisualEditor is reasonable to use for, so I am mainly filing this in the hope that it uncovers a more generic bug.

The main page of hu.wikipedia is relatively straightforward: a table with two columns, each cell containing the "mainpage section" template which transcludes some other page which has the content, and adds borders and other styling. Trying to edit the "mainpage section" templates with VE fails on both FF and Chrome (did not test others), in different ways.

On FF (44.0.2/Win), clicking on a table cell selects all the text on the page and scrolls to the bottom of the page. See video by @Samat. Sometimes clicking on a cell highlights the cell in blue and brings up the table cell dialog, but most of the time it just does the select-and-scroll thing (it seems completely random).

On Chrome (48/Ubuntu), clicking on table cells highlights them in blue, but does not bring up the table cell dialog, and there is no obvious way to interact with the contents of the cell. (Pressing a cursor key does it, but that's hard to figure out. I would expect a popup dialog, or at least doubleclick to move the cursor inside the cell.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Table editing is broken in Firefox, per T128282.
Generally speaking, the home page is a bit different from common articles.
The table certainly isn't a basic one: there are several kind of pages with complex structures, and that's part of the reason why VE isn't default in many namespaces which typically host them.
The fact that it's difficult to edit a transclusion which includes templates is covered at T71799 though.

The fact that it's difficult to edit a transclusion which includes templates is covered at T71799 though.

That seems to be a different issue. This page does not have that many templates, and VE is perfectly responsive; it's just that double-click has no effect.

Jdforrester-WMF renamed this task from VisualEditor: can't edit table content on huwiki main page to Double-clicking on a block transclusion that takes up most of the visible space inside a table cell doesn't edit the cell or edit the transclusion.Mar 7 2016, 7:29 PM
Jdforrester-WMF triaged this task as Low priority.
Jdforrester-WMF set the point value for this task to 8.