Bug 32593

Summary: Get-Telegram: in the pkg Description, the uninstall instructions are inaccurate
Product: Mageia Reporter: aguador <waterbearer54>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: REOPENED --- QA Contact:
Severity: minor    
Priority: Low CC: ngompa13, pkg-bugs
Version: CauldronKeywords: Junior_job
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA9TOO
Source RPM: get-telegram-1.7.7-3.mga9.src.rpm CVE:
Status comment:
Attachments: Changes from the spec in cauldron

Description aguador 2023-12-04 17:53:42 CET
Description from the installer regarding deinstallation:

'You can do this manually by removing "~/.TelegramDesktop/application" directory.'

Having just deleted the application, I can say, first, "~/.TelegramDesktop" had no subdirectories on my machine. It contained only Telegram and an Updater program.

Second, AFAIK this would be the same for all desktops, but the launcher in "~/.local/share/applications" also needs to be removed (manually?).

These are super minor, not even a "loss of function", just a clarification in the description.
Comment 1 Lewis Smith 2023-12-04 20:56:21 CET
Understanding that because Telegram does its own installation (we provide only a package to enable installing it: get-telegram), you have to uninstall the application manually.
So as you say, this is just a matter of the exactitude of uninstall text:
- it should say "remove '~/.TelegramDesktop/' directory
- and its desktop launcher in '~/.local/share/applications'

Where does this text come from?
If from our 'get-telegram' (which you say), then it is us.
If from Telegram itself ("from the installer regarding deinstallation"), this is an upstream matter to post there. Is the installer mentioned here of 'get-telegram' or of Telegram itself?

Priority: Normal => Low
Summary: Get-Telegram script description inaccurate => Get-Telegram uninstall description inaccurate
CC: (none) => lewyssmith

Comment 2 aguador 2023-12-05 00:13:20 CET
That is from the graphical installer. Here is the full description:

get-telegram - Download and Install Telegram Desktop​                                                                                                                         
Aviso:  Este es un paquete oficial soportado por Mageia

This is a downloader script for Telegram Desktop.

This package does not contain any program files. By installing this package you'll get the option to download and install Telegram from desktop.telegram.org. Removing this package won't uninstall Telegram from your system. You can do this manually by removing "~/.TelegramDesktop/application" directory.
Comment 3 Lewis Smith 2023-12-05 21:10:02 CET
Thanks, that clarifies the affair; the last paragraph of the package Description you cite above. Nothing to do with the application itself.

The corrections noted in comment 1 should suffice.

Assigning globally, this pkg is rarely updated.

CC: lewyssmith => (none)
Summary: Get-Telegram uninstall description inaccurate => Get-Telegram: in the pkg Description, the uninstall instructions are inaccurate
Assignee: bugsquad => pkg-bugs

katnatek 2023-12-06 02:45:28 CET

CC: (none) => ngompa13
Assignee: pkg-bugs => j.alberto.vc
Keywords: (none) => Junior_job

katnatek 2023-12-06 02:46:29 CET

Whiteboard: (none) => MGA9TOO

Comment 4 katnatek 2023-12-06 03:11:49 CET
(In reply to aguador from comment #0)
> Description from the installer regarding deinstallation:
> 
> 'You can do this manually by removing "~/.TelegramDesktop/application"
> directory.'
> 
> Having just deleted the application, I can say, first, "~/.TelegramDesktop"
> had no subdirectories on my machine. It contained only Telegram and an
> Updater program.
> 
> Second, AFAIK this would be the same for all desktops, but the launcher in
> "~/.local/share/applications" also needs to be removed (manually?).
> 
> These are super minor, not even a "loss of function", just a clarification
> in the description.

It is weird, what desktop do you use? I test this on lxqt and the folder ~/.TelegramDesktop/application is there, the script used to download telegram creates the folder

BTW I feel the recommendation of Lewis Smith in comment#1 and the bug is valid because unless you reinstall get-telegam you will have an empty folder and a menu item that does nothing
katnatek 2023-12-06 03:15:26 CET

CC: (none) => pkg-bugs

Comment 5 katnatek 2023-12-06 03:17:07 CET
Created attachment 14199 [details]
Changes from the spec in cauldron

Improves the instructions to uninstall telegram
Comment 6 aguador 2023-12-06 10:19:37 CET
 
> It is weird, what desktop do you use? I test this on lxqt and the folder
> ~/.TelegramDesktop/application is there, the script used to download
> telegram creates the folder
> 
> BTW I feel the recommendation of Lewis Smith in comment#1 and the bug is
> valid because unless you reinstall get-telegam you will have an empty folder
> and a menu item that does nothing

This is on Enlightenment. The installation was from 2020, so Telegram updates may have overwritten the ~/.TelegramDesktop folder.

In any event, your change is perfect. Thanks.
Comment 7 aguador 2024-02-04 11:25:59 CET
Should have closed this before...

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 8 katnatek 2024-02-04 19:45:27 CET
(In reply to aguador from comment #7)
> Should have closed this before...

I don't know in cauldron but this is still valid in mageia 9

urpmq -pi get-telegram
Name        : get-telegram
Version     : 1.7.7
Release     : 3.mga9
Group       : Networking/Instant messaging
Size        : 18345                        Architecture: noarch
Source RPM  : get-telegram-1.7.7-3.mga9.src.rpm
URL         : https://desktop.telegram.org
Summary     : Download and Install Telegram Desktop
Description :
This is a downloader script for Telegram Desktop.

This package does not contain any program files. By installing this
package you'll get the option to download and install Telegram from
desktop.telegram.org.
Removing this package won't uninstall Telegram from your system. You
can do this manually by removing "~/.TelegramDesktop/application"
directory.

Resolution: FIXED => (none)
Status: RESOLVED => REOPENED

katnatek 2024-02-04 19:47:31 CET

Assignee: j.alberto.vc => pkg-bugs

Comment 9 katnatek 2024-02-04 19:48:12 CET
Assign to all packager to see if somebody want to make the change