VisualEditor: Drag-and-drop requires the item (image/reference/template) to be selected before it can be dragged
Closed, ResolvedPublic

Description

A user on the English Wikipedia reports two problems when attempting to drag and drop an image.
"Problem 1: Clicking on a media file and dragging the mouse causes the cursor to change to the "I'm moving an image" icon, but the image doesn't actually move. I can only move an image if I click it once to select it, then click and hold.

Problem 2: If I move an image a small enough distance across the screen that it doesn't actually move, I can't move it again unless I deselect it and then reselect it."

They are using Firefox 21, I can confirm both problems in Firefox 22.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=54472

bzimport set Reference to bz51665.
Thryduulf created this task.Via LegacyJul 19 2013, 9:05 AM
Elitre added a comment.Via ConduitSep 23 2013, 3:03 PM

Some suggestions about dragging from Adam C.:
"If I might suggest, if dragging isn't possible, why not just make it that when you select an image, you have a few buttons. A left arrow to move it left, a right arrow to move it right, a menu button between them that'll give you the chance to edit image properties (and to set the rarely-used centre), ideally a way to directly edit the caption without entering a menu, and perhaps a little drag bar at the top for moving it vertically? (Having a standardised place to grab and drag would be an excellent idea, by the way.I'd suggest adding a little bar at the top of an element when it's clicked on.)".

Qgil added a comment.Via ConduitSep 29 2013, 3:49 AM

fwiw about Problem 1 the same happens with text based templates. Tested with the template {{languages}} at the top of the page at https://www.mediawiki.org/wiki/Groups

Esanders added a comment.Via ConduitJun 17 2014, 12:41 PM

This doesn't appear to be a problem in master.

Jdforrester-WMF added a comment.Via ConduitJun 17 2014, 3:44 PM

Specifically, this was fixed by Ed's changes to clickable nodes last week.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.