Closed
Bug 770735
Opened 12 years ago
Closed 4 years ago
Replace Share option with Quick Share options in {remote tabs} home panel context-menu
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox15 affected, firefox16 affected, fennec-)
RESOLVED
INCOMPLETE
People
(Reporter: aaronmt, Unassigned)
References
Details
(Keywords: uiwanted, ux-discovery)
Attachments
(2 files)
Currently one has to open the tab, and select 'Share' and then select 'Firefox Sync'. [3 steps].
Perhaps we can detect a long-tap on a tab in the 'Sync Tabs' pane and have the option to select a 'Send to device' action that just uses the Firefox Sync intent immediately.
Reporter | ||
Updated•12 years ago
|
Keywords: ux-discovery
Reporter | ||
Updated•11 years ago
|
Blocks: remotetabs
Comment 2•11 years ago
|
||
This is a good idea, but with the state of Send Tab to Device (Bug 941744) currently in flux, it's not actionable.
Depends on: 941744
Reporter | ||
Comment 3•11 years ago
|
||
Huh? I don't see the dependancy.
I don't see this any different than using the share in our browser menu. You can share to Email, etc.
Reporter | ||
Comment 4•11 years ago
|
||
Oh nm, misread my own bug. Sharing remote tabs in entirety is another bug.
Comment 5•11 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #3)
> Huh? I don't see the dependancy.
>
> I don't see this any different than using the share in our browser menu. You
> can share to Email, etc.
Oooh, I interpreted this ticket differently. Adding a 'Share...' menu item is actionable. Updating title.
Summary: Request: Ability to share tabs to other devices right from Synced Tabs pane (context-menu) → Add Share option to remote tabs context-menu in Synced Tabs pane
Comment 6•11 years ago
|
||
Bonus points for feeding this through the quick-share mechanism. Would be awesome to have the quick share items in the context-menu, and to update the quick-share choices with the data here. No idea how hard that is :)
Reporter | ||
Comment 7•11 years ago
|
||
Reporter | ||
Comment 8•11 years ago
|
||
Whoops, meant to mention 785199, give remote tabs a context menu
Comment 9•11 years ago
|
||
I wonder if the long press interaction in the synced tab tray would be better served by an action bar mode instead of a context menu.
This would allow us to support not only sharing of individual items, but also provide users with a way to select multiple tabs at once so they can act on them as a group -- could be opening them all at once, sharing a group of links, etc.
No longer depends on: 1002628
Comment 10•10 years ago
|
||
Post Bug 785199, this is now implemented. I'm going to keep it open to discuss replacing Share with the Quick Share items in this (really, all home panel) menus.
Updated•10 years ago
|
Summary: Add Share option to remote tabs context-menu in Synced Tabs pane → Replace Share option with Quick Share options in {remote tabs} home panel context-menu
Comment 11•10 years ago
|
||
Comment 12•10 years ago
|
||
Comment 13•10 years ago
|
||
wesj: did you ever consider this? Can you comment on how hard this might be, and if there are any problems I should be aware of?
Flags: needinfo?(wjohnston)
Comment 14•10 years ago
|
||
I think this will be tough. When these menus are inflated, for instance here:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/home/HomeFragment.java#107
we inflate them from native resources. At this point we need some way to inject a custom view. AFAIK, The menu's don't give us a way to inject any custom views:
http://developer.android.com/reference/android/view/Menu.html
and MenuItem's don't allow them either. Things like setActionProvider on the MenuItem (should?) only affect the actionview shown on the actionbar if there's room (since these are native context menus, and since we have no actionbar, they won't appear there ever):
http://developer.android.com/reference/android/view/MenuItem.html#setActionProvider%28android.view.ActionProvider%29
I think we'll have to switch from using these NativeMenu's to generating menus entirely of our own to do this (but I haven't exhaustively tried).
If we can't, there are probably two options:
1.) attempt to use Prompt.java since it includes some support for these types of menuitems already (it will likely need some massaging to make that work from Java code).
2.) Alternatively, you could probably use our GeckoMenu code as well (since it supports inflating resources from Android's XML, it might work better here actually).
I've wanted to bring the two of those together at some point, but its a lot of refactoring (i.e. killing org.mozilla.gecko.prompt.PromptListItem and replacing it with GeckoMenuItem is bug 943568), and its not necessarily required for this.
Flags: needinfo?(wjohnston)
Comment 15•10 years ago
|
||
Can we redefine the problem in a way that presents a solution?
For example, how about adding a row beneath or above the selected or long pressed row, putting share items there? Kinda like an action bar, not a context menu. Ian touched on this in Comment 9.
Maybe tapping a row turns it into a fat row, with share icons and a menu button?
Comment 16•4 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•