Last modified: 2013-10-01 19:58:05 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 T56285, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54285 - VisualEditor: Media items are inserted after selection and do not replace them
VisualEditor: Media items are inserted after selection and do not replace them
Status: RESOLVED WONTFIX
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Rob Moen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-18 18:55 UTC by Renuka Alurkar
Modified: 2013-10-01 19:58 UTC (History)
4 users (show)

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


Attachments

Description Renuka Alurkar 2013-09-18 18:55:42 UTC
1)Log into http://en.wikipedia.beta.wmflabs.org
2)Go to your user page
3)Click on Edit beta tab
4)Click on More
5)Click Media
6)Enter santa claus, select a image from the selection of images
7)Select the image(the image is displayed in light blue)
8)Again click on More, then Media and select another image.

Expected:The original/old image should be replaced by the new image.
Observed: The new image is added and the original image is also displayed.

Another observation: Also, suppose there are 4 images Image1, Image2, Image3, Image4 one below the other. If Image2 is selected and I try to replace it with a new image, the new image appears in the place of Image3(instead of Image2).

Observed on Firefox and Chrome.
Comment 1 Chris McKenna 2013-10-01 19:53:11 UTC
I can confirm this is the current behaviour, and that both points are due to the same reason: new images are inserted immediately after a selected image.

However I'm not sure that this behaviour is incorrect though as it is consistent with what happens when a user inserts media or a template with text selected (the template/media is inserted after the selection rather than overwriting it) - see bug 52460.

There is an open request for the media settings dialog to allow an image to be easily changed though (bug 51033), which I think is a better way to handle this.
Comment 2 James Forrester 2013-10-01 19:58:05 UTC
Yes, confirming that this is intentional; closing as "WONTFIX". I agree that changing in line with bug 51033 would make more sense.

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


Navigation
Links