telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.23k stars 5.2k forks source link

Duplicate menu entries on Linux, KDE Plasma #27684

Closed xiota closed 7 months ago

xiota commented 7 months ago

Steps to reproduce

  1. Install telegram on Linux
  2. Edit menu entry (right click, edit) (eg, to add startup options)
  3. Refresh menu (may require log off)
  4. Two telegram entries appear

Expected behaviour

There should be only one telegram entry after editing

Actual behaviour

There are two telegram entries after editing

Cause appears to be file name org.telegram.desktop.desktop. KDE Plasma does not expect the double .desktop extension. Changing the filename to org.telegram.desktop resolves the issue.

https://github.com/telegramdesktop/tdesktop/blob/707146daed9cb62687520e914dba02e6447c8257/lib/xdg/org.telegram.desktop.metainfo.xml#L88

Operating system

Arch Linux

Version of Telegram Desktop

4.15.6

Installation source

Other (unofficial) source

Crash ID

No response

Logs

No response

ilya-fedin commented 7 months ago

KDE Plasma does not expect the double .desktop extension.

Sorry but this is a bug of KDE Plasma, then. The file name couldn't be changed, you have to contact Plasma developers to fix this.

xiota commented 7 months ago

Shouldn't this be closed as "not planned" instead of "completed"?