Closed Bug 194954 Opened 22 years ago Closed 22 years ago

MFCEmbed - No image specific options in context menu for link images

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: amutch, Assigned: adamlock)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030225
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030225

MFCEmbed fails to display image specific options in the context menu when you
right-click on an image in a table cell.

Reproducible: Always

Steps to Reproduce:
1. Browse to example site
2. Right-click on one of the image across the top ("Archive", "Forum", etc.)
3. View context menu


Actual Results:  
Context menu doesn't display image specific options ("View Image", "Save Image
As..")

Expected Results:  
Context menu should display image specific options ("View Image", "Save Image
As..") for images in table cells.

The example page displays images in <TD> cells. I haven't checked this against
other table cells like <TH>.
Is this a regression or just something not fixed by bug 178988? I notice you use
the same penny arcade URL.
I think this is a separate issue Adam. I recalled having seen this before but
just thought to report it when I was testing the other image problem. The page
just happened to be handy as it has the images in different settings to compare
against.
Table cells are a red herring. Embedding APIs are providing the right flags, but
mfcembed is just choosing to display the link popup menu rather than the image
popup and there is no View Image code in that menu. 

Patch follows to add it.
Summary: MFCEmbed - No image specific options in context menu for images in table cells. → MFCEmbed - No image specific options in context menu for link images
Attached patch PatchSplinter Review
Patch adds a bit of code to set the image url if there is one and a "View
Image" option to the link popup resource.
Comment on attachment 115561 [details] [diff] [review]
Patch

Requesting r/sr on this simple patch to mfcembed.
Attachment #115561 - Flags: superreview?(alecf)
Attachment #115561 - Flags: review?(chak)
Comment on attachment 115561 [details] [diff] [review]
Patch

r=chak
Attachment #115561 - Flags: review?(chak) → review+
Comment on attachment 115561 [details] [diff] [review]
Patch

sr=alecf
Attachment #115561 - Flags: superreview?(alecf) → superreview+
Fix is checked into trunk.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
20030227 GRE-based mfcembed build
verified.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: