<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: No context menu available via ENABLE_INSPECTOR_SERVER"
   href="https://bugs.webkit.org/show_bug.cgi?id=170705">170705</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Web Inspector: No context menu available via ENABLE_INSPECTOR_SERVER
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit 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&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ross.kirsling&#64;sony.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>inspector-bugzilla-changes&#64;group.apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=306751" name="attach_306751" title="Missing context menu">attachment 306751</a> <a href="attachment.cgi?id=306751&amp;action=edit" title="Missing context menu">[details]</a></span>
Missing context menu

It appears that ever since the old Web Inspector front-end was removed in r157278, there has been no context menu available when remote inspecting with ENABLE_INSPECTOR_SERVER.

InspectorFrontendHost is unavailable in this case, but the current stub uses a no-op for showContextMenu, where four years ago it used a SoftContextMenu component.

Given that ENABLE_INSPECTOR_SERVER exists, we should reintroduce a non-native context menu to be used in this scenario.

(NOTE: ENABLE_INSPECTOR_SERVER is currently only set for GTK+, but this behavior can be verified by simply overwriting window.InspectorFrontendHost.showContextMenu.)</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>