| Summary: | net-im/telegram-desktop-bin creates duplicate desktop file at $HOME on Xfce when file is already present in the system | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Gleb <kirokko+gentoo> |
| Component: | Current packages | Assignee: | Victor Gaydov <victor> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jstein, proxy-maint, tsmksubc, victor |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Gleb
2017-05-30 15:51:21 UTC
Please do not rename the telegramdesktop.desktop file to ebuild:
>newmenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop telegram-desktop.desktop
After downloading the Telegram update two shortcuts are created. Running the old version will damage the program settings.
I can reproduce this on 1.1.23 if I do a fresh install by removing ~/.TelegramDesktop or ~/.local/share/TelegramDesktop. Renaming /usr/share/applications/telegram-desktop.desktop to telegramdesktop.desktop fixes the issue. Here is a pull request: https://github.com/gentoo/gentoo/pull/5850 For reference: here is the code that creates the local desktop file: https://github.com/telegramdesktop/tdesktop/blob/aca957595a0938345821994df85437b6fed574e2/Telegram/SourceFiles/platform/linux/specific_linux.cpp#L424 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e67c90f38db1a56dc68e9c1ef2e6b4ddf41e2d commit f4e67c90f38db1a56dc68e9c1ef2e6b4ddf41e2d Author: Victor Gaydov <victor@enise.org> AuthorDate: 2017-10-03 10:56:03 +0000 Commit: Amy Liffey <amynka@gentoo.org> CommitDate: 2017-10-09 13:33:16 +0000 net-im/telegram-desktop-bin: Don't rename desktop entry Renaming desktop causes conflicts with the ~/.local desktop entry created automatically by telegram desktop. Bug: https://bugs.gentoo.org/620208 .../telegram-desktop-bin-1.1.23-r1.ebuild | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+)} |