Closed
Bug 280284
Opened 20 years ago
Closed 20 years ago
No `View Selection Source' on context menu if non-text selected
Categories
(Toolkit :: View Source, defect)
Toolkit
View Source
Tracking
()
RESOLVED
FIXED
mozilla1.8final
People
(Reporter: blakesley, Assigned: jason.barnabe)
Details
Attachments
(2 obsolete files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050125 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050125 Firefox/1.0+ (I'm not sure whether this should be under the `View Source' component.) Reproducible: Always Steps to Reproduce: 1. Select part of a page not containing text (just objects like images) 2. Click on the page with your pointing devices secondary button Actual Results: `View Selection Source' item does not appear. Expected Results: `View Selection Source' item should be available.
Comment 1•20 years ago
|
||
Confirming, Seamonkey version of this Bug is Bug 170893
Assignee: firefox → bugs
Status: UNCONFIRMED → NEW
Component: Menus → View Source
Ever confirmed: true
QA Contact: bugzilla → view-source
| Assignee | ||
Comment 2•20 years ago
|
||
This implements nsContextMenu.isContentSelected. I've switched all the context menu items that looked at isTextSelected (including View Partial Source) to look at isContentSelected, with the exception of "Search Web for...".
Comment 3•20 years ago
|
||
Comment on attachment 180259 [details] [diff] [review] patch Using __proto__ here fails on trunk, I know there's been some recent changes, those may have bitrotted this, but it works without it in my local build. The indentation should be *shudder* 4-space, to match prevailing style here. other than that, this is good to go.
Attachment #180259 -
Flags: review?(mconnor) → review-
| Assignee | ||
Comment 4•20 years ago
|
||
Fixed getSelection call and indenting.
Attachment #180259 -
Attachment is obsolete: true
Attachment #185637 -
Flags: review?(mconnor)
Comment 5•20 years ago
|
||
Comment on attachment 185637 [details] [diff] [review] patch v2 [Checked in: Comment 7] sweet. Sorry these have been slow, hopefully the whacking of the review queue will continue long into the night.
Attachment #185637 -
Flags: review?(mconnor) → review+
| Assignee | ||
Updated•20 years ago
|
Whiteboard: [checkin needed]
Comment on attachment 185637 [details] [diff] [review] patch v2 [Checked in: Comment 7] you need to ask for approval before someone can check something in atm.
Attachment #185637 -
Flags: approval-aviary1.1a2?
Updated•20 years ago
|
Attachment #185637 -
Flags: approval-aviary1.1a2? → approval-aviary1.1a2+
Comment 7•20 years ago
|
||
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Attachment #185637 -
Attachment description: patch v2 → patch v2
[Checked in: Comment 7]
Attachment #185637 -
Attachment is obsolete: true
Updated•20 years ago
|
Whiteboard: [checkin needed]
Target Milestone: --- → Firefox1.1
Version: unspecified → Trunk
I think this may have caused the minor regression in Bug 303898 (I could be wrong though).
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•