[Webkit-unassigned] [Bug 192451] Web Inspector: subclasses of WI.ClusterContentView don't save/restore content views after the initial view

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 4 14:03:55 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=192451

--- Comment #7 from Devin Rousso <drousso at apple.com> ---
(In reply to Joseph Pecoraro from comment #6)
> I think ClusterContentViews will probably want to save their state when they hide, otherwise they will be restored incorrectly. I can try a fix like that.
The issue I think is more the idea that changes to the `WI.ClusterContentView` (C) are only saved by C itself, not any of its parents.  In the example I gave (comment #3), the main problem was that changes to C didn't propagate to P, which meant that when P was show (P is the "first responder"), it would use the last item in it's list, which was for the original showing of C.

One possible thing we could do is have all `WI.ClusterContentView` somehow propagate their changes to their parent (if any) so that the next time the parent is shown, it has the new state.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190104/ade014f7/attachment.html>


More information about the webkit-unassigned mailing list