Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Monodevelop 4.0 no codeview

I'm developing an application (http://sourceforge.net/projects/audiocuesheet/) and use fedora. Since the rpm for fedora is from monodevelop 2.8.x and I need the features of monodevelop 4.0. I downloaded the tarball and build monodevelop. It works good as described, but I can not view the source of my sourcefiles (screenshot).

screenshot

Has anyone any idea, why this fails? I tried starting monodevelop with no redirection, but couldn't find any error.

like image 916
Sven Avatar asked Mar 24 '13 19:03

Sven


2 Answers

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.

like image 182
Piotr Zierhoffer Avatar answered Oct 06 '22 10:10

Piotr Zierhoffer


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

like image 24
Alebo Avatar answered Oct 06 '22 10:10

Alebo