Bug 26881
| 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> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | adman.com, ben, keishi, pmuellr |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Matt Sephton
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)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Patrick Mueller
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.
Matt Sephton
(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.
Timothy Hatcher
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.
Joseph Pecoraro
*** Bug 18147 has been marked as a duplicate of this bug. ***
Adam M-W
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...)
Matt Sephton
This issue is no longer relevant to Safari 5, but other problems remain. See: https://bugs.webkit.org/show_bug.cgi?id=40818
Matt Sephton
Actually, some menu items that do not work are still present when you right click images or URIs in the CSS inspector
Brian Burg
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.