https://bugzilla.wikimedia.org/show_bug.cgi?id=65988

            Bug ID: 65988
           Summary: Don't load ULS IME on autofocused search bar
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Keywords: performance
          Severity: major
          Priority: Unprioritized
         Component: UniversalLanguageSelector
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: federicol...@tiscali.it
                CC: alolita.sha...@gmail.com,
                    amir.ahar...@mail.huji.ac.il, da...@sheetmusic.org.uk,
                    kartik.mis...@gmail.com, niklas.laxst...@gmail.com,
                    pgi...@wikimedia.org, run...@gmail.com,
                    santhosh.thottin...@gmail.com,
                    sucheta.ghos...@gmail.com
            Blocks: 56292
       Web browser: ---
   Mobile Platform: ---

Created attachment 15542
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=15542&action=edit
mw.loader.inspect(); on it.wiki main page, unregistered user, unfocused

Tested with Chromium 34.0.1847.132 Russian Fedora aura (265804).

1) Visit http://it.wikipedia.org/wiki/Pagina_principale, incognito mode,
unregistered user, after having opened the developer console (tab is focused).
I. Observed: the search bar is autofocused.
2) Switch to developer console without keystrokes, e.g. clicking on the
JavaScript console.
II. Observed: nothing.
3) Type mw.loader.inspect(); and enter.
III. Observed:

(index)    name    size
0    "jquery.uls"    "96.4 kB"
1    "jquery.ime"    "52.8 kB"
2    "ext.uls.inputsettings"    "33.5 kB"
3    "jquery.uls.data"    "33.3 kB"
4    "ext.uls.displaysettings"    "18.6 kB"
5    "jquery.i18n"    "17.3 kB"
6    "mediawiki.jqueryMsg"    "15.1 kB"
7    "jquery.suggestions"    "11.6 kB"
8    "ext.uls.interface"    "8.1 kB"

IV. Expected: ULS resources should be lazy loaded. Until I type alphanumeric
characters in the (autofocused) search bar, it can't be assumed I'm going to
use it.

Compare:

1-bis) Focus the developer console and click the refresh button.
2-bis) Nothing
3)

V. Observed: Search bar is not focused. ULS is not loaded, see attachment.

Compare:

1)
2-ter) Press tab button
II.
3)
III.

Compare:

1)
2-quater) Press ctrl-shift-J or any other ctrl shortcut.
II-bis. Observed: the IME icon appears.
3)
III.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to