Last modified: 2014-05-06 23:24:21 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 T53957, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51957 - VisualEditor: Firefox allows cursor to get into illegal position around wide objects (<gallery>, <references>, etc), leading to corruption, and prevents down arrow button navigation
VisualEditor: Firefox allows cursor to get into illegal position around wide ...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-24 11:09 UTC by John Mark Vandenberg
Modified: 2014-05-06 23:24 UTC (History)
5 users (show)

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


Attachments

Description John Mark Vandenberg 2013-07-24 11:09:53 UTC
1. https://en.wikipedia.org/wiki/User:Raymond/Gallery?veaction=edit
2. Put the cursor after the first ':'
3. Press the down arrow - cursor should now be far right of window, beside the gallery
4. Type 'a'
5. Press Control-Z

Results vary.

1. Sometimes two characters will appear: 'A' <new line> 'a', and 'Save page' is enabled.  Control-Z removes only one of them, and the 'Save page' button returns to disabled, with one added character still on the screen.

2. Sometimes a pawn appears.

3. Sometimes only one character appears, and the 'Save page' button remains disabled.

On the gallery at the bottom of https://de.wikipedia.org/wiki/Hollenegg?veaction=edit , option (3) happens most often.
Comment 1 John Mark Vandenberg 2013-07-24 12:09:15 UTC
Reliable snowmen

1. https://de.wikipedia.org/wiki/Benutzer:John_Vandenberg/test?veaction=edit
2. Place the cursor above the image (which is inside a template)
3. press down so that the cursor is beside the image/template
4. press 'a'

Win: snowman + 'a'
Comment 2 James Forrester 2013-07-24 15:45:40 UTC
Confirmed bug in Firefox. Specifically:

(In reply to comment #0)
> 1. https://en.wikipedia.org/wiki/User:Raymond/Gallery?veaction=edit
> 2. Put the cursor after the first ':'
> 3. Press the down arrow - cursor should now be far right of window, beside
> the gallery

No, it really shouldn't - it should be in the next heading ("Anzahl Bilder pro Reihe: perrow=2"). See the behaviour in Chrome/Safari for reference. This is a bug specific to Firefox AFAICT.
Comment 3 John Mark Vandenberg 2013-10-13 00:33:26 UTC
In addition to <gallery>, and corruption, a less significant problem is that the down cursor becomes stuck at any block that consumes the entire page with (such as the references block or navbars); pressing the down arrow on the keyboard does not move the cursor to the next item underneath the block.

Steps to reproduce:
1. Load any page in VE with a references block and something underneath it. e.g.
   https://en.wikipedia.org/wiki/Jos%C3%A9_Cl%C3%A1udio_Ribeiro_da_Silva?veaction=edit
   https://en.wikipedia.org/wiki/Marty_Callaghan?veaction=edit

   or a similar block like in this article

   https://en.wikipedia.org/w/index.php?title=Mary_Louise_Smith_%28Republican_Party_leader%29&veaction=edit

2. Repeat pressing down key to reach the bottom of the article

Expected results:
Down key continues to step down through the article until it reaches the bottom.

Actual results:
Down key works until the references block.  It becomes stuck on the right hand side of the block.

Im adding this here as it appears to be the exact same underlying problem, as typing when the cursor is on the right-hand side of other wide objects, such as references, also produces unexpected results.
Comment 4 James Forrester 2014-05-06 23:24:21 UTC
I believe that this is now fixed, after the Firefox CE re-write, though I could be wrong – please re-open if so.

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


Navigation
Links