TL;DR I'm looking for: 1. an API to open a XUL window but keep it invisible; 2. an API to make an invisible XUL window visible, but behind the currently active window; 3. an API to open a XUL window but keep it in the background.
Do we have such things? Otherwise, how hard would it be to add them? Long version As discussed previously on this list, I'd like to tweak the order in which we restore windows on startup to make sure that recently used windows are restored earlier than older windows, and to make the experience less janky for users of multiple windows. Unfortunately, we apparently cannot change the order in which windows are opened, as this messes with the Windows taskbar (and possibly equivalent tools on other platforms), so my fallback plan would be to: 1/ open hidden blank windows (to keep the taskbar happy without wasting too much startup time); 2/ make the window that we consider useful visible and start loading it; 3/ make other windows progressively visible, with a lower z-order. So far, I haven't been able to find any such API in or around <window>. Does anyone have any suggestions as to where I could poke? Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform