Page MenuHomePhabricator

Cursor should be focused in Citoid's automatic box
Open, Needs TriagePublic

Description

What happened:

  1. Copy a URL for a source
  2. Click 'Cite'
  3. Paste URL
  4. Why's that URL in the article text instead of in the citoid box?
  5. Cancel that (which makes the URL disappear from the article text) and start over.

What should have happened:

  1. Copy a URL for a source
  2. Click 'Cite'
  3. Paste URL
  4. Click 'Generate'
  5. Be happy.

Event Timeline

Jdforrester-WMF changed the task status from Open to Stalled.May 30 2017, 7:26 PM
Jdforrester-WMF moved this task from To Triage to TR0: Interrupt on the VisualEditor board.

Firefox 54 on macOS 10.12.5. I can't reproduce this in Safari 10.

Whatamidoing-WMF changed the task status from Stalled to Open.Jun 29 2017, 6:09 PM

Can't reproduce in FF+Mac. Can you? Can someone else with a Mac (@Jdforrester-WMF ?)

Deskana changed the task status from Open to Stalled.Jul 11 2017, 1:05 PM
Deskana subscribed.

I can't reproduce this in Firefox 53 or 54 on my Mac. Is this still happening for @Whatamidoing-WMF?

P.S. No, I don't keep two separate versions of Firefox on my computer. I went to check which version it was, it told me 53, and then it decided to update to 54. ;-)

Yeah, I can't replicate this either. Possibly caused by typing too fast, but I couldn't get it to happen even then. Propose marking this as Invalid?

  1. There is no such thing as "typing too fast".
  2. I can reproduce if doing this is the very first thing that I try to do in the document. Perhaps it's not sure where the cursor is supposed to be?
  1. I can reproduce if doing this is the very first thing that I try to do in the document.

Do you mean the first thing you insert, or literally the first you do i.e. before even moving the cursor to a sensible place? If it's the latter then we can mark it very low...

The most reliable way for me to reproduce it is to do this as literally the very first thing: Open page, click the Cite button, and immediately paste the URL. Do not click anywhere in the page before clicking the Cite button, and do not use the keyboard shortcut to open the citoid box.

(I shouldn't have to move the cursor to a sensible place; it ought to automatically be in a sensible place, always.)

The most reliable way for me to reproduce it is to do this as literally the very first thing: Open page, click the Cite button, and immediately paste the URL. Do not click anywhere in the page before clicking the Cite button, and do not use the keyboard shortcut to open the citoid box.

Even with these steps, I am still unable to reproduce this. :-/

Boldly closing as declined as unfortunately nobody has managed to reproduced (and as tasks shouldn't be "stalled" for many years).
If this still happens and if there are clearer steps to reproduce, then please reopen.

I can reproduce this if I paste (cmd+v) really fast after pressing the Cite-button on Safari 13.1 on MacOS 10.15.4.
See this screen recording (you can't see my keystrokes, but you can see that pressing X on the Citoid dialogue removes the pasted URL from the article text.)
https://youtu.be/S546acACPKw

The cursor automatically focuses on the citoid box, but it is "too slow".

It is the case that if you type while an inspector is still opening (citoid/link), then you won't be typing into the inspector. Inspectors can take an arbitrary amount of time to open (although in most cases it is very quick), but given that a text input is not yet visible, I think this is clearly communicated to the user.