Closed Bug 303898 Opened 19 years ago Closed 15 years ago

Double context menu separator on highlighted image in a sub-frame

Categories

(Firefox :: Menus, defect)

defect
Not set
minor

Tracking

()

VERIFIED FIXED
Firefox 3.7a1

People

(Reporter: me, Unassigned)

References

Details

(Keywords: polish, regression, testcase, Whiteboard: [fixed by 417483 ])

Attachments

(2 files, 3 obsolete files)

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b4) Gecko/20050807 Firefox/1.0+ A double separator appears in the context menu when an image from a *sub-frame* is highlighted. Steps to reproduce: 1. Visit testcase. 2. Highlight image of ant, be careful not to select any text, only the image. 3. Activate the context menu over the highlighted ant. Result: A double separator in the menu. Regression window: Works: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050613 Firefox/1.0+ Fails: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050614 Firefox/1.0+ I think it was caused by Bug 280284 but Bug 293758 and Bug 258901 were also checked in within that timeframe.
Attached file Testcase (obsolete) —
Confirmed with Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050808 Firefox/1.0+.
Attached patch patchSplinter Review
This fixes it, and I think it doesn't regress anything, but I'm not sure.
I think the fix for bug 280284 regressed this (the most likely of the three). Maybe there is a better solution, I don't particularly like my patch. Also, there should be a menuseparator under the "This Frame" menuitem, which doesn't happen currently with current builds with the testcase (and the patch doesn't fix that).
Keywords: testcase
Attachment #192017 - Flags: review?(mconnor)
Attachment #191967 - Attachment is obsolete: true
Attached file Updated Testcase (obsolete) —
This appears to be fixed, can someone confirm that please.
Attachment #192017 - Flags: review?(mconnor)
This hasn't been a problem for sometime now, closing.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Attached file testcase
The bug is still there, see testcase. Google apparently added an alt attribute to the img, that's why you don't see it anymore with the previous testcase.
Attachment #252439 - Attachment is obsolete: true
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Severity: trivial → minor
Status: REOPENED → NEW
OS: Windows 98 → All
Hardware: PC → All
Attachment 192017 [details] [diff] seems to fix the double separator issue with a frame 4 without regressing the issues mentioned in bug 280284 Could this get a request review?
Attached patch Extended Patch (obsolete) — Splinter Review
This patch is an extended version of the patch by Martijn Wargers. What it does is the following: - Shows only 1 seperator when right clicking with a selection in a frameset - Shows a separator below "This frame" when text/objects is selected I made sure the following stayed the same: - Shows only 1 separator when right clicking in a frameset - Shows a separator below "This frame" when no text/objects is selected
Attachment #292037 - Flags: review?(gavin.sharp)
Attachment #292037 - Flags: approval1.9?
Comment on attachment 292037 [details] [diff] [review] Extended Patch Please request approval only after reviews complete
Attachment #292037 - Flags: approval1.9?
Gavin, can you review the patch?
This bug is actually very similar to bug 417483. Maybe even a dupe. Only in this solution, the upper separator is hidden, while is bug 417483, the solution hides the lower separator.
Flags: blocking-firefox3.1?
Flags: blocking-firefox3.1? → blocking-firefox3.1-
Keywords: polish
Flags: wanted-firefox3.1?
Attachment #292037 - Attachment is obsolete: true
Attachment #292037 - Flags: review?(gavin.sharp)
Comment on attachment 292037 [details] [diff] [review] Extended Patch Unfortunately this has bitrotted - I think it might be taken care of by the patch in bug 417483, though?
Status: NEW → RESOLVED
Closed: 18 years ago15 years ago
Resolution: --- → FIXED
Depends on: 417483
Whiteboard: [fixed by 417483 ]
Target Milestone: --- → Firefox 3.7a1
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
Verified fixed on trunk with builds on all platforms like Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.3a1pre) Gecko/20090916 Minefield/3.7a1pre ID:20090916030909 Is this regression covered by the test on bug 417483?
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
Yes, I think so, since this bug was fixed by that bug. But a separate test for this bug might not hurt.
Blocks: 655842
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: