Page MenuHomePhabricator

Share icons not updated in Share functionality
Closed, DeclinedPublic1 Estimated Story Points

Description

I've been using Wikipedia app for years, I have shared a hundreds of articles through Gmail and yet Gmail icon is in second line of share icons (i.e. in "Apps list", forcing me to scroll it each time I want to make use of it.

First line always has: Bluetooth, Nfc Service, Share Nearby and Messages (and this list or order of this list never changes) even though I have never used any of these services, apps or icons for sharing.

Steps to reproduce

  1. Open any article in mobile Wikipedia app
  2. Tap on "..." dot button in top-right corner and select "Share link" item
  3. Observe "Share" overlay's content

Expected results

List of icons is updated, as user is using each services or app, and lists most often used ones in first place.

Actual results

List of icons is never updated, order of icons never changes, list of apps and services available in "Share" overlay always consist some randomly selected items that user never has used before.

Environments observed

App version: 2.7.50341-r-2021-02-02
Android OS versions: 10 (3.18.124 / QPKS30.54-22-16 / January 1, 2021)
Device model: Motorola One (XT1941-4)
Device language: English

Event Timeline

Dbrant subscribed.

Our app does not have control over the Share overlay that pops up when an article is shared. This is the default Android component that handles sharing of links from any app, and we hand over control to it after we pass the link to it.
Are you saying that when you share text or links from other apps, the Share chooser remembers your selections differently from when you share from Wikipedia?

(I am also closing your other tickets as duplicates, since the same answer applies to them, too.)

Here you have (source) a screenshot captured on my Motorola One / Android 10:

zsO2F.jpg (624×2 px, 98 KB)

Elements:

  • Left part: Wikipedia app
  • Center part: mobile Chrome
  • Right part: system default

As you can see (left part), what Wikipedia app currently shows as "Share" overlay by no mean is system-default share overlay. On my phone Wikipedia app is the only one that shows something like this. The only other app that shows "something different" (but still not, what Wiki uses) is Chrome (center part). The actual and real system-default share overlay is pictured in the right part -- this is the share overlay that I see in most apps under my Motorola One / Android 10 (about 95% of all apps installed).

To answer your question -- When I am sharing from other apps:

  • The "Share" overlay looks completely different than in Wikipedia app
  • Share overlay does remember what I used previously and puts most often used icons in the top of the list (right part of screenshot).

As you can see in the screenshot -- for system default (right part) and Chrome (center part), the "Gmail" icon is first and "Messages" icon is second, because I am using these sharing "channels" the most often (Gmail -- 85%, Messages -- 15%). In Wikipedia I always see "Bluetooth" even though I have never ever shared anything (neither from Wikipedia app nor from system in general) through Bluetooth.

Chrome is one of the few apps that actually uses its own custom sharing popup. If you bring up that popup, and scroll the list of apps all the way to the end, there should be a "More..." option. If you select More, it will then switch to the standard Android sharing dialog, which is what we use by default.

At the moment it would be prohibitively difficult for us to build a custom sharing dialog, because resolving app intent handlers is different across various API levels, and even across different manufacturers of devices.

And FWIW, I also cannot reproduce the behavior that you see: When I share a link from the app, the standard Share dialog definitely remembers the last app that I shared to. Without physical access to your specific device, I'm not sure how we could diagnose why your Share dialog is not remembering your last selection.

Thank you for your comments. What you have wrote above is 100% true. Thank you for your clarification. We can close this ticket as off-topic. There's nothing you can do (unless Wikipedia comes with its own Share-like dialog), since all the problems are in the system dialog.

Thanks for understanding!