Skip to content

Open the details page when using --details, not the search page

Kalev Lember requested to merge wip/kalev/open-details-page into master

This used to work once upon a time, but things broke after the introduction of the unique ID concept. GNOME Shell passes just the desktop ID and never the unique ID and we broke the API on gnome-software side expecting to get unique ID.

Fix this by using unique ID when it's passed in, and just the desktop file name if that's what was passed in.

Also, never show the search page with --details as this seems like poor user interaction (right click on an app in GNOME Shell, select "Show Details" and then we get a search page).

Fixes: #529 (closed)

Merge request reports