[OTA13- notification panel]no apps listed

Bug #1626742 reported by wilfridd
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Incomplete
High
Bill Filler
ubuntu-push (Ubuntu)
Confirmed
Undecided
Arthur Mello
ubuntu-system-settings (Ubuntu)
Confirmed
Undecided
Arthur Mello

Bug Description

Hi,

No apps are listed in the new notif panel (mx4 arale). Please see screenshot attached.
I should expect some apps icons like telegram, dekko, ...
Sound notification are still working by the way.

Caonnt provide Log file .cache/upstart/application-legac..settings... does not exist

Thanks
Best regards

Wilfrid

Revision history for this message
wilfridd (widec1) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ubuntu-system-settings (Ubuntu):
status: New → Confirmed
Revision history for this message
mikahdh (f4tmike) wrote :

Same here with mako.

Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → High
milestone: none → 14
status: New → Confirmed
Changed in ubuntu-push (Ubuntu):
assignee: nobody → Arthur Mello (artmello)
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

what is the output of
gsettings get com.ubuntu.notifications.settings.applications applications
if its blank, then we need to figure out why that didn't get set properly

@arthur is there a way to run the hook directly to fix it?

Revision history for this message
Arthur Mello (artmello) wrote :

As Pat mentioned on the comment above the list of applications displayed on the Notification pannel is stored at GSettings under schema com.ubuntu.notifications.settings.applications and key applications. This list is populated by /usr/lib/ubuntu-push-client/click-hook-wrapper installed by ubuntu-push-client pkg. In fact this is a wrapper that will call /usr/lib/ubuntu-push-client/click-hook. This should run every time you reboot the device or after installing/deleting any pkg. This list is read by ubuntu-system-settings app and will populate the model of the specific pannel.

I am unable to reproduce this issue so far with krillin using rc-proposed (r435). Would probably need some more info about it to help finding out where the problem is.

First thing would be to make sure the GSettings list is empty and that running the wrapper manually will not update it. To check the list value just run on device as Pat suggested:

$ gsettings get com.ubuntu.notifications.settings.applications applications

Here is the output of mine for example: http://pastebin.ubuntu.com/23221260/ .

Revision history for this message
mikahdh (f4tmike) wrote :

Mine:
['dpkg/ciborium/0', 'dpkg/ubuntu-system-settings/0', 'com.ubuntu.telegram/telegram/2.2.30.0', 'com.ubuntu.calendar/calendar/0.5.877', 'dekko.dekkoproject/dekko/0.6.20']

Revision history for this message
wilfridd (widec1) wrote :

Hi,
Mine gives:

phablet@ubuntu-phablet:~$ gsettings get com.ubuntu.notifications.settings.applications applications
['dpkg/ciborium/0', 'dpkg/ubuntu-system-settings/0', 'com.ubuntu.developer.webapps.webapp-twitter/webapp-twitter/1.3.2', 'dekko.dekkoproject/dekko/0.6.20', 'com.ubuntu.telegram/telegram/2.2.30.0', 'com.ubuntu.calendar/calendar/0.5.877', 'com.ubuntu.reminders/reminders/0.5.568']
phablet@ubuntu-phablet:~$

BR

Wilfrid

Revision history for this message
Arthur Mello (artmello) wrote :

Thanks a lot for those logs. It seems that ubuntu-push click hook is doing its job and updating the apps list as expected. Unfortunately I am still not able to reproduce this issue locally, but I am investigating Notification pannel code on ubuntu-system-settings since this seems to be the responsible for this problem. The relevant log file for it would be: ~/.cache/upstart/application-legacy-ubuntu-system-settings-.log . If you see any suspicious message there (or if you want to send the full log) please add an attach to this bug report and it may help us to find out what is wrong.

If this is your daily phone device and you need to control the notifications until we find out what is wrong you can enable/disable notifications via GSettings:

$ gsettings set com.ubuntu.notifications.settings:/com/ubuntu/NotificationSettings/com.ubuntu.calendar/calendar/ enable-notifications false

This command would disable notifications for calendar-app. You can use "true" instead of "false" to enable notifications back. Or change the last part "com.ubuntu.calendar/calendar/" for the relevant entry you have in the GSettings applications list (i.e use com.ubuntu.telegram/telegram/ to control telegram notifications)

This is not expected to be a proper workaround for the problem but maybe it can help until we find a proper fix.

Arthur Mello (artmello)
Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Arthur Mello (artmello)
Revision history for this message
wilfridd (widec1) wrote :

Hi,

Thank you for taking care of this bug. This phone is my daily one :-)
I'd like to provide the log file but it does not exist
root@ubuntu-phablet:~# ls -l ~/.cache/upstart/application-legacy-ubuntu-system-settings-.log
ls: cannot access /home/phablet/.cache/upstart/application-legacy-ubuntu-system-settings-.log: No such file or directory

BR

Wilfrid

Revision history for this message
wilfridd (widec1) wrote :

Hi !

I think I've found someting that may help ... You gave me the idea to do this:
I did a
touch /home/phablet/.cache/upstart/application-legacy-ubuntu-system-settings-.log
Then chmod 640
Then chown phablet:phablet
Then I restarted the phone, went in notif panel and... Here we are! All apps are listed!
Cool!
You may look in the code if there is a check on the log file existence

BR
Wilfrid

Revision history for this message
wilfridd (widec1) wrote :

More information:
After the restart, the log has vanished...
I did another restart and the log file was back with this content:
------
phablet@ubuntu-phablet:~$ cat ~/.cache/upstart/application-legacy-ubuntu-system-settings-.log
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
qml: Page_QMLTYPE_27(0x5b5230, "systemSettingsPage")"System Settings": In Ubuntu.Components 1.3, the use of Page.title, Page.flickable and Page.head is deprecated. Use Page.header and the PageHeader component instead.
BrightnessItem::BrightnessItem(const QVariantMap&, QObject*) ubuntu.widi.supported: 0
2016-09-27 07:55:38,707 - WARNING - Last frame took 41 ms to render.
2016-09-27 07:55:49,391 - WARNING - QObject::startTimer: Timers cannot be started from another thread
------
Notif panel still filled ok

BR
Wilfrid

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ubuntu-push (Ubuntu):
status: New → Confirmed
Revision history for this message
mikahdh (f4tmike) wrote :

Turned out my ...settings-.log already had the proper rights and user.
Still tried those settings and when I checked notify settings it wasn't empty anymore. Can't tell when they appeared, haven't checked them for a while.

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

Maybe it was some timing race on first boot or something, marking incomplete for now
I do not think it had to do with the log permissions but who knows

Changed in canonical-devices-system-image:
status: Confirmed → Incomplete
milestone: 14 → backlog
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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