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
GitHub or Developer Community 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.
Created attachment 18586 [details]
WinForms hello.cs test app used to reproduce the issue
mono apps have an ugly mouse cursor when started from the KDE Plasma desktop.
Steps to reproduce:
1. Login in a Plasma desktop
2. mcs hello.cs -pkg:dotnet
3. mono hello.exe
Mouse cursor looks out of place and doesn't respect the gtk (adwaita) theme: http://i.imgur.com/D4isxCn.png
Mouse cursor should be from the adwaita theme, like the very same test app does on Gnome: http://imgur.com/a/FSE7N
This could be a Plasma bug, but I'm reporting it here first just to be sure.
Interesting how the Gtk# hello world app is not affected: http://www.mono-project.com/docs/getting-started/mono-basics/#gtk-hello-world
With the app above I get the Plasma native mouse cursor, as expected: http://i.imgur.com/hcubueI.png
I did more tests in the Enlightenment desktop, which like Plasma has a "native" mouse cursor theme. This is what happens:
* winform test app => cursor is not native, but at least falls back on the gtk adwaita cursor which is good enough
* gtk-sharp test app => cursor is native (same happens in Plasma)
So this could really be a bug from the Plasma side, which is only triggered in winforms apps.
Further investigation with strace showed that the breeze theme (which provides the Plasma cursor) doesn't have a top_left_arrow cursor, which is what WinForms app look for. The adwaita theme instead has a top_left_arrow -> left_ptr symlink, hence why adwaita systems are not affected.
Fix in https://phabricator.kde.org/D3459