Closed Bug 744981 Opened 12 years ago Closed 11 years ago

Share should share page title as well as URL

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 21

People

(Reporter: tech4pwd, Assigned: rnewman)

References

Details

(Keywords: polish)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120412 Firefox/14.0a1
Build ID: 20120412030726

Steps to reproduce:

Opera for Android does this. It's convenient and useful, I'm not really sure why Fennec opts to only share the URL.
OS: Windows 7 → Android
Hardware: x86 → ARM
I'm not able to reproduce what you are seeing.

The title of the webpage is in the subject when you send off an email.  Opera doesn't show the title in twitter; neither do we since there's limited space.

Can you be more specific in where you are seeing the issue please?
You're right, Tweetdeck, Tweakdeck and Twitter are shared without page title, while Whatsapp shares the page title.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Pocket also doesn't get the page title. But it doesn't when sharing a page from the Android 4.2 "Internet" browser, either.

As we found in Bug 799615, there are a bunch of different ways to send pages, some of which work better than others. I would like to explore this further at some point, because I think we might be able to make this work.

So if nobody minds, I'm going to reopen this and do some investigation.
Assignee: nobody → rnewman
Status: RESOLVED → REOPENED
Ever confirmed: true
Keywords: polish
Resolution: INVALID → ---
Status: REOPENED → ASSIGNED
Summary: Share should share page title rather than just the URL → Share should share page title as well as URL
Mark, please review or dispatch appropriately!

This part 0 rewrites openUriExternal to:

* Use early returns
* Eliminate C++-style aFoo naming
* Separate intent creation from activity launching
* Use more efficient/library code for things like query parsing
* Improve readability and style
* Add Javadocs and comments

It builds; tomorrow I will test it.
Attachment #710075 - Flags: review?(mark.finkle)
On top of that refactoring, the one-line change. Yes, it's a one-line change, but now we can read the function and understand what it's doing ;)

Again, I will test this tomorrow.
Attachment #710077 - Flags: review?(mark.finkle)
Attachment #710075 - Flags: review?(mark.finkle) → review+
Attachment #710077 - Flags: review?(mark.finkle) → review+
https://hg.mozilla.org/mozilla-central/rev/9e3edc87a446
https://hg.mozilla.org/mozilla-central/rev/8ac096b24cb0
Status: ASSIGNED → RESOLVED
Closed: 12 years ago11 years ago
Resolution: --- → FIXED
Depends on: 839580
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: