Unsupported messages: MediaDice with emoticon field

Bug #1880307 reported by Nicholas Guriev
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
telegram-desktop (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Nicholas Guriev
Groovy
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

Telegram Desktop 2.0.1 in Ubuntu 20.04 (Focal Fossa) does not support messages of new type, MediaDice with emoticon field set.

[Test Case]

Steps to reproduce:

 1. With latest Telegram Desktop (for example 2.1.5 available in Groovy Gorilla or from mobile client), type :dart: in any chat.
 2. Send that emoji 🎯.
 3. With Telegram Desktop of version 2.0.1, receive the MediaDice with dart as incoming message from yourself or from other person.

Expected behavior:

 1. You will see an animation with a dart and a dartboard.
 2. You will get a random number from 1 to 6.

Actual behavior:

 1. You see "This message is not supported by your version of Telegram. Please update to the lates version".

[Regression Potential]

Only one package is required to be updated. Any probable regressions will affect only one application. There is no other packages that depend on telegram-desktop.

[Other Info]

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: telegram-desktop 2.0.1+ds-1build1
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CasperVersion: 1.445
CurrentDesktop: MATE
Date: Sat May 23 12:28:00 2020
LiveMediaBuild: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: telegram-desktop
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nicholas Guriev (mymedia) wrote :
Revision history for this message
Nicholas Guriev (mymedia) wrote :
Revision history for this message
Graham Inggs (ginggs) wrote :

I would say that is the expected behaviour of Telegram Desktop version 2.0.1.

I think the solution here would be backports:
https://wiki.ubuntu.com/UbuntuBackports
except that backports haven't been processed for a while, sadly.

Revision history for this message
Nicholas Guriev (mymedia) wrote :

I suggest to backport the telegram-desktop package of version 2.1.5+ds-1 as soon as it goes to devel release. Although, it is possible to pick necessary commits up to provide an isolated patch for the feature. But at this case, probability of errors increases, and such modifications will be less tested.

Revision history for this message
Nicholas Guriev (mymedia) wrote :

For convenience, here is a difference against 2.1.5+ds-1 from groovy-proposed.

Revision history for this message
Nicholas Guriev (mymedia) wrote :

It has been built.

Revision history for this message
Nicholas Guriev (mymedia) wrote : Re: [Bug 1880307] Re: Unsupported messages: MediaDice with emoticon field

Graham Inggs, I believe in our case SRU is reasonably. Ubuntu Wiki says that it is possible for "Updates that need to be applied to Ubuntu packages to adjust to changes in the environment, server
protocols, web services, and similar". And at some point current version in focal is not fully working.

https://wiki.ubuntu.com/StableReleaseUpdates

What else we can do to solve the issue? Who may do backport?

description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "telegram-desktop_2.0.1+ds-1build1_2.1.5+ds-1~ubuntu20.04.1.diff.xz" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Mattia Rizzolo (mapreri)
Changed in telegram-desktop (Ubuntu Groovy):
status: New → Fix Released
Changed in telegram-desktop (Ubuntu Focal):
assignee: nobody → Nicholas Guriev (mymedia)
status: New → In Progress
Revision history for this message
Nicholas Guriev (mymedia) wrote :

Diff against latest version in groovy.

Revision history for this message
Nicholas Guriev (mymedia) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Nicholas, or anyone else affected,

Accepted telegram-desktop into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/telegram-desktop/2.1.7+ds-2~ubuntu20.04.1 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-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. 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/PerformingSRUVerification . 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.

Changed in telegram-desktop (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Nicholas Guriev (mymedia) wrote :

I confirm that now MediaDice with emoji is displayed. I have tested 2.1.7+ds-2~ubuntu20.04.1 version in a virtual machine in Ubuntu 20.04 with GNOME and in KUbuntu 20.04 (both loaded from Live .iso image). I have also tested that upgrading from 2.0.1+ds-1build1 version is possible seamlessly.

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package telegram-desktop - 2.1.7+ds-2~ubuntu20.04.1

---------------
telegram-desktop (2.1.7+ds-2~ubuntu20.04.1) focal; urgency=medium

  * Backport from groovy to focal (LP: #1880307).
  * Revert "Switch to Hunspell spellchecker from Enchant".
    - Preserves current behaviour and leaves untouched user settings in
      existing installations.
  * New Backport-to-legacy-GSL.patch.
    - Needed for build against Microsoft Guidelines Support Library of version
      less than 3.0.0.

 -- Nicholas Guriev <email address hidden> Sat, 30 May 2020 21:21:51 +0300

Changed in telegram-desktop (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for telegram-desktop has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.