Page MenuHomePhabricator

VisualEditor: Deletion from slugged header causes preceding paragraph to appear to be deleted, but remain in the DM(?)
Closed, DeclinedPublic

Description

Author: swalling

Description:
When attempting to remove an entire section with an h2 header, removing the text of the header does not remove the line separator underneath the header.

Additionally, one additional delete/backspace action deleted the entire preceding section, and it seems from the resulting content that I merely blanked the header but the wikitext for it remains.


Version: unspecified
Severity: normal

Details

Reference
bz49424

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:07 AM
bzimport set Reference to bz49424.

swalling wrote:

Result

Note empty header

Attached:

Screen_Shot_2013-06-10_at_11.33.16_PM.png (645×1 px, 156 KB)

This has also been reported by other users, and is something I observed in the usertesting videos we did, too.

The first part of this bug is a duplicate of bug 49452 ("Whitespace-only headings should be collapsed to (blank) paragraphs"), so re-purposing to be about the deletion issue.

@Steven - could you give more details about this bug with deletion magically hiding large blocks of text but not deleting them - was it in Chrome/Mac? Does it happen reliably (and can you reproduce now) or is it occasional?

@Oliver - is the "this" that users have seen the deletion causing a paragraph to no longer appear but still be there, or the heading-not-being-fully-deleted issue?

The latter; my apologies for not reading correctly! :)

Could someone provide step by step instruction how to reproduce this problem?

Change 70949 had a related patch set uploaded by Inez:
(bug 49424) Add empty lines before/after new block level images

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

AFAICT this is now fixed - marking as WORKSFORME. Please re-open if it recurs.