Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
The icons embedded in search boxes aren't visible on MacOS.
* Navigate to
* Edit References
* Find in Files
This is a problem because some of those icons can be clicked to access additional options and functionality.
This also affects the addin manager.
This is caused by:
WARNING [2011-10-01 00:30:33Z]: Gtk-Warning: Could not find the icon 'gtk-find'.
it's very odd. Mono on Mac doesn't include any GTK icon theme. GTK has some kind of internal fallback for built-in icons, which works when we pass a stock ID to GTK APIs e.g. GtkImage or GtkButton. However, if we try to explicitly load pixbufs from the default icon theme, we get nothing.
What's odd is that it works on Windows, which also doesn't have icon themes installed.
Initially I thought it was a packaging bug in Mono, but I tested with bockbuild too, which doesn't have anything removed, and it works.
And we know the gtk-find icon is *somewhere*, because it works on the toolbar.
Er, I mean it doesn't work with bockbuild.
Fixed in monodevelop and mono-addins.
Apparently GTK built-in icons comes from an IconSet, and are not in the icon theme. The convenient way to use IconSet is Widget.Render, and if it's null you can fall back to IconTheme.Default.LoadIcon.
No idea why it works on other platforms. Maybe it's just because the GTKs there are older.
I did a quick review of all other icon loading codepaths in MD and they seemed okay.