App very slow, great lag after update 2.2.4

Bug #1575430 reported by Mgc Lude
74
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Telegram app
Fix Released
Critical
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

well chaps, subject nails it.
Ever since the upgrade to version 2.2.4 for Telegram on Ubuntu phone, there is an enormous lag on the app.
When clicking to select a conversation or group, it marks it as grey and takes between 4 to 8 seconds to open it. And another 3 seconds, on average, to load a conversation. Text only, not loading any images.

The reason I'm filling this one is that the difference from the previous version is quite noticeable. Prior to this update, it was very fluid. And enjoyable to use.

I'm using a BQ Aquaris E4.5 Ubuntu Edition on Ota 10.1

Related branches

Revision history for this message
Mgc Lude (mgc.lude) wrote :

Also, when trying to share page links from the ubuntu phone browser to telegram, after being prompted to select the conversation and clicking it - either crashes or nothing happens. Could be related, since it didn't happen before version
 2.2.4

Revision history for this message
Jin (jindallo) wrote :

I got below feedback from our guy,
he did some test on that,
the time in seconds from taping a chat to focus inside it:
    2, 2, 3, 2, 4, 5, 2, 2, 2, 3

So I confirmed this issue,
and put this as priority one for solving.

Changed in telegram-app:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → m30
Revision history for this message
Mgc Lude (mgc.lude) wrote :

Goes without saying, but comparing the Telegram app for android, the Ubuntu version is slower and less responsive. Needs optimisation. And that was the case even before version 2.2.4

Revision history for this message
Michal (michalhlobil) wrote :

I absolutely agree and think the problem lies in optimisation on Ubuntu Touch rather than hardware. I tested Telegram on Nexus 7 2013 running Android, then I installed Ubuntu on the very same tablet and the app is much slower and less responsive. Also, the webapp "webtelegram" is quicker than this native app so this definitively can be improved.

Revision history for this message
Gavril (durdu69) wrote :

The app really needs some optimization it's slower then Android app.
Also the web app is significantly quicker, and after 2.2.4 great lag.
Thank you

Revision history for this message
Jin (jindallo) wrote :

We can contact with ubuntu-ui-toolkit guys already,
it seems the AdaptivePageLayout Telegram is using has some delays on receiving the pageLoaded() signal,
so that the APL can not complete the finalizeAddingPage() function in a short time sometimes.

The detail about APL Telegram used please see below merge proposal:
    https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/aplMoreAsynchronous/+merge/272218

Revision history for this message
Joan CiberSheep (cibersheep) wrote :

I have marked Bug #1575427 as duplicated because it looks like it's the same problem.
So, when more than one account is set up, app becomes unusable (it does not show any conversation).

Deleting all accounts but one makes the app terrible slow but usable.

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

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

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
Zsombor Egri (zsombi)
affects: ubuntu-ui-toolkit → ubuntu-ui-toolkit (Ubuntu)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
Revision history for this message
Jin (jindallo) wrote :

Since Telegram is suffering on the APL asynchronous mode and its performance,
we have below branch to re-implement the converged UI with synchronous APL,
this is a temporary solution for the lagged Telegram:
    https://code.launchpad.net/~libqtelegram-team/telegram-app/app-very-slow-great-lag-after-update-2.2.4

We will keep updating the work here.

Revision history for this message
Jin (jindallo) wrote :
Changed in telegram-app:
assignee: nobody → Jin (jin.cth)
status: Confirmed → In Progress
Revision history for this message
Jin (jindallo) wrote :

Bug fixed,
and verified pass on developer side.

The change list is submitted as rev. 187,
below is the detail information.
    http://bazaar.launchpad.net/~libqtelegram-team/telegram-app/telegram/revision/187

Device Information:
    current build number: 439
    device name: mako
    channel: ubuntu-touch/rc-proposed/ubuntu
    last update: 2016-05-13 14:51:20
    version version: 439
    version ubuntu: 20160513
    version device: 20160401.1
    version custom: 20160513
    version custom: 20160408.3

Changed in telegram-app:
status: In Progress → Fix Committed
Jin (jindallo)
Changed in telegram-app:
status: Fix Committed → Fix Released
assignee: Jin (jin.cth) → nobody
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.