Last modified: 2014-03-01 02:14:56 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 T45026, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43026 - VisualEditor: Deletion of slugs causes significant confusion (and shouldn't be possible?)
VisualEditor: Deletion of slugs causes significant confusion (and shouldn't b...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-12 17:49 UTC by Gregor Hagedorn
Modified: 2014-03-01 02:14 UTC (History)
7 users (show)

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


Attachments
Mockup of VisualEditor in various modes (504.58 KB, image/png)
2013-02-11 18:59 UTC, Trevor Parscal
Details

Description Gregor Hagedorn 2012-12-12 17:49:57 UTC
Example Page: http://en.wikipedia.org/wiki/Ansaldo_Poggi

1. Go to the top, click into the empty line above the ineditable image (the normally right floating image). This empty line should not exist. It can however, be deleted (press "delete" on the keyboard) which causes the start text to jump in front of the "Modern Bolognese Violin-Making Table" image.

2. Click somewhere inside "References". Move the cursor with the keyboard  to the position after the "s". Press "delete" on the keyboard. The line starting with "Tito Gotti" will be merged with the heading (ignoring the uneditable "references" tag and "cite" template).

3. Similar to the above: Click somewhere inside "References". Move the cursor with the keyboard  to the position after the "s". Move one more right into the (errorneously existing) empty line between the heading and the uneditable references tag. Press "delete" on the keyboard. The line starting with "Tito Gotti" will jump above the uneditable "references" tag and "cite" template.

4. Do the same as above, i.e. go to the empty line after the References-Heading. However, this time click with the mouse into the line. Press "delete" on the keyboard. This time the behavior is different, nothing is deleted and the cursor jumps to the start of the article. This in itself seems again to be an error in the ordering of page objects. Now try to repeat this with different browser windows screen or zoom sizes, so that the originally, the start of the article is not visible before clicking delete. It can be seen that the focus is not updated, the cursor is outside of the visible area. Press "delete" again and with seeing it, parts of the text can be deleted.

5. Do the same as above, click on line below reference with the mouse, delete once, cursor jumps to top. Do not delete again, but put the cursor again into the line below the reference heading with the mouse. This time the ineditable <references> tag is deleted.
Comment 1 Rob Moen 2012-12-12 19:43:32 UTC
Thank you for the bug report.  Though I am unable to reproduce the first step in Firefox or Chrome.  To help with debugging, would you please include your browser information?
Comment 2 Gregor Hagedorn 2012-12-12 20:12:18 UTC
Gladly: Windows 7, continuous updates, Google Chrome, Version 23.0.1271.95 m
Comment 3 Trevor Parscal 2013-02-11 18:59:23 UTC
Created attachment 11767 [details]
Mockup of VisualEditor in various modes

Just wanted to note that slugs were an experimental solution to the problem of "how do you allow users to insert content between non-text things?

We have had a lot of ideas, but so far the direction we intend to go is to remove them entirely from the existing "layout" mode and provide an "outline" mode to the editor which includes them. There could also be a "source" mode where we could integrate the markup editing experience directly into VisualEditor.
Comment 4 Gregor Hagedorn 2013-02-11 21:06:29 UTC
Would having an object inspector on the non-editable non-text things that provides options to "insert text before"/"insert text after" be a solution to the problem?

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


Navigation
Links