Bug 29790 - Get-Telegram make two shorcuts "Telegram-Destop" in applications menu
Summary: Get-Telegram make two shorcuts "Telegram-Destop" in applications menu
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Sander Lepik
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-20 12:31 CET by Jose Manuel López
Modified: 2024-01-23 06:03 CET (History)
1 user (show)

See Also:
Source RPM: get-telegram-1.7.7-2.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Jose Manuel López 2021-12-20 12:31:02 CET
Description of problem: When I install get-telegram, and execute it, he download and install the Telegram official package, and make a shorcut of the application. The problem is that the two apps are called "Telegram Destop" and "Telegram Destop-2" and this can confuse to the user. The get-telegram package should be called "Get-Telegram" in applications menu.

Version-Release number of selected component (if applicable):Get-Telegram and Mageia 8


How reproducible: Install "get-telegram" and execute it.


Steps to Reproduce:
1. Install get-telegram from mageia repositories.
2. Execute it.
3. Now, in applications menu, appears two shorcuts "Telegram Desktop"
Comment 1 Lewis Smith 2021-12-20 21:53:12 CET
First some clarification:
"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"

After installing pkg 'get-telegram', the Internet menu contains an item 'Telegram Desktop'. Clicking which raises a small 'download' window, which at end mutates to an 'unpacking' window which quickly disappears.
At this point in the Internet/More menu, another 'Telegram Desktop' entry appears. And the application launches itself to configure it. It seems that you must already be registered to pursue that.
 $ tree ~/.TelegramDesktop/application
 /home/lewis/.TelegramDesktop/application
 ├── Telegram
 └── Updater

Clicking the *first* Internet menu item (which initially downloaded it) then leads directly to the "Telegram Desktop/Start Messaging" application window. Clicking the *second* Internet/More menu entry does the same.

In short, both menu entries - which are identically labelled - do the same. I cannot see this as something that matters: a few other applications have more than one menu entry.
What do you think, Jose?

CC: (none) => lewyssmith
Source RPM: Get-Telegram => get-telegram-1.7.7-2.mga8.src.rpm

Comment 2 Sander Lepik 2021-12-21 09:48:21 CET
The problem seems to be new and connected to the application menu entries change. When I created the package there was probably no .desktop file created by Telegram application or it was using the same name as rpm (telegramdesktop.desktop) - this way the download entry was overridden by Telegram.

Now when Telegram creates .desktop file it's named randomly, appimagekit_d9f6b4a41395706e9632ddb774c338dd-Telegram_Desktop.desktop in my system for example. And that makes it appear twice. I will probably rename the download entry when I get some time. But it works with both entries as the old one will first check if Telegram is downloaded and if yes then will run it.

CC: (none) => mageia

Sander Lepik 2021-12-21 09:48:34 CET

Assignee: bugsquad => mageia

Comment 3 Jose Manuel López 2021-12-21 18:11:08 CET
I think that is innecesary see the two shortcuts in applications menu.

I think that when we download the telegram app, the shorcut of "get-telegram", should becalled "Get-telegram".
Comment 4 Lewis Smith 2021-12-22 20:34:38 CET
Thank you Sander for jumping on this.
I happen to think it is very unimportant - that there are two similar menu entries which both lead to the installed application.

However, if you want to tidy this, I think (like Jose) the first menu entry should be called 'Get-Telegram'. But what to do once you have downloaded it?
- Leave the original 'get' menu item *and its functionality* untouched? In which case, what would happen if you repeated the download?
- Remove the original 'get' menu entry, and its functionality, entirely.

I leave it in your hands.

CC: lewyssmith => (none)

Comment 5 Sander Lepik 2021-12-23 07:03:58 CET
You can't repeat the download as the script first checks if Telegram is already downloaded or not. If it's downloaded then it will just run the downloaded binary.
Comment 6 Jose Manuel López 2023-10-31 17:21:23 CET
So, in reference to comment 5, I still believe that it is unnecessary to have two Telegram icons, once the application has been downloaded and installed, so the system should delete one of them from the menu, given that if we uninstall the application, it will return to install it, we will have to download telegram again.
Comment 7 Jose Manuel López 2023-10-31 17:21:46 CET
I still believe that two Telegram icons are confusing for the user...
Comment 8 Jose Manuel López 2024-01-22 11:53:25 CET
Hi,

If we are sure that the current functioning of Telegram is correct, I think we should close this bug.
Comment 9 katnatek 2024-01-22 19:55:00 CET
Why not create an icon to make distinction between the get-telegram application and the telegram client?

Something like the paper plane falling into cualdron?
Comment 10 Jose Manuel López 2024-01-23 06:03:24 CET
This is a good idea!

Greetings!

Note You need to log in before you can comment on or make changes to this bug.