|Summary:||Behaviour of contextual/right click menu items in Web Inspector|
|Product:||WebKit||Reporter:||Matt Sephton <matt.sephton>|
|Component:||Web Inspector (Deprecated)||Assignee:||Nobody <webkit-unassigned>|
|Severity:||Normal||CC:||adman.com, ben, keishi, pmuellr|
|Version:||528+ (Nightly build)|
Description Matt Sephton 2009-07-01 05:22:58 PDT
In Browser 1. Open Safari/WebKit 2. Enable Develop menu 3. Right click an image 4. Choose "Inspect Element" In Web inspector 1. Right click on image link 2. Notice context menu Options are as follows (description of how they work in brackets) - Open Link (does not work: nothing is opened) - Open Link in New Window (does not work: no new window appears) - Download Linked File (does not work: no file is downloaded) - Copy Link (this one works OK) - Inspect Element (opens second instance of web inspector over the existing one, this is probably wrong an definitely confusing)
Comment 1 Patrick Mueller 2009-07-07 07:40:02 PDT
While the "Inspect Element" bit is definitely confusing, it's the only obvious way I know of to allow you to debug the inspector. Since debugging the inspector is something very few people will ever need to do, we really should fix this - ie, remove the menu item. However, at the same time, we still need to provide a way to allow the inspector to be debugged, somehow. So, if it's decided that we need to fix the context menu and remove the "Inspect Element", let's arrange to open a new bug to provide a way to allow the inspector to be debugged.
Comment 2 Matt Sephton 2009-07-07 08:02:01 PDT
(In reply to comment #1) > So, if it's decided that we need to fix the context menu and remove the > "Inspect Element", let's arrange to open a new bug to provide a way to allow > the inspector to be debugged. Makes sense. The other items that do not currently work still need fixing, too.
Comment 3 Timothy Hatcher 2009-09-11 19:55:07 PDT
The context menu is the default one WebKit supplies. It really isn't intended to work, and needs replaced with real context menus specific to items in the Inspector.
Comment 4 Joseph Pecoraro 2009-10-20 23:37:27 PDT
*** Bug 18147 has been marked as a duplicate of this bug. ***
Comment 5 Adam M-W 2009-12-02 20:32:10 PST
My suggestion is to remove that menu altogether and implement a custom menu which is more powerful and actually improves features. See http://code.google.com/p/chromium/issues/detail?id=29271 for the complete details of a suggested context-menu (I think that I probably should have posted the bug here rather than there but too late now...)
Comment 6 Matt Sephton 2010-06-18 01:44:22 PDT
This issue is no longer relevant to Safari 5, but other problems remain. See: https://bugs.webkit.org/show_bug.cgi?id=40818
Comment 7 Matt Sephton 2010-06-18 04:14:01 PDT
Actually, some menu items that do not work are still present when you right click images or URIs in the CSS inspector