https://bugzilla.wikimedia.org/show_bug.cgi?id=62395

            Bug ID: 62395
           Summary: VisualEditor:  Inconsistent selection via cursor, when
                    an image is present inside the caption for another
                    image
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: jforrester+veteambztick...@wikimedia.org
          Reporter: wmf.whatamido...@yahoo.com
                CC: jforres...@wikimedia.org, krinklem...@gmail.com,
                    rm...@wikimedia.org, ryasm...@wikimedia.org,
                    tpars...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

Intention:
Delete an image.

Steps to Reproduce:
1. Click on
http://en.wikipedia.beta.wmflabs.org/w/index.php?oldid=82527&veaction=edit

2. Place cursor inside the ==Referenced text== section heading.

3. Press the forward arrow key a few times.  At the end of the line, you'll
select the entire image-and-image-containing-caption block.  Forward-arrow once
more, and you'll end up in the first paragraph.  (This is all expected
behavior.) 

4. If necessary, place your cursor in the first sentence after the ==Referenced
text== section heading.

5.  Press the back arrow key a few times.  This selects only the image that is
inside the caption, not the entire two-image block.  You can remove the second
image or change the caption for the first image (only) while your cursor is
there.  If you keep back-arrowing, you'll eventually select the whole block,
and then end up in the ==Referenced text== section heading. 


Expected Results:  
I expected forward- and backward- arrows to produce the same results.

I like the "backward" result better.  Why not make it possible to edit captions
simply by placing the cursor in the caption (either by clicking the caption
[instead of the image] or with the keyboard)?

Reproducible: Always

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to