Telegram floods badge count and causes prolonged vibrations

Bug #1422747 reported by Michał Karnicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Telegram app
Fix Released
High
Michał Karnicki

Bug Description

We should limit the number of badge count updates to required minimum.

You'll have to have an insight into the app to see that it's fixed.
$ bzr branch lp:libqtelegram/app-dev
$ cd app-dev
# install an old click now
$ ./scripts/rm-cache.sh
$ ./scripts/applog.sh |grep "Updating badge"
# send a couple new messages to DUT
# run the app, you'll see tons of messages like "Updating badge 0"

Now, install the newest click.
$ ./scripts/rm-cache.sh
$ ./scripts/applog.sh |grep "Updating badge"
# send a couple new messages to DUT
$ run the app, you should only see "Updating badge" with unique counts, not repeated with same values

Tags: cqa-verified

Related branches

Michał Karnicki (karni)
Changed in libqtelegram:
importance: Undecided → High
assignee: nobody → Michał Karnicki (karni)
status: New → In Progress
milestone: none → m17
Michał Karnicki (karni)
Changed in libqtelegram:
status: In Progress → Fix Committed
Michał Karnicki (karni)
description: updated
Jonathan Cave (jocave)
tags: added: cqa-verified
Michał Karnicki (karni)
Changed in libqtelegram:
status: Fix Committed → Fix Released
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.