Bug 26881 - Behaviour of contextual/right click menu items in Web Inspector
Summary: Behaviour of contextual/right click menu items in Web Inspector
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 18147 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-01 05:22 PDT by Matt Sephton
Modified: 2014-12-12 14:07 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 8 Brian Burg 2014-12-12 14:07:58 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.