I can not configure the notification by settings to make it enable/disable

Bug #1598758 reported by Jin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Telegram app
Incomplete
Critical
Unassigned

Bug Description

Description:
The notification button is gone in Telegram application settings.

Reproduce Steps:
    a) Launch Telegram application
    b) Select "Settings"
    c) Observe the button in section "Messages"

Occurrence:
10/10 (100%)

Actual Result:
No notification button.

Expected Result:
Application has the notification check box settings as original.

Software Information:
com.ubuntu.telegram (2.2.26.0)

Device Information:
    current build number: 475
    device name: mako
    channel: ubuntu-touch/rc-proposed/ubuntu
    last update: 2016-06-30 15:40:52
    version version: 475
    version ubuntu: 20160630
    version device: 20160401.1
    version custom: 20160630

Jin (jindallo)
Changed in telegram-app:
importance: Undecided → Critical
status: New → Confirmed
milestone: none → m32
Changed in telegram-app:
assignee: nobody → Paz Chauhan (paz-chauhan)
Revision history for this message
Paz Chauhan (paz-chauhan) wrote :

@jin - What are the requirements for this bug?

If I delete the cache and config folders, launch telegram and enter the number details (Account A) then the Notification number appears in the Settings (Cutegram.pushNumber == telegram.phoneNumber == number for Account A)

If I then add a 2nd account (Account B) and check the Settings for the account just added, there is no Notification button. This is because Cutegram.PushNumber is still set to Account A and telegram.phoneNumber == Account B. However, if I switch accounts to Account A and check Settings, then the notification button is present.

If I then delete Account A and check Settings for Account B the notification button is displayed. So the Cutegram.pushNumber is now set to Account B.

I've tried it with 3 accounts too and it works in the way described above. Is this the expected behaviour?

Revision history for this message
Jin (jindallo) wrote :

I am not pretty sure we support multi-accounts notifications of framework,
need to double check current Unity space to see if this is a feature or not.
(Jin will check there)

So for the requirements of this bug,
I agree what you investigated we have a "major" account,
and the Cutegram.pushNumber need to be assigned with.

For case "have only Account A",
there is no doubt the Cutegram.pushNumber need to be assigned to the one,
so we can trigger the notifications and get the messages with app. is in background.

For case "have Account A and B",
the major one must be Account A since it make sense to popup the "Notifications" dialog,
when user logged in the first account successfully without the support for multi-accounts notifications as current design.

For case "have Account A, B and C then logout A",
in such the case we set the Cutegram.pushNumber to Account B automatically?
I am thinking is it possible to popup the "Notifications" dialog to user for Account B,
to let users know the major one is shifted.

On the other side,
about the subject of this bug,
we met the symptom in testing the bug:
    https://bugs.launchpad.net/telegram-app/+bug/1555440
but how come it could not be seen or how we reproduce such the symptom...

Revision history for this message
Paz Chauhan (paz-chauhan) wrote :

So it looks like the app is behaving the way it should be, and I cannot reproduce this issue as yet. Perhaps there is a sequence of actions that have led to this symptom, but they are not so straightforward. In which case how would you like to proceed with this one?

Revision history for this message
Jin (jindallo) wrote :

Hello Paz,

I think so, then for now,
please leave it to me(reporter),
will try to confirm the symptom again,
and manage a way to make it reproducible.

Now it will be an "Incomplete",
at least it is not a blocker of our notification bugs hacking,
really thanks for your investigation on this.

Jin (jindallo)
Changed in telegram-app:
status: Confirmed → Incomplete
assignee: Paz Chauhan (paz-chauhan) → Jin (jin.cth)
Jin (jindallo)
Changed in telegram-app:
assignee: Jin (jin.cth) → nobody
milestone: m32 → none
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.