Bug 389007 - Discover doesn't de-duplicate HexChat
Summary: Discover doesn't de-duplicate HexChat
Status: RESOLVED NOT A BUG
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-15 14:37 UTC by Nate Graham
Modified: 2018-01-17 00:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Multiple HexChats (257.93 KB, image/png)
2018-01-15 14:37 UTC, Nate Graham
Details
Screenshot with the appstream id by the side (394.03 KB, image/png)
2018-01-16 16:42 UTC, Aleix Pol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2018-01-15 14:37:36 UTC
Created attachment 109880 [details]
Multiple HexChats

Discover doesn't de-duplicate Hexchat when it's available from Flathub as well as my Ubuntu packaging, even though their AppStream IDs match (aside from upstream having ".desktop" on the end)

Upstream
io.github.Hexchat.desktop: https://github.com/hexchat/hexchat/blob/master/data/misc/io.github.Hexchat.appdata.xml.in#L3

Flathub
io.github.Hexchat: https://github.com/flathub/io.github.Hexchat/blob/master/io.github.Hexchat.json#L2

Yet they don't display as one. See attached screenshot (top entry is from Ubuntu packaging, middle is from Flathub, bottom is Snap, so ignore that for now since Snap doesn't use AppStream IDs yet).
Comment 1 Aleix Pol 2018-01-16 16:42:52 UTC
Created attachment 109914 [details]
Screenshot with the appstream id by the side

Are you sure the appstream information has reached your system?
Comment 2 Aleix Pol 2018-01-16 16:43:17 UTC
$ appstreamcli search hexchat
Identifier: hexchat.desktop [desktop-application]
Name: HexChat
Summary: IRC Client
Package: hexchat
Homepage: http://hexchat.github.io
Icon: hexchat_hexchat.png
Comment 3 Nate Graham 2018-01-17 00:04:51 UTC
Ah, you're right, my bad! Guess we have to wait for the next release of the distro-packaged version.