Last modified: 2014-06-12 13:50: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 T64542, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62542 - VisualEditor: Up and down cursor keys don't let you cursor from a focusable node into a slug
VisualEditor: Up and down cursor keys don't let you cursor from a focusable n...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High minor
: ---
Assigned To: Ed Sanders
https://www.mediawiki.org/wiki/Sandbo...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-11 17:56 UTC by WhatamIdoing
Modified: 2014-06-12 13:50 UTC (History)
9 users (show)

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


Attachments

Description WhatamIdoing 2014-03-11 17:56:18 UTC
Intention:
Edit https://www.mediawiki.org/wiki/Sandbox

Steps to Reproduce:
1. Click on https://www.mediawiki.org/wiki/Sandbox?veaction=edit

2. Press down arrow key.  Nothing happens.

3. Press up arrow key.  Nothing happens.

4.  Huh, how do I get off this template?

Actual Results:  
Left and right arrow keys take me to the slugs on either side, so why don't up and down arrow keys do the same?

In my brief testing, this doesn't happen if there is an infobox and text on the page.  https://www.mediawiki.org/wiki/Sandbox is the only page that I'm sure it always happens on.


Reproducible: Always
Comment 1 Oliver Buchtala 2014-06-12 13:50:05 UTC
It happened that I ran over that issue while debugging. Here some details that may help:

The problem is, that after focussing 've.ce.Surface.onModelSelect()' runs into a case which seems to be dedicated to pasting situations:

  ...
  if ( next ) {
    rangySel = rangy.getSelection( this.getElementDocument() );
    if ( !ve.contains( this.$pasteTarget[0], rangySel.anchorNode, true ) ) {
      ...
    }
  ...

After that the window selection is on the paste element which will make the next up/down do nothing, but leaving the navigation to the CE.

HTH,

Oliver

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


Navigation
Links