<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Tabs: Conflicts with multiple Formatters per SourceCode"
href="https://bugs.webkit.org/show_bug.cgi?id=144717">144717</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Web Inspector: Tabs: Conflicts with multiple Formatters per SourceCode
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>528+ (Nightly build)
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Web Inspector
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>joepeck@webkit.org
</td>
</tr>
<tr>
<th>CC</th>
<td>graouts@webkit.org, joepeck@webkit.org, jonowells@apple.com, mattbaker@apple.com, nvasilyev@apple.com, timothy@apple.com, webkit-bug-importer@group.apple.com
</td>
</tr></table>
<p>
<div>
<pre>* SUMMARY
Tabs: Conflicts with multiple Formatters per SourceCode,
With the new Tab design, there may be multiple SourceCodeTextEditors per-SourceCode. Previously this was a 1-to-1 relationship and we asserted as such. This can lead to subtle issues, and we may want to reconsider how this works.
* SCENARIO
1. Open editor for SourceCode X in Resources tab
=> pretty printing creates formatter A for X
2. Open editor for SourceCode X in Debugger tab
=> pretty printing creates formatter B for X
3. Modify the resource in the Debugger tab
=> view for X differs between Resources and Debugger tabs
=> if you re-pretty-print, a new formatter C is created which is different from the others
=> if you un-pretty-print you can wipe out a formatter for another tab
* NOTES
How do other editors handle the same file open in multiple tabs? Is there just one "editor" per resource, but that view can show up in multiple places? Similar to how we handle the LogContentView for the Console Tab and Split Console.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>