Monodevelop 4.0 no codeview

It's a known bug.

The only solution (as for now) is to change your GTK theme in KDE settings -> Application Appearance.

They say (the bug has been filed somewhere) it's the problem with the theme itself, but I find it hard to believe... I guess you have oxygen-gtk set, change it to, for example, Raleigh, it will work.

Remember to restart monodevelop ;-)

I like oxygen theme, I find it the most annoying issue with md-4.0..

Edit: http://mono.1490590.n4.nabble.com/Text-editor-problem-with-monodevelop-4-0-td4658742.html - here is where I've found the solution.


This might by an issue with the oxygen-gtk-theme. See here. Start Monodevelop with the environment variable OXYGEN_DISABLE_INNER_SHADOWS_HACK set to 1.

In the shell:

export OXYGEN_DISABLE_INNER_SHADOWS_HACK=1
monodevelop

You can also put this as a shell script to /usr/local/bin/monodevelop. Then monodevelop is automatically started with this environment variable.

#!/bin/sh
export OXYGEN_DISABLE_INNER_SHADOWS_HACK=1
/usr/bin/monodevelop

Remember to make it executable with sudo chmod a+x /usr/local/bin/monodevelop