Closed Bug 173954 Opened 23 years ago Closed 22 years ago

Add Send Page (as Link) to File menu

Categories

(Firefox :: Menus, enhancement, P1)

x86
All
enhancement

Tracking

()

VERIFIED FIXED
Firebird0.7

People

(Reporter: chris, Assigned: mscott)

References

()

Details

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021001 Phoenix/0.2 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021001 Phoenix/0.2 While clearly Phoenix doesn't need Mail/News, a simple SMTP Send Page/Send Link piece *is* needed. I sue this all the time, and it currently is the onl thing preventing me from using Phoenix as my primary browser. Ideally, it would be nice to have "Send Page/Link with ..." allowing you to pick from multiple SMTP transports. Reproducible: Always Steps to Reproduce: 1. Pull doen File menu 2. Notice there is no Send Page 3. Actual Results: No Send Page option Expected Results: Send Page option I really don't want to seem as if we should have Mail/News in Phoenix. But Send Page, without going to an external program, is absolutely critical. Could it be done easily as a XUL addin?
*** Bug 174199 has been marked as a duplicate of this bug. ***
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
This is kind of a cheesy way to do it, but this patch at least adds some basic "Send Link" functionality to Phoenix without much effort. It uses the mailto: protocol handler, so I assume it could work on all platforms. And it can always be augmented once better MAPI/Thunderbird/whatever support is available.
Target Milestone: --- → Phoenix0.6
Moving to Menus
Component: General → Menus
Comment on attachment 104478 [details] [diff] [review] Implement basic "Send Link" functionality via mailto: blake, is this something we want? if so, can you review it please?
Attachment #104478 - Flags: review?(blaker)
In my opinion, there should also be the possibility to add a toolbar button for this. I just got a mail from a user of IE, asking if Phoenix could do this.
I'd like to see this as a pull-down toolbar/menu option, (like the back bar) with multiple SMTP choices. ON my laptop, I have as many as 5 different outgoing mail servers, depending on where I am and what vpn is currently up. Thought for food.
Now that Minotaur is active, this would be really nice. There should be a way to send a page or link via the default mail client.
Priority: -- → P1
Target Milestone: Phoenix0.6 → Phoenix0.7
Comment on attachment 104478 [details] [diff] [review] Implement basic "Send Link" functionality via mailto: I won't comment too much on the actual method of sending, although it seems like the easiest way of doing it. I'd prefer the menu item to be under Save in the File menu. If we were to mimic what IE does, it would be below the Print items as well. Also, to be consistent with existing menu items, "context-sendthislink" should be named "context-sendlink" and "context-sendlink" should be named "context-sendpage".
Blocks: 164421
Target Milestone: Firebird0.7 → Firebird0.8
Taking QA Contact as designated owner of Firebird-Menus. Sorry for bugspam.
QA Contact: asa → bugzilla
Blocks: 214302
I just looked at the patch and I'm not sure setting the Subject to the URI is the best solution. It would be better to set the Subject to the page title and the Body to the URI.
*** Bug 214794 has been marked as a duplicate of this bug. ***
see also bug #144828 for how shliang implemented this in the app suite, when the user does a nav only install.
The relevant portion of that patch appears to be this: + function openExternalMailer(url) { + var extProtocolSvc = Components.classes["@mozilla.org/uriloader/external-protocol-service;1"] + .getService(Components.interfaces.nsIExternalProtocolService); + var ioService = Components.classes["@mozilla.org/network/io-service;1"] + .getService(Components.interfaces.nsIIOService); + var mailto = url ? "mailto:?body="+url : "mailto:"; + var uri = ioService.newURI(mailto, null, null); + + extProtocolSvc.loadUrl(uri); + }
That's only for Send Link and is basically the same as the current patch (but puts the URL in a different place).
taking. I'll help drive this into firebird.
Assignee: blake → scott
This patch adds: 1) A Send Page menu item to the File menu. 2) Send Page, Send Link and Send Image to the context menu. Send Link and Send Image are only visible if you are on top of a link or an image respectively. In all cases we generate a mailto url and kick the url out to the operating system. This will work on Mac, Windows and OS2. Unix users have to wait for nsIExternalProtocolService::loadUrl to be implemented
Attachment #104478 - Attachment is obsolete: true
Comment on attachment 129389 [details] [diff] [review] Send Page, Send Link and Send Image support r=ben@bengoodger.com
Attachment #129389 - Flags: review+
fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Target Milestone: Firebird0.8 → Firebird0.7
There is a major omission from this fix. Send Page on the File menu does the IE equivalent of Send->Link by E-mail. Thus, we are still missing Send->Page by E-mail, which is what Send Page should really do. Perhaps the current menu item should be changed to Send Page as Link. (See bug 144484 for discussion) Also, this line of the patch seems to be an error (the id should be menu_sendPage to be consistent): + <menuitem id="menu_sendLink" label="&sendPageCmd.label;" accesskey="&sendPageCmd.accesskey;" command="Browser:SendLink"/> Should I open up new bugs?
I just found another huge issue with the patch. It doesn't pass the query string to the e-mail client. Again, do we want this reopened, or a new bug?
so mscott doesn't have to repeat this, he tells me: "Send Link" is used to imply sending the link when you are hovering over a link in the page and "Send Page" means send the link of the actual page.
Yes, that is obvious by looking at the patch. However, the summary specifically asked for Send Link in the File menu. The only way that makes sense is if it is interpreted as Send Page as Link, which would then imply that Send Page means Send Page as Attachment, which is exactly what the cooresponding Mozilla (suite) bugs refer to, and the two functions offered by IE. In any case, perhaps I should open new bugs since I have gotten no response here re comment 19 and comment 20.
I definitely want both options - Send Page and Send Link (to current page) - just like the full Mozilla browser has. That's why I have a vote for this bug, so I'm in agreement with comment <a href=http://bugzilla.mozilla.org/show_bug.cgi?id=173954#c19>19</a>.
Created new bugs: Bug 216168: Add Send Page (as Attachment) to File menu Bug 216169: Inconsistent naming sendpage/sendlink Bug 216170: Send Page (as Link) omits query string Resolving this as verified. Please move your votes to the new bug(s) of your choice.
Status: RESOLVED → VERIFIED
Summary: Add Send Page/Send Link to File menu → Add Send Page (as Link) to File menu
I'm confused about this bug. I just installed a 0903 build, and the Mozilla Mail compose window that is opened is completely blank. No URL or anything.
Attachment #104478 - Flags: review?(blake)
Same problem with 0.7. The "Send Page" menu option opens a blank Mozilla Mail window for me. Any ideas why? Presumably it's working for other people?
WFM Firebird 0.7 (in that it creates a new email with the URL as the body) What mail client are you using Doug? Perhaps try a new profile?
Darn. Tried with a fresh profile, and still the same behaviour. Mail client is Mozilla Mail 1.5, but it also happened with 1.4.
Just tried from home and got different, also incorrect behaviour. There it opens a new instance of Mozilla Mail - not a new compose window. Home is XP, work is Win2K. Both with same versions of Firebird and Mozilla.
FWIW - when I switched at home to Thunderbird as my default mail client, this started working. It still doesn't work (at work) with Mozilla Mail, though.
No longer blocks: 164421
Blocks: 158464
QA Contact: bugzilla → menus
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: