Closed Bug 514520 Opened 15 years ago Closed 15 years ago

Double separator in context menu

Categories

(Firefox :: Menus, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3.7a1
Tracking Status
status1.9.2 --- beta1-fixed

People

(Reporter: dao, Assigned: johnath)

References

Details

(Keywords: regression, verified1.9.2)

Attachments

(2 files, 2 obsolete files)

STR:

1. open data:text/html,<img src="about:logo">
2. select all
3. open the context menu by clicking next to the image

expected result:

Copy
Select All
---------------------
View Selection Source


actual result:

Copy
Select All
---------------------
---------------------
View Selection Source
OS: Windows XP → All
Hardware: x86 → All
blocking2.0: --- → ?
Since context-sep-selectall is shown on this.isContentSelected, it doesn't make sense to show context-sep-properties as well. It *should* still be shown on shouldShow, since it will then act as a separator for View Source/Page Info.

When I land this, I'll also land the fix for bug 417483 which has been waiting on checkin for some time, and fixes a related problem in frames code which I thought I had caused until gavin pointed out that was known (and fixed, just not landed!)
Assignee: nobody → johnath
Status: NEW → ASSIGNED
Attachment #398478 - Flags: review?
Attachment #398478 - Flags: review? → review?(dao)
That, in turn, should fix the similar seeming, though not strictly identical, bug 303898.
Does "context-sep-properties" refer to the removed item? If so, can we find a better name?
Attached patch Better name for the separator (obsolete) — Splinter Review
Good catch - should have done that in the original removal.
Attachment #398478 - Attachment is obsolete: true
Attachment #398729 - Flags: review?(dao)
Attachment #398478 - Flags: review?(dao)
Attachment #398729 - Flags: review?(dao) → review+
Comment on attachment 398729 [details] [diff] [review]
Better name for the separator

It would be clearer if the context-sep-viewsource element was moved between context-viewpartialsource-mathml and context-viewsource, as it will never be shown together with context-viewpartialsource-selection and context-viewpartialsource-mathml, as far as I can tell.
http://hg.mozilla.org/mozilla-central/rev/3655f5de6392
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
Backed out - http://hg.mozilla.org/mozilla-central/rev/7116821311ca
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I really don't know why my pre-checkin testing didn't catch this - all I can figure is think-o. In any event, this one fixes the problem locally, but I'll be holding off until the tryserver finishes with it, for what I hope are obvious reasons.
Attachment #398729 - Attachment is obsolete: true
Relanded with test fix - http://hg.mozilla.org/mozilla-central/rev/e35bb64a2af3
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
Status: RESOLVED → VERIFIED
Flags: in-testsuite+
Here's a concatenated export of the fix for this bug and bug 417483. It won't cleanly apply as a patch, since it's two patches glued together, but is otherwise exactly what I'd push. This is not a blocker, but a near-trivial fix for a couple duplicated separators in our context menus, one of which is a direct result of the properties dialog deletion in bug 513147.
Attachment #401042 - Flags: approval1.9.2?
Comment on attachment 401042 [details] [diff] [review]
Combined "patch" for 192

a192=beltzner
Attachment #401042 - Flags: approval1.9.2? → approval1.9.2+
Verified fixed on 1.9.2 with builds on all platforms like Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2b1pre) Gecko/20090930 Namoroka/3.6b1pre ID:20090930033826
Keywords: verified1.9.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: