Closed Bug 1123534 Opened 9 years ago Closed 9 years ago

[LayerScope] Clear layer tree on reconnects

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: boris, Assigned: u459114)

References

Details

(Whiteboard: [gfx-noted])

According to https://github.com/mozilla/layerscope/issues/4, cgjones suggests we can clear layer tree/buffer on reconnects to avoid any confusion.
Blocks: LayerScope
Whiteboard: [gfx-noted]
I will be working on this
Assignee: nobody → cku
Summary: [LayerScope] Clear layer tree on reconnects → (LayerScope) Clear layer tree on reconnects
Summary: (LayerScope) Clear layer tree on reconnects → [LayerScope] Clear layer tree on reconnects
(In reply to C.J. Ku[:cjku] from comment #1)
> I will be working on this

Thanks. this bug wants to clear obsolete layers trees/buffer or try to distinguish new layers trees from old ones after re-connection.

Besides, if the server doesn't send messages for layers trees on newer frames, we should keep the "layers tree" part blank to avoid any confusion. (I found this problem after you refactor the layerviewer code, so could you please also fix this? Thanks.)
Fixed in 
https://github.com/mozilla/layerscope/commit/29e16d42f7c617168b79d53bf9ecd47e30d0e39c
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
BTW, before boris update layerscope home page, please use 
http://cjku.github.io/layerscope/
to verify the fix.
You need to log in before you can comment on or make changes to this bug.