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)
Firefox
Menus
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)
1.42 KB,
patch
|
Details | Diff | Splinter Review | |
1.12 KB,
text/html
|
Details |
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.
Comment 2•19 years ago
|
||
Confirmed with Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4)
Gecko/20050808 Firefox/1.0+.
Comment 3•19 years ago
|
||
This fixes it, and I think it doesn't regress anything, but I'm not sure.
Comment 4•19 years ago
|
||
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
Updated•19 years ago
|
Attachment #192017 -
Flags: review?(mconnor)
Attachment #191967 -
Attachment is obsolete: true
Updated•18 years ago
|
Attachment #192017 -
Flags: review?(mconnor)
This hasn't been a problem for sometime now, closing.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Comment 7•18 years ago
|
||
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
Updated•18 years ago
|
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Updated•17 years ago
|
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?
Comment 10•17 years ago
|
||
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 11•17 years ago
|
||
Comment on attachment 292037 [details] [diff] [review]
Extended Patch
Please request approval only after reviews complete
Attachment #292037 -
Flags: approval1.9?
Comment 12•17 years ago
|
||
Gavin, can you review the patch?
Comment 13•17 years ago
|
||
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.
Updated•16 years ago
|
Flags: blocking-firefox3.1?
Updated•16 years ago
|
Flags: wanted-firefox3.1?
Updated•16 years ago
|
Attachment #292037 -
Attachment is obsolete: true
Attachment #292037 -
Flags: review?(gavin.sharp)
Comment 14•16 years ago
|
||
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?
Comment 15•15 years ago
|
||
Fixed by bug 417483 in changeset:
http://hg.mozilla.org/mozilla-central/rev/e03b6c34cee3
Status: NEW → RESOLVED
Closed: 18 years ago → 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Comment 16•15 years ago
|
||
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 17•15 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Comment 18•15 years ago
|
||
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?
Comment 19•15 years ago
|
||
Yes, I think so, since this bug was fixed by that bug. But a separate test for this bug might not hurt.
You need to log in
before you can comment on or make changes to this bug.
Description
•