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

       Web browser: ---
             Bug #: 33990
           Summary: WikiEditor textbox loses focus while toolbar renders,
                    making it feel slow
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikiEditor
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


WikiEditor feels slow when starting up because you can't edit while the toolbar
is rendering, which sometimes takes a few seconds. If you try to edit too soon
(before the toolbar is fully rendered), the textbox loses focus and suddenly,
your typing is not being captured.

1. Visit an article and click the Edit link to enter WikiEditor.
2. Immediately, before WikiEditor has finished rendering its toolbar, click the
edit box and start typing.
3. As the toolbar continues to render, the textbox loses focus so your typing
does not have any effect.

Can WikiEditor somehow keep the focus on wpTextbox1 while the toolbar is
rendering?

Other notes:

This feeling of slowness is worse if your site has customized the toolbar,
particularly adding or removing buttons in the 'main' section, for example:

 $('#wpTextbox1').wikiEditor('removeFromToolbar', {
        'section': 'advanced',
        'group': 'format',
        'tool': 'newline'
        });

because these happen after the rest of the toolbar is rendered, lengthening the
render time.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to