GNOME Bugzilla – Bug 604957
alt-f2 completion needs to ignore broken symlinks (and general stat errors)
Last modified: 2009-12-21 15:24:09 UTC
For various reasons we could fail to call .query_info on an executable (selinux for example can deny permission to stat(), and also broken symlinks). We should catch any gio errors and ignore. For now we could just catch all errors, but we need support in gjs for reading specific GError information.
Created attachment 150038 [details] [review] [runDialog] Ignore query_info failures We could fail to stat() files for several reasons; SELinux and dangling symlinks are likely candidates. Rather than failing entirely, just ignore them.
Review of attachment 150038 [details] [review]: I really don't want unlogged, ignore-all errors catches in gnome-shell. period. This is the same as bug 604958, which got dup'ed on bug 604978, which is a big roll-up patch. The patch in bug 604978 also has a blanket catch, and I'm equally opposed to it there too.
*** This bug has been marked as a duplicate of bug 604958 ***