SRU: Update Telegram Desktop to 3.1.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libtgowt (Ubuntu) |
Fix Released
|
Undecided
|
Nicholas Guriev | ||
Focal |
Fix Released
|
Undecided
|
Nicholas Guriev | ||
Hirsute |
Won't Fix
|
Undecided
|
Nicholas Guriev | ||
Impish |
Fix Released
|
Undecided
|
Nicholas Guriev | ||
telegram-desktop (Ubuntu) |
Fix Released
|
Undecided
|
Nicholas Guriev | ||
Focal |
Fix Released
|
High
|
Nicholas Guriev | ||
Hirsute |
Won't Fix
|
Undecided
|
Nicholas Guriev | ||
Impish |
Fix Released
|
Undecided
|
Nicholas Guriev |
Bug Description
[Impact]
The newer version of Telegram Desktop, 3.1.1, which is currently in Ubuntu 21.10 (Impish Indri), provides an important support for 64-bit user identifiers. In the next few weeks will register users with UID more than 2 ³¹ - 1 (maximal 32-bit signed number). These users will be unseen in ancient versions.
This version also brings many new features including video calls, voice chats, streaming platform, several pinned messages, multiple accounts, comments in channels, auto-deleting messages, simple image editor. Unfortunately, it is huge task to extract an isolated patch which is responsible for 32-bit to 64-bit migration. I suggest, on an upstream author's advice, to do full update of the package.
Given the nature of the project, it make sense to do regular updates in
order to adjust changes of Telegram service and its server protocol.
[Test Plan]
- Bug fix verification:
1. Login as a new user with ID over the bound on a test server.
* Provided that you are not logged in, start the app, go to Settings,
type blindly `testmode`.
* Use any number matching the next format: +999661XXXX, where X means
any digit.
* Provide auth code 11111.
* Choose random account name if needed, then click the "Sign Up"
button.
2. Make sure you have gotten a long UID.
* Look into an mtp_*.txt debug log.
3. Login as an old user in another application instance.
* Use phone +9996611111 and the same auth code.
4. The new user writes messages to the old user. The second one receives
them regardless of ancient version.
5. The old user writes messages to the new user. The second one receives
none of them until the old user updates their application.
- Regression checking:
As this is a new upstream version of the package, please perform as many usual everyday tasks on it as possible, looking for regressions. There is a difference in Qt versions between impish and focal so there might be some things that are broken by that.
Be sure to provide as many everyday usage examples during the testing period.
[Regression Potential]
Leaf package. Most potential issues are occasional crashes of the
application. The new version also offers OpenGL acceleration, but I am
going to disable it by default to reduce hardware related problems.
Qt5 version in focal is 5.12 while in impish is 5.15. telegram-desktop upstream mentions switching to 5.15, so this difference can be a potential source of regressions.
[Other Info]
The libtgowt source package need to be backported before. It caries a
static library for support Telegram calls. Changes in the library do not
apply immediately and require recompiling of the telegram-desktop
package to be in effect.
Changed in telegram-desktop (Ubuntu): | |
assignee: | nobody → Nicholas Guriev (mymedia) |
Changed in libtgowt (Ubuntu): | |
assignee: | nobody → Nicholas Guriev (mymedia) |
Changed in telegram-desktop (Ubuntu Impish): | |
status: | New → Fix Released |
Changed in libtgowt (Ubuntu Impish): | |
status: | New → Fix Released |
Changed in telegram-desktop (Ubuntu Hirsute): | |
assignee: | nobody → Nicholas Guriev (mymedia) |
Changed in telegram-desktop (Ubuntu Focal): | |
assignee: | nobody → Nicholas Guriev (mymedia) |
Changed in libtgowt (Ubuntu Hirsute): | |
assignee: | nobody → Nicholas Guriev (mymedia) |
Changed in libtgowt (Ubuntu Focal): | |
assignee: | nobody → Nicholas Guriev (mymedia) |
Changed in telegram-desktop (Ubuntu Hirsute): | |
status: | New → In Progress |
Changed in telegram-desktop (Ubuntu Focal): | |
status: | New → In Progress |
Changed in libtgowt (Ubuntu Hirsute): | |
status: | New → In Progress |
Changed in libtgowt (Ubuntu Focal): | |
status: | New → In Progress |
tags: | removed: verification-needed verification-needed-hirsute |
description: | updated |
summary: |
- SRU: Update Telegram Desktop to 2.9.2 + SRU: Update Telegram Desktop to 3.1.1 |
Changed in telegram-desktop (Ubuntu Focal): | |
importance: | Undecided → High |
tags: | added: patch |
description: | updated |
tags: |
added: verification-done-focal removed: verification-needed verification-needed-focal |
Hello Nicholas, or anyone else affected,
Accepted libtgowt into hirsute-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ libtgowt/ 0~git20210627. 91d836d+ dfsg-3ubuntu1~ 21.04 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- hirsute to verification- done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- hirsute. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.