Page MenuHomePhabricator

When a long heading is entered the TOC highlight get change
Closed, ResolvedPublic

Description

Author: wikibugs

Description:
Screen prints of the error

Reporting against Babaco Release : r57727

Steps to Reproduce ::

  1. Select a random page
  2. Edit a section
  3. Add several headings
  4. Edit the header name

<<First the correct TOC is highlighted>>
<<When the text line gets longer the next TOC is getting highlighted>>

  1. Once the editing finish, the correct one get highlighted

Expected Outcome::
the respective TOC line should be highlighted irrespective of the heading length

Test Environment::

Browser (User-Agent): Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 (.NET CLR 3.5.30729)

Browser (User-Agent): Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.28 (KHTML, like Gecko) Version/3.2.2 Safari/525.28.1

Browser (User-Agent): Opera/9.80 (X11 : Linux i686;U;en) Presto/2.2.15 Version/10.00


Version: unspecified
Severity: major
Platform: PC

Attached:

Details

Reference
bz21153

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:57 PM
bzimport set Reference to bz21153.

wikibugs wrote:

Test Environment::
This occur in all the browsers

Fixed in in r58096 by delaying highlighting until after the NTOC is updated, and updating sooner after the user stops typing.

wikibugs wrote:

Verified and closed