[Bug 1542242] Re: Search doesnt return any results
** No longer affects: gnome-software (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to appstream-glib in Ubuntu. https://bugs.launchpad.net/bugs/1542242 Title: Search doesnt return any results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1542242/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1542242] Re: Search doesnt return any results
This bug was fixed in the package appstream-glib - 0.5.8-1ubuntu5 --- appstream-glib (0.5.8-1ubuntu5) xenial; urgency=medium * d/p/0001-Look-in-the-correct-icon-directory-for-yaml-files.patch Take a patch from upstream to look for icons in the directory that appstream unpacks them to. (LP: #1542242) -- Iain LaneMon, 15 Feb 2016 12:25:11 + ** Changed in: appstream-glib (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1542242 Title: Search doesnt return any results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1542242/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1542242] Re: Search doesnt return any results
** Changed in: gnome-software (Ubuntu) Status: Confirmed => Invalid ** Changed in: appstream-glib (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1542242 Title: Search doesnt return any results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1542242/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1542242] Re: Search doesnt return any results
https://github.com/hughsie/appstream-glib/pull/92 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1542242 Title: Search doesnt return any results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1542242/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1542242] Re: Search doesnt return any results
I did some poking, and it looks like the problem is that no icons are coming back from appstream-glib when it makes a store. The path that it looks in for uninstalled applications when parsing YAML files (our case) was wrong - see the attached patch. ximion, are you watching? Is this sane? ** Patch added: "0001-When-loading-a-.yml-file-look-in-var-lib-app-info-fo.patch" https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1542242/+attachment/4569246/+files/0001-When-loading-a-.yml-file-look-in-var-lib-app-info-fo.patch ** Also affects: appstream-glib (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1542242 Title: Search doesnt return any results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1542242/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1542242] Re: Search doesnt return any results
I wonder why that happens - appstream-glib should look in /var/{lib|cache}/app-info/icons and /usr/share/app-info/icons for icons, so maybe adding the same logic used for the XML to the YAML part in appstream-glib makes sense. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1542242 Title: Search doesnt return any results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1542242/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1542242] Re: Search doesnt return any results
For me using appstream from the archive which is now in place: - appstreamcli search robocode works - The referenced icon exists (/var/lib/app-info/icons/ubuntu-xenial-universe/64x64/robocode_robocode.png) - "app invalid as no pixbuf" from gnome-software --verbose -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1542242 Title: Search doesnt return any results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1542242/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1542242] Re: Search doesnt return any results
In as_store_from_root() (used for XML files), it does /* guess the icon path after we've read the origin and then look for * ../icons/$origin if the topdir is 'xmls', falling back to ./icons */ if (icon_prefix != NULL) { g_debug ("icon_prefix: %s", icon_prefix); g_autofree gchar *topdir = NULL; topdir = g_path_get_basename (icon_prefix); if (g_strcmp0 (topdir, "xmls") == 0 && priv->origin != NULL) { g_autofree gchar *dirname = NULL; dirname = g_path_get_dirname (icon_prefix); icon_path = g_build_filename (dirname, "icons", priv->origin, NULL); } else { icon_path = g_build_filename (icon_prefix, "icons", NULL); } } Where icon_prefix is the directory the XML file was found in. We could do the same thing I suppose - our icons are in ../icons/ relative to the .yml.gz - but is it worth it? BTW I just tried and this seems broken on Debian too - can you confirm that? Do you know what changed to make this happen? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1542242 Title: Search doesnt return any results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1542242/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1542242] Re: Search doesnt return any results
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1542242 Title: Search doesnt return any results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1542242/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs