background color in editor

Oxygen general issues.
manchmod
Posts: 2
Joined: Wed Jul 02, 2014 7:15 pm

background color in editor

Post by manchmod »

I spent some time trying to apply a solarized-esqe color scheme to Oxygen XML 16 with reasonable success.

The problem comes in when i actually try to use the editor, I begin clicking on sections to edit them, and it seems to stop honoring the background color I've provided, and switches to a hard black... whats weird is they sort of switch as I go along, which is really annoying:

Image


none of the settings I can find actually affect this. (in fact I can't find a hard black anywhere in my config)

any thoughts on why this is happening, and how I can fix it? (the default color scheme does not appear to have this problem
Costin
Posts: 846
Joined: Mon Dec 05, 2011 6:04 pm

Re: background color in editor

Post by Costin »

Hello,

We had some users in the past reporting the same issues.
As a quick solution to overcome this issue, you should set the property:

Code: Select all

-Dcom.apple.graphics.UseQuartz=true
in the "Info.plist" file in oXygen.

To edit the Info.plist, just to Ctrl-click(or right click) on the Oxygen application icon(Oxygen.app) in Finder and from the pop-up menu select Show Package Contents. Then navigate to the Contents directory and open for editing the Info.plist file.
You can open it with either the 'Property List Editor' or with 'TextEdit'.

Another quick fix which could help avoiding the bad rendering issue would be to download the oXygen with Java 8 distribution, available for Mac OS X 10.8 and later from http://www.oxygenxml.com/InstData/Edito ... gen.tar.gz

I hope this helps.

Let us know if you encounter further issues or might need any other information.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
manchmod
Posts: 2
Joined: Wed Jul 02, 2014 7:15 pm

Re: background color in editor

Post by manchmod »

Changing the plist did nothing (i.e. did not engage quartz rendering)... I'm assuming you meant for me to put it in the Java VM arg section of the plist.

interestingly running oxygen from the shell script (oxygenMac.sh) fixed the issue (it apparently runs it in quartz mode) as did the Java 8 version you posted.

thanks for the fix!
Costin
Posts: 846
Joined: Mon Dec 05, 2011 6:04 pm

Re: background color in editor

Post by Costin »

Hello again,

Hearing your issue is solved by using the script or the Java 8 distribution, as an alternative, is good news.
However, for anyone else who might encounter this problem, the quartz rendering should be set as a property in the Info.plist file.

Therefore, under the Properties key, right after the last property in the list, you should set UseQuartz, by inserting the following lines:
<key>com.apple.graphics.UseQuartz</key>
<string>true</string>
Feel free to contact us for any additional information needed.

Kind Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply