[FHD] Remove Phone and Messaging apps from favorites, launcher and app scope

Bug #1536665 reported by Bill Filler
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical Pocket Desktop
Fix Committed
High
Unassigned
Canonical System Image
Fix Released
Critical
Penk Chen
unity-scope-click (Ubuntu)
Fix Released
High
dobey

Bug Description

Per product management, the Phone and Messaging apps should not be available on the Freiza build.

We can accomplish this in a few steps tbd
1 - do not show them in the launcher or the top favorites section
2 - do not show them anywhere including the app scope
3 - remove them from the image entirely, although messaging will be interesting at some future time (this probably requires a move from rootfs to custom tarball)
or
4 - make their appearance conditional based on device capabilities

Note we also want to remove the infographic feeds for these or ensure they are not visible by default
dialer-calls-duration
dialer-calls-incoming
dialer-calls-outgoing
text-messages-received
text-messages-sent

Tags: lt-blocker

Related branches

Bill Filler (bfiller)
Changed in canonical-devices-system-image:
milestone: none → ww04-2016
importance: Undecided → High
description: updated
summary: - remove dialer and messaging from favorites
+ Remove Phone and Messaging apps from favorites
Changed in canonical-devices-system-image:
status: New → Confirmed
Changed in canonical-pocket-desktop:
status: New → Confirmed
importance: Undecided → High
Changed in canonical-devices-system-image:
assignee: nobody → Pat McGowan (pat-mcgowan)
Revision history for this message
Paweł Stołowski (stolowski) wrote : Re: Remove Phone and Messaging apps from favorites

The list of favorited apps can be configured via gsettings key

$ gsettings get com.canonical.Unity.ClickScope core-apps

This key is currently an empty array of strings, in which case the Apps scope uses the following defaults:
"dialer-app", "messaging-app", "address-book-app", "com.ubuntu.camera_camera", "webbrowser-app", "com.ubuntu.clock_clock"

Revision history for this message
Michał Sawicz (saviq) wrote :

Not a unity8 issue, needs to be handled in the custom/device tarball.

no longer affects: unity8 (Ubuntu)
description: updated
description: updated
Revision history for this message
Luciano Barea (lubareac) wrote :

Why remove?
Tablets will be capable to send messages and make calls for emergency cases.

tags: added: lt-blocket
tags: added: lt-blocker
removed: lt-blocket
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

@Luciano: Generally not all tablets have SIM cards and can be used for calls or messages, this is about the general case - the custom tarball for a device should decide if it should have those installed or not. We shouldn't enforce installing that on all devices as it doesn't make much sense sometimes (wastes space).

As for the bug in hand, if we decide that we want to remove those completely from an image, this would need some changes in the builder config - we would have to remove the messaging etc. from the rootfs and re-add it to all of our devices custom tarballs. I would suppose that would be our long-term proper solution.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Reassign to make sure penk knows

Changed in canonical-devices-system-image:
assignee: Pat McGowan (pat-mcgowan) → Yuan-Chen Cheng (ycheng-twn)
Revision history for this message
Luciano Barea (lubareac) wrote :

@Łukasz
I think, sometimes developers will choose between "waste space" or "waste time".
Wasted space can be reduced in next OTAs, but wasted time in re-add things no return.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

@Luciano: as I said, it's the tablet vendor that's supposed to decide if the device needs a messaging/dialer app. If a tablet has no physical ability to use SIM cards, why should the image include those apps which will not work by default anyway? It's all being done in the custom tarball, so tablets with SIM-support would have those still installed but those that don't - wouldn't. No one says: hey, let's remove those apps from all tablet images. The general idea is to remove them from the rootfs so that every custom tarball can decide if installing those makes sense or not.

Revision history for this message
Luciano Barea (lubareac) wrote :

@Łukasz
Some tablet has SIM card reader, but some options, normally dialer, are deactivate by telephony company.
And sometimes , tablets and phones are blocked for use only with the company where you buy them, until you liberate the device.
If device not use SIM cards, maybe you will add to system something for disable (hide) them.
Other option is no install, and add later through something like ppa's. This way, you can release updates without launch new OTAs (hey, can you do that for security updates of things like kernel?).

Besides, try to understand my point of view as user:
I'm worried, because If you create custom tarballs for each device, what will happend with OTAs?
When you will have 30 or 50 custom tarballs, you will need time to test each one, and then the OTAs release time will be of 8, 12 or even more weeks.
Let's see the possible tarballs for same device in their different models
(take in mind, I don't know if same device but with different screen size (like maybe BQ E4.5 and BQ E5), or if 3G, 4G and next 5G version, use the same tarball):
-1 for Wifi and SIM card model.
-1 for Wifi only model (without SIM card).
-¿1 for SIM card only model? (i don't know if exist devices with SIM card and without Wifi).
Add to this:
-1 version for each model blocked (no liberate) by telephony company.
-1 version for each free or liberate model, but customized by telephony company.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

@Luciano: the number of custom tarballs is not a problem from the QA POV. If we have 20 different officially supported devices we have to test all 20 devices, regardless of how many custom tarballs we actually have. We're not testing custom tarballs but the specific devices. For instance, we have the same custom tarball for krillin and vegetahd but both devices need to be tested separately anyway, as the hardware is different (although in this case only slightly). Also, phone updates only happen through OTA anyway, no apt updates are supported as our images are read-only by default.

Anyway, for now I see that the latest frieza custom tarball has the phone apps temporarily hidden from the apps scope and launcher.

Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

QA reported that the phone apps are gone from the launcher and favorites but are still visible in the apps scope - is that a feasible enough solution? I suppose we should hide it completely? The bug doesn't specify explicitly what is required by design.

Changed in canonical-devices-system-image:
status: Fix Committed → In Progress
summary: - Remove Phone and Messaging apps from favorites
+ Remove Phone and Messaging apps from favorites, launcher and app scope
Revision history for this message
Penk Chen (penk) wrote : Re: Remove Phone and Messaging apps from favorites, launcher and app scope

The launcher / favorites icons has been removed in custom tarball via gsettings.

However the apps scope there's not much we can do about it, dialer-app and message-app are installed in rootfs, therefore should be removed in rootfs for bq-pd.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

This is sufficient for now. Ideally there visibility will be controlled by the capabilities of the device for dialer and what plugins are available as in the case of messaging

Revision history for this message
Luciano Barea (lubareac) wrote :

@Pat
¿Phone and messaging apps will be controlled by the capabilities of the device (SIM card reader) or by if one SIM card is connected?
If the device don't have SIM car reader, phone and messaging apps will be hidden.
But, what happen in a device without SIM card, because you don't have one in this moment?
Hide this apps like in devices without SIM car reader, or still visible but with a message like "You can't use this app, because no SIM card detected"?

@Łukasz
>Also, phone updates only happen through OTA anyway, no apt updates are supported as our images are read-only by default.
I see vulnerabilities in ubuntu ( http://www.ubuntu.com/usn ), but i don't know if could affect Ubuntu Touch.
And like i don't dirty this, where can i open a wishlist for "receive urgent security updates using a temporary write mode"?

I almost forget, Łukasz and Pat, sorry for disturb you with all this.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

@Luciano, availability of telephony related features will be controlled by the presence of a modem.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

In the short term we could add a blacklist in gsettings that the app scope would use to hide certain apps. This could be overlaid from the custom tarball

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

launcher and favorites done

Changed in canonical-devices-system-image:
assignee: Yuan-Chen Cheng (ycheng-twn) → Alejandro J. Cura (alecu)
milestone: ww04-2016 → ww08-2016
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-scope-click (Ubuntu):
status: New → Confirmed
Revision history for this message
John McAleely (john.mcaleely) wrote :

similar tablet related work in system settings bug #1541588

Changed in unity-scope-click (Ubuntu):
assignee: nobody → Antti Kaijanmäki (kaijanmaki)
Revision history for this message
Noemí (noemi-gallego) wrote :

@John,

If the messages and phone apps are going to remain for VoIP calls and telegram messages, then the sound settings should be reset.

Thanks!

Changed in unity-scope-click (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

in the near term the plan is to hide the phone and messaging apps. Once they are generally useful they will be revealed along with the relevant settings.

dobey (dobey)
Changed in unity-scope-click (Ubuntu):
importance: Undecided → High
dobey (dobey)
Changed in unity-scope-click (Ubuntu):
assignee: Antti Kaijanmäki (kaijanmaki) → Rodney Dawes (dobey)
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
summary: - Remove Phone and Messaging apps from favorites, launcher and app scope
+ [FHD] Remove Phone and Messaging apps from favorites, launcher and app
+ scope
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scope-click - 0.1.1+16.04.20160307-0ubuntu1

---------------
unity-scope-click (0.1.1+16.04.20160307-0ubuntu1) xenial; urgency=medium

  [ Antti Kaijanmäki ]
  * libclickscope/click/interface.cpp: remove accents and use
    QString::compare() to find matches (LP: #1546513, #1378490)

  [ CI Train Bot ]
  * Resync trunk.

  [ Rodney Dawes ]
  * Add an "ignored-apps" gsettings key for a list of apps to ignore in
    results. Generate a gsettings schema during build for the app scope
    tests. Use the temporary schema and memory backend for app scope
    tests. (LP: #1536665)
  * Refactor download manager class to use web::Client for network
    usage. Update all usage of click::DownloadManager for refactored
    API. Add a method to the web::Client to invalidate credentials.
    Remove integration-harness tests from coverage rule. (LP: #1432506,
    #1317292)
  * Use the online-accounts integration for payments button. Refresh the
    store results on purchase cancellation. (LP: #1513093)

 -- Rodney Dawes <email address hidden> Mon, 07 Mar 2016 14:10:31 +0000

Changed in unity-scope-click (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-pocket-desktop:
status: Confirmed → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Revision history for this message
Alejandro J. Cura (alecu) wrote :

We are still missing the gsettings entries in the frieza tarball to hide the phone and messaging apps.

Changed in canonical-devices-system-image:
milestone: 10 → 11
importance: High → Critical
status: Fix Released → Triaged
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Can these get into the device tarball for frieza and cooler?

Changed in canonical-devices-system-image:
assignee: Alejandro J. Cura (alecu) → Alfonso Sanchez-Beato (alfonsosanchezbeato)
Revision history for this message
Alejandro J. Cura (alecu) wrote :

The missing keys needed for frieza are the following:

gsettings set com.canonical.Unity.ClickScope ignored-apps "['dialer-app.desktop', 'messaging-app.desktop']"

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

The device tarball already sets FORM_FACTOR=tablet in /etc/ubuntu-touch-session.d/android.conf. Should not rootfs take this into account to create the gsetting entry?

Otherwise we need to add a script in /etc/profile.d/ meant to be overriden by the device tarball to make this call to gsettings.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

This is more a per device capability definition and I don't think form factor is directly related.
From the rootfs we could detect the lack of modem and turn off the dialer, and similarly detect the lack of messaging protocols that can be used by the messaging app. In the future, the messaging app will be supportable, and even the dialer could be with a capable usb modem for example.
I agree with abeato to try to do this from the rootfs based on capabilities. unless it proves too difficult. Short term we could base it on the available device name.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

For now we would like a gsettings.override file in the custom tarball to contain

[com.canonical.Unity.ClickScope]
ignored-apps=['dialer-app.desktop', 'messaging-app.desktop']

Changed in canonical-devices-system-image:
assignee: Alfonso Sanchez-Beato (alfonsosanchezbeato) → Penk Chen (penk)
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

thats for cooler and frieza

Changed in canonical-devices-system-image:
status: Triaged → In Progress
Revision history for this message
Penk Chen (penk) wrote :

custom dconf key added for bq-aquaris-pd.en channel.

Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.