Page MenuHomePhabricator

VisualEditor: Using "page down" (PgDn) key to scroll down moves the wrong number of lines if the toolbar is on multiple lines
Open, MediumPublic


Steps to Reproduce:

  1. Open a long page in VisualEditor. Press Ctrl-+ several times, until the toolbar is too wide to fit on a single line.
  1. Press PgDn (the page down key).

Actual Results:
The wrong number of lines is moved, so that a couple of lines is never seen.

Reproducible: Didn't try

Version: unspecified
Severity: minor



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:23 AM
bzimport set Reference to bz65241.

Please see,_monobook,_Firefox.png (Windows 7, Firefox 28.0), and after I hit "Pgdn" once,,_monobook,_Firefox.png. Note that the 2-line VE toolbar takes up enough space that 3 lines from [[Lamb]] are missing between the 2 screens, which makes "Pgdn" (and anything else that does the same thing) useless for reading the whole article. Also, the VE toolbar appears to be a lot bigger than it needs to be, both because it takes up 2 lines (if the user has clicked Ctrl-+ at least once, and many do), and because the icons and letters are much larger than they need to be (that is, much larger than the text font).

I'm suggesting that this bug is particularly important because this will be your target viewer's first impression ... in the first few seconds they're exposed to VE, they'll be seeing a much smaller window to edit in (the WP menus including the 2-line VE toolbar take up a quarter of the vertical space), and that paging down is useless for reading the article. Some people make snap judgments based on first impressions.


One more thing ... I just hit Ctrl-+ a second time (my eyes are tired) and ... holy crap, the menu bar takes 3 lines, almost half the screen.