Page MenuHomePhabricator

No scrollbars when uploading dozens files
Closed, InvalidPublic

Description

I tested uploading about 40 files at once and I notice that the scrollbars disappear in all steps. The result is that I can't scroll with the scrollbar nor the scroll wheel; I have to click outside each text area, use arrows and click the next text area, dozens of times (or use tab hundreds of times).

Firefox 47.0 on monobook, in case that matters.

uploadwizard-scrolling.png (538×894 px, 72 KB)

Event Timeline

Restricted Application added subscribers: Zppix, Steinsplitter, Aklapper. · View Herald Transcript

I can't reproduce this problem, neither locally nor or Commons (where I didn't complete the upload, but everything was OK up to the last step), when uploading 50 files at once (the maximum currently allowed), using MonoBook and Firefox 47.0 on Windows 7.

(While testing, I noticed some new issues with the date field, and submitted a patch for T112933.)


It is not very clear from your screenshot (it's best to always upload fullscreen screenshots, or at least the whole browser, or at least the whole page, unless you have privacy-related reasons to trim off things), but it looks like there is a grey vertical bar on the right side where a scrollbar would normally be?

If so, this might be related to a feature of OOjs UI dialogs. When a dialog appears, it prevents scrolling the page (hiding the scrollbar), but "reserves" the space in which it appears to avoid moving page contents. When a dialog is closed, the scrollbar should reappear. I guess this must have failed for some reason in this case.

OOjs UI message dialog hiding the scrollbar:
2016-07-14 20_47_19-Upload Wizard - Testwiki.png (1×1 px, 220 KB)
2016-07-14 20_47_51-Upload Wizard - Testwiki.png (1×1 px, 204 KB)

This could be caused by an exception happening while a dialog is closing, but I looked in our JS exceptions logs and I don't see anything relevant (unless it took you more than three hours to upload those images, or you spoof your user-agent).

Wow… this is because you have hidden all OOjs UI dialogs in https://meta.wikimedia.org/wiki/User:Nemo_bis/global.css. So you can't close a dialog (because you can't see it), and so the scrollbar never reappears. Thanks for wasting my time.

Interesting explanation, thanks. I'll see if I can integrate this information on the wiki somewhere.

Thanks for wasting my time.

I'm sorry; indeed that was meant only as a temporary workaround for https://phabricator.wikimedia.org/T135682 , but it's been two months already so I'll need to pay more attention when observing glitches related to stuff which potentially contains OOjs elements.