Page MenuHomePhabricator

Insert Link :Staus,Suggestions and link text are not refreshed in Safari
Closed, ResolvedPublic

Description

Author: wikibugs

Description:
Reporting against the build hosted on Staging environment. (http://prototype.wikimedia.org)

Steps to reproduce :

  1. Start editing a page in Safari
  2. Click 'Insert Link' icon <<Dialog is opened >>
  3. Enter 'A' in Page title text box

<< Status icon become orange instantly. Link suggestions appear later (after 2-3 sec)>>

  1. Now select a page from suggestion list

<< Status icon become green as expected >>

  1. Now bring cursor to end of page name
  2. Click backspace and delete a character

<< Status icon remain green even though there is no page with it>>

  1. Repeat step 6 and check status icon

<<Progress status is not shown. New list does not appear. Also the link text is not changed as user change the Page title >>

Expected Outcome:

  1. Progress status icon shall be displayed as user change the Page Title
  2. User shall be presented with new link suggestions as user change Page Title
  3. Status icon shall be changed accordingly as new page name is given

Other Observations::
This work fine in Firefox.

Test Environment ::
Browser (User-Agent): Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19.1
Javascript: Enabled
Cookies Enabled: Enabled
Java Enabled: Enabled
Screen Width x Height: 1280 x 800
Screen Color Depth: 32
Window Width: 574 (44.8% of 1280)
Window Height: 353 (44.1% of 800)


Version: unspecified
Severity: normal
OS: Windows Vista
Platform: PC
URL: http://prototype.wikimedia.org

Details

Reference
bz20867

Event Timeline

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

wikibugs wrote:

Wiki_r61577_2010-01-28_Link.pdf

Attached:

wikibugs wrote:

(In reply to comment #2)

Created an attachment (id=7041) [details]
Wiki_r61577_2010-01-28_Link.pdf

Please refer the attachment. Expected outcome number 01 is not resolved.

(In reply to comment #3)

(In reply to comment #2)

Created an attachment (id=7041) [details] [details]
Wiki_r61577_2010-01-28_Link.pdf

Please refer the attachment. Expected outcome number 01 is not resolved.

Which browser does this happen in? Works fine in Firefox but I suspect IE and/or Webkit may not update the existence status when you press backspace.

(In reply to comment #4)

(In reply to comment #3)

(In reply to comment #2)

Created an attachment (id=7041) [details] [details] [details]
Wiki_r61577_2010-01-28_Link.pdf

Please refer the attachment. Expected outcome number 01 is not resolved.

Which browser does this happen in? Works fine in Firefox but I suspect IE
and/or Webkit may not update the existence status when you press backspace.

Never mind, I'm an idiot. Obviously this is Safari, should've read the bug title :)

wikibugs wrote:

Wiki_r61584_2010-02-02_InsertLinkReturn.pdf

Tried the below ,

  1. Select a page from suggestion list
  2. Insert the link
  3. Click on insert link again.
  4. The page status indicator shows as the page is exists.

This showed in all the browsers

Attached:

amiller1 wrote:

Fixed both the reported issue and the separate issue identified in Comment 6 with r61894 and r61932 respectively. Please check both issues again.

wikibugs wrote:

Wiki_r59858_2010-02-05_PageStatusLink.pdf

Reporting against Babaco Release : test.wikipedia.org (version r59858)

Tried the below ,

  1. Select a page from suggestion list
  2. Click on Cancel
  3. Click on insert link again.
  4. The pop-up shows the valid link but the page status indicator is missing.

Attached:

wikibugs wrote:

(In reply to comment #8)

Created an attachment (id=7075) [details]
Wiki_r59858_2010-02-05_PageStatusLink.pdf

Reporting against Babaco Release : test.wikipedia.org (version r59858)

Tried the below ,

  1. Select a page from suggestion list
  2. Click on Cancel
  3. Click on insert link again.
  4. The pop-up shows the valid link but the page status indicator is missing.

Therefore Re-open the bug

amiller1 wrote:

Didn't account for that case. Addressed by simply triggering the change event on the text box when it's displayed ensuring that the status indicator will be up to date every time the dialog is opened. Fixed in r62033.

wikibugs wrote:

Verified and closed