Page MenuHomePhabricator

[Regression pre-wmf5] Link inspector should not have red highlight when still empty
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

  1. Open a page with VE
  2. In an empty line, without selecting any text, click on link inspector icon from the toolbar.

Observe that, the link inspector opens with a blue highlighted border around the text field for the first time, now if you close the link inspector now and open again after this , everytime it opens red highlighted border

Expected : Red/ Blue highlight must be consistent on each time .

Screen_Shot_2015-05-04_at_2.38.31_PM.png (487×246 px, 36 KB)

Screen_Shot_2015-05-05_at_1.07.35_PM.png (321×182 px, 16 KB)

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 renamed this task from [Regression pre-wmf5] Link inspector opens with a red highlight around the empty text field except the first time of every edit session to [Regression pre-wmf5] Link inspector opens with a red highlight around the empty text field except for the first time of every edit session.May 5 2015, 8:24 PM
Ryasmeen assigned this task to Esanders.
Ryasmeen set Security to None.
Krinkle renamed this task from [Regression pre-wmf5] Link inspector opens with a red highlight around the empty text field except for the first time of every edit session to [Regression pre-wmf5] Link inspector should not have red highlight when still empty.May 6 2015, 5:47 PM
Krinkle added subscribers: Krinkle, Esanders.
matmarex changed the task status from Open to Stalled.May 7 2015, 2:07 PM

Was this reopened intentionally? I can no longer reproduce using steps given in description.

I can still reproduce it on both Betalabs and test2.Blue highlight appearing on the first time, red every time after wards. Attaching the video capture .

matmarex changed the task status from Stalled to Open.May 7 2015, 2:26 PM

Change 209494 had a related patch set uploaded (by Bartosz Dziewoński):
ve.ui.LinkInspector: Clear validation state of input on 'ready'

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

Change 209497 had a related patch set uploaded (by Esanders):
Allow override of setValidityFlag

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

Change 209497 merged by jenkins-bot:
TextInputWidget: Allow override of #setValidityFlag

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

Change 209494 merged by jenkins-bot:
ve.ui.LinkInspector: Clear validation state of input on 'ready'

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