Hello, On Fri, 01 Sep 2023 22:00:02 +0800 Eni <eni...@petalmail.com> wrote: > After upgrade telegram-desktop from 4.8.1+ds-2 to 4.9.3+ds-1, no matter > whether the > telegram-desktop is pin to dash (in GNOME), if launch telegram, it will show > a default > diamond icon with gears in dash, and if put pointer on it, it shows a label > with text > "org.telegram", and the icon and name in the left of top panel shows a gears > icon and > "org.telegram", not "Telegram Desktop".
This could have been related to shortening the dot desktop name in Ilya Fedin's change. I will try to revert it and see what happens. https://github.com/telegramdesktop/tdesktop/commit/0534a2fb6213a2c05e06c4a1f7668a9c31b6c326 > I have compared the dot desktop file with previous version, only one line > "DBusActivatable=true" is added in current version, is it the reason that > telegram not > matches the icon in dash? > > $ desktop-file-validate /usr/share/applications/org.telegram.desktop.desktop > /usr/share/applications/org.telegram.desktop.desktop: error: file contains key > "SingleMainWindow" in group "Desktop Entry", but keys extending the format > should start > with "X-" > > And desktop file contains one error, is it a problem? The SingleMainWindow key is defined in version 1.5 of the Desktop Entry Specification and it is designated for applications that do not spawn a new window on launching from the menu. But the tool just do not support the latest specification. So that is not the problem.