Closed
Bug 1258465
Opened 9 years ago
Closed 9 years ago
Only nsIWebBrowserFocus->activate a TabChild once it has composited
Categories
(Core :: DOM: Content Processes, defect)
Core
DOM: Content Processes
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: mconley, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
5.88 KB,
application/zip
|
Details |
IME sends sync messages up to the parent process when focus shifts (see bug 1251063). This slows us from painting content when we, for example, first create a browser window or tab, since we'll be blocked on those sync messages for IME.
What I propose is that if TabChild gets RecvActivate called on it, it defers the activation until after it has first painted.
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Comment 1•9 years ago
|
||
Actually, we probably want to wait until the composite has occurred.
Summary: Only nsIWebBrowserFocus->activate a TabChild once it has painted → Only nsIWebBrowserFocus->activate a TabChild once it has composited
Reporter | ||
Comment 2•9 years ago
|
||
Reporter | ||
Comment 3•9 years ago
|
||
Reporter | ||
Comment 4•9 years ago
|
||
Reporter | ||
Comment 5•9 years ago
|
||
Reporter | ||
Comment 6•9 years ago
|
||
So after talking with mstange, I think this might be a bit too ham-fisted. I wanted to defer activation until after paint/composite because of the sync IME messages that come up when the focus is switched to the browser in the new window in tpaint. Those sync messages take a lot of time.
What mstange pointed out to me was that if we defer activation, then any messages that are sent down to the content between first receiving the activation and actually _doing_ the activation after the paint, are not going to be interpreted correctly; we're breaking the assumption from the parent that if the content was sent Activate, that it's actually activated.
I think what we might want to do instead is figure out if we can somehow defer the IME sync messages coming up from the child instead of the activation message being reacted to by the child.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 7•8 years ago
|
||
bugnotes |
You need to log in
before you can comment on or make changes to this bug.
Description
•