Closed
Bug 294383
Opened 20 years ago
Closed 19 years ago
Disable certain menu options (view source, find, text zoom, etc) when viewing non-text content (images, plugins)
Categories
(Firefox :: Menus, defect, P3)
Firefox
Menus
Tracking
()
RESOLVED
FIXED
Firefox 2 alpha1
People
(Reporter: hhschwab, Assigned: Gavin)
References
()
Details
(Keywords: fixed1.8.1)
Attachments
(1 file, 2 obsolete files)
|
10.28 KB,
patch
|
mconnor
:
review+
mconnor
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
Steps to repeat: Use firefox 1.0.4 or a current trunk nightly, and load an image Use Ctrl+U or menu View->PageSource or prepend view-source to the URL. expected result: no source seen, or RFE: source seen as hex code actual result: bytes displayed as characters. Bug seen in Firefox 1.0.4 and Firefox trunk, not seen in Mozilla Trunk. gif : https://bugzilla.mozilla.org/mozilla-banner.gif jpeg: http://ha.ckers.org/imagecrash.jpg png : https://bugzilla.mozilla.org/attachment.cgi?id=183739 view-source:https://bugzilla.mozilla.org/mozilla-banner.gif view-source:http://ha.ckers.org/imagecrash.jpg view-source:https://bugzilla.mozilla.org/attachment.cgi?id=183739
| Reporter | ||
Comment 1•20 years ago
|
||
Mozilla Suite doesn´t show the source code on Ctrl+U or menu View->PageSource, but shows it if the view-source: protocoll is used, like view-source:https://bugzilla.mozilla.org/mozilla-banner.gif Firefox always shows the source. I don´t mind the view-source: working, as that option is widely unknown. The View->PageSource should be greyed out, and the Ctrl+U not working, as in Mozilla Suite.
| Assignee | ||
Comment 2•20 years ago
|
||
The suite disables more than just the "Page Source" option when viewing an image, it disables a bunch of other menu items as well. See the list at: http://lxr.mozilla.org/mozilla/search?string=observes%3D%22isImage I think it's worth investigating adding similar functionality to Firefox.
Assignee: nobody → gavin.sharp
OS: other → All
Priority: -- → P3
Hardware: PC → All
| Assignee | ||
Updated•20 years ago
|
Severity: normal → minor
Summary: view-source shows source of image → Disable certain menu options (view source, find, text zoom, etc) when viewing non-text content (images, plugins)
Comment 3•20 years ago
|
||
*** This bug has been marked as a duplicate of 206176 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Comment 4•20 years ago
|
||
This bug is wider in scope, and is actually being worked on, so reopening and marking depends.
| Assignee | ||
Updated•20 years ago
|
Status: REOPENED → ASSIGNED
| Assignee | ||
Comment 5•20 years ago
|
||
This disables Find, View Source, Page Style, Text Zoom, and Character Set menu options, as well as the View Source and View Selection source context menu options. This doesn't yet fix the This Frame -> View Source menu, that requires a few bigger changes.
| Assignee | ||
Updated•20 years ago
|
Component: View Source → Menus
QA Contact: view.source → menus
Target Milestone: --- → Firefox1.1
| Assignee | ||
Updated•20 years ago
|
Whiteboard: [wip]
| Assignee | ||
Comment 6•20 years ago
|
||
Updated to trunk. This is a port of the stuff from Seamonkey, and has been tested to work with tabs, back/forward, etc.
Attachment #185380 -
Attachment is obsolete: true
Attachment #187481 -
Flags: review?(mconnor)
| Assignee | ||
Updated•20 years ago
|
Whiteboard: [wip] → [patch-r?]
| Assignee | ||
Comment 7•20 years ago
|
||
Without the unnecessary context menu changes.
Attachment #187481 -
Attachment is obsolete: true
| Assignee | ||
Updated•20 years ago
|
Attachment #187494 -
Flags: review?(mconnor)
| Assignee | ||
Updated•20 years ago
|
Attachment #187481 -
Flags: review?(mconnor)
| Assignee | ||
Updated•19 years ago
|
Target Milestone: Firefox1.5 → Firefox1.6-
Updated•19 years ago
|
Attachment #187494 -
Flags: review?(mconnor) → review+
| Assignee | ||
Comment 8•19 years ago
|
||
Trunk: mozilla/browser/base/content/browser-menubar.inc; new revision: 1.65 mozilla/browser/base/content/browser-sets.inc; new revision: 1.57 mozilla/browser/base/content/browser.js; new revision: 1.507
Status: ASSIGNED → RESOLVED
Closed: 20 years ago → 19 years ago
Resolution: --- → FIXED
Whiteboard: [patch-r?]
Updated•19 years ago
|
Flags: blocking-aviary2?
Updated•19 years ago
|
Flags: blocking-firefox2?
| Assignee | ||
Updated•19 years ago
|
Attachment #187494 -
Flags: approval1.8.1?
Updated•19 years ago
|
Attachment #187494 -
Flags: approval1.8.1? → branch-1.8.1?(mconnor)
Updated•19 years ago
|
Attachment #187494 -
Flags: branch-1.8.1?(mconnor) → branch-1.8.1+
| Assignee | ||
Comment 9•19 years ago
|
||
Landed on the 1.8 branch for Firefox 2. mozilla/browser/base/content/browser-menubar.inc; new revision: 1.57.2.11; mozilla/browser/base/content/browser-sets.inc; new revision: 1.51.2.11; mozilla/browser/base/content/browser.js; new revision: 1.479.2.50;
Keywords: fixed1.8.1
| Assignee | ||
Updated•19 years ago
|
Target Milestone: Firefox 2 → Firefox 2 alpha1
Comment 10•18 years ago
|
||
(In reply to comment #7) > Created an attachment (id=187494) [details] > Patch v2 > > Without the unnecessary context menu changes. Why exclude the items in the context menu? I think this leads to an inconsistent UI (for example, the user cannot view source from the View menu, but can do so from the context menu).
| Assignee | ||
Comment 11•18 years ago
|
||
(In reply to comment #10) > Why exclude the items in the context menu? I think this leads to an > inconsistent UI (for example, the user cannot view source from the View menu, > but can do so from the context menu). Please go ahead and file a bug if you think it's a problem, and CC me?
Comment 12•18 years ago
|
||
(In reply to comment #11) > Please go ahead and file a bug if you think it's a problem, and CC me? > Done. Bug 384854.
You need to log in
before you can comment on or make changes to this bug.
Description
•