Last modified: 2014-06-23 17:50:42 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 T53666, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51666 - VisualEditor: When dragging content, possible places to place content (e.g. a line before the head of a section, or at the end of the page) should appear when the content gets near
VisualEditor: When dragging content, possible places to place content (e.g. a...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Low enhancement
: VE-deploy-2014-06-19
Assigned To: Ed Sanders
:
: 51292 54756 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-19 09:13 UTC by Chris McKenna
Modified: 2014-06-23 17:50 UTC (History)
7 users (show)

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


Attachments

Description Chris McKenna 2013-07-19 09:13:42 UTC
If you want to move an image to the start of a section in Visual Editor the logical course of action is to drag it to before the first character of the first word of the section.

A user of Firefox 21 reports this does not work at all, in my testing in Firefox 22 it appears to work only occasionally.

The counter-intuitive dragging the image to after the last character of the section title does work.
Comment 1 Quim Gil 2013-09-29 04:18:56 UTC
There is a similar problem when you try to drag elements to the end of the editable content area - see Bug 54756.
Comment 2 James Forrester 2013-10-08 15:31:49 UTC
I'm a little confused as to what the request is here - do you feel that VisualEditor should, when dragging, magically create (and destroy) places to put the cursor, so you can drag content there? Assuming this, I've re-titled, but please correct if I've misunderstood.

We've deliberately decided against that in the past as a confusing behaviour, hence why there are all the extra blank lines ("slugs") for the "possible place you could put the cursor which aren't actually there" concept.

We could do this, but I'm not sure. Also, it adds behaviour that is possible using a mouse but not the keyboard (dragging is not done in the keyboard, instead cut/paste is), which is a little uncomfortable given the intent of VisualEditor.

We've considered adding an "outline mode" which would have all the slugs shown, possibly including these ones, and an "editor mode" where no slugs at all would show, which could be one alternative to this request.
Comment 3 James Forrester 2013-10-08 15:35:58 UTC
*** Bug 54756 has been marked as a duplicate of this bug. ***
Comment 4 Gerrit Notification Bot 2014-06-16 13:44:29 UTC
Change 139674 had a related patch set uploaded by Esanders:
Block item drag and drop

https://gerrit.wikimedia.org/r/139674
Comment 5 Ed Sanders 2014-06-17 11:38:50 UTC
*** Bug 51292 has been marked as a duplicate of this bug. ***
Comment 6 Gerrit Notification Bot 2014-06-18 00:04:31 UTC
Change 139674 merged by jenkins-bot:
Block item drag and drop

https://gerrit.wikimedia.org/r/139674

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


Navigation
Links