Last modified: 2014-10-14 23:34:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64395, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62395 - VisualEditor: Backwards cursoring of an image inside an image's caption selects the sub-image, not the main image (and then breaks nastily)
VisualEditor: Backwards cursoring of an image inside an image's caption selec...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High major
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks: ve-mediasupport
  Show dependency treegraph
 
Reported: 2014-03-07 18:39 UTC by WhatamIdoing
Modified: 2014-10-14 23:34 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description WhatamIdoing 2014-03-07 18:39:52 UTC
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
Comment 1 James Forrester 2014-10-14 23:34:34 UTC
This was fixed a while ago by Ed's selection/node work.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links