Closed Bug 1335335 Opened 7 years ago Closed 7 years ago

Tab move between different windows does not work when e10s is enabled.

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(2 files, 12 obsolete files)

4.75 KB, patch
nical
: review+
Details | Diff | Splinter Review
34.76 KB, patch
sotaro
: review+
Details | Diff | Splinter Review
Tab move between different windows does not work yet.
Blocks: webrender
Depends on: 1335336
Attachment #8831973 - Flags: review?(nical.bugzilla)
Attachment #8831973 - Attachment is obsolete: true
Attachment #8831973 - Flags: review?(nical.bugzilla)
Attached patch wip patch (obsolete) — Splinter Review
The followings needs to be addressed.
- WebRenderCommands are not kept in WebRenderBridgeParent.
    Client side needs to resend all commands in this case.
- ImageKey is local to each window.
   Each window has different webrender instance.
Summary: Tab move between different windows does not work → Tab move between different windows does not work when e10s is enabled.
Whiteboard: [gfx-noted]
Assignee: nobody → sotaro.ikeda.g
Attachment #8831975 - Attachment is obsolete: true
Depends on: 1372066
Attached patch wip patch (obsolete) — Splinter Review
Depends on: 1372512
Attached patch wip patch (obsolete) — Splinter Review
Attachment #8877033 - Attachment is obsolete: true
Attachment #8878403 - Attachment is obsolete: true
Attachment #8879500 - Attachment description: Tab move between different windows when e10s is enabled → patch - Tab move between different windows when e10s is enabled
Fixed crash during tab move.
Attachment #8879500 - Attachment is obsolete: true
Attachment #8879864 - Attachment is obsolete: true
Attachment #8880216 - Attachment is obsolete: true
Attachment #8880259 - Attachment is obsolete: true
attachment 8880321 [details] [diff] [review] still has one problem. On windows, sometimes moved tabs were not re-rendered.

It was cased by un-handled obsoleted DPEnd message.

Obsoleted HandleDPEnd() was called after UpdateWebRender(). The obsoleted message was just dropped. Then client side just waited a transaction complete of the obsoleted message.
Attachment #8880724 - Attachment description: patch - Tab move between different windows when e10s is enabled → patch part 1 - Tab move between different windows when e10s is enabled
Update a comment.
Attachment #8880724 - Attachment is obsolete: true
Attachment #8880726 - Flags: review?(nical.bugzilla)
Attachment #8880733 - Flags: review?(nical.bugzilla)
Comment on attachment 8880726 [details] [diff] [review]
patch part 1 - Tab move between different windows when e10s is enabled

Review of attachment 8880726 [details] [diff] [review]:
-----------------------------------------------------------------

Please write a big comment explaining why it is hard to avoid tracking old and new ids. I am hopeful that some time in the future we can refactor the layers code so that we don't have to go through this complication.
Attachment #8880726 - Flags: review?(nical.bugzilla) → review+
Attachment #8880733 - Flags: review?(nical.bugzilla) → review+
Apply the comment.
Attachment #8880726 - Attachment is obsolete: true
Attachment #8882286 - Flags: review+
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ac18f9244933
Tab move between different windows does not work when e10s is enabled r=nical
https://hg.mozilla.org/integration/mozilla-inbound/rev/c5dbfdc1892e
Manually call DidComposite() when transaction was dropped because of obsoleted command r=nical
Backed out for build bustage: version control conflict in maker file at WebRenderBridgeParent.h:235:

https://hg.mozilla.org/integration/mozilla-inbound/rev/26fa5c01d1a13ffb8999a3ac318737d272f05e6d
https://hg.mozilla.org/integration/mozilla-inbound/rev/1351044edbaa5a08208af54447e38a885321566d

Push with bustage: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=c5dbfdc1892e6003fb128ea305bcf2eb01158c27&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=usercancel&filter-resultStatus=runnable
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=110829813&repo=mozilla-inbound

 /home/worker/workspace/build/src/obj-firefox/dist/include/mozilla/layers/WebRenderBridgeParent.h:235:1: error: version control conflict marker in file
/home/worker/workspace/build/src/obj-firefox/dist/include/mozilla/layers/WebRenderBridgeParent.h:235:1: error: version control conflict marker in file
/home/worker/workspace/build/src/gfx/layers/wr/WebRenderBridgeParent.cpp:393:24: error: out-of-line definition of 'HandleDPEnd' does not match any declaration in 'mozilla::layers::WebRenderBridgeParent'
/home/worker/workspace/build/src/gfx/layers/wr/WebRenderBridgeParent.cpp:521:54: error: too many arguments to function call, expected 9, have 10
/home/worker/workspace/build/src/gfx/layers/wr/WebRenderBridgeParent.cpp:541:54: error: too many arguments to function call, expected 9, have 10
Flags: needinfo?(sotaro.ikeda.g)
Rebased.
Attachment #8882286 - Attachment is obsolete: true
Flags: needinfo?(sotaro.ikeda.g)
Attachment #8882434 - Flags: review+
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3bc8240fce38
Tab move between different windows does not work when e10s is enabled r=nical
https://hg.mozilla.org/integration/mozilla-inbound/rev/b60b291fce96
Manually call DidComposite() when transaction was dropped because of obsoleted command r=nical
https://hg.mozilla.org/mozilla-central/rev/3bc8240fce38
https://hg.mozilla.org/mozilla-central/rev/b60b291fce96
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: