Difference between revisions of "STP/BPMN Component/FAQ"

From Eclipsepedia

Jump to: navigation, search
(Linux support)
 
(3 intermediate revisions by one user not shown)
Line 3: Line 3:
 
This FAQ goal is to provide information and support for Designer Linux users.
 
This FAQ goal is to provide information and support for Designer Linux users.
  
Q: I cannot see the diagram in the editor. All I see is empty pools.
+
Q: Pre-3.3: I cannot see the diagram in the editor. All I see is empty pools.
  
 
A: GMF has an issue with GTK, it doesn't show antialised figures.
 
A: GMF has an issue with GTK, it doesn't show antialised figures.
Line 19: Line 19:
 
And this Cairo bug: https://bugs.freedesktop.org/show_bug.cgi?id=8104
 
And this Cairo bug: https://bugs.freedesktop.org/show_bug.cgi?id=8104
  
Q: My Eclipse looks crappy.
+
Q: Pre-3.3: In the diagram, icons are displayed with a black background and plainly look bad.
 
+
A : So you're not fond of the horrible toolbar buttons, and you don't like the UI of the trees ?
+
Just install some GTK themes, or switch to Qt or Raleigh. That really helps rendering Eclipse in a better way.
+
 
+
Q: In the diagram, icons are displayed with a black background and plainly look bad.
+
  
 
A: For the time being, you will need to turn the antialiasing settings to off.
 
A: For the time being, you will need to turn the antialiasing settings to off.
Line 35: Line 30:
  
 
[[Image:ubuntu-dapper-antialiasis.png]]
 
[[Image:ubuntu-dapper-antialiasis.png]]
 +
 +
[[Category:BPMN]]
 +
[[Category:STP]]

Latest revision as of 07:25, 21 February 2008

[edit] Linux support

This FAQ goal is to provide information and support for Designer Linux users.

Q: Pre-3.3: I cannot see the diagram in the editor. All I see is empty pools.

A: GMF has an issue with GTK, it doesn't show antialised figures. You need to go to the preferences and disable the antialias.

A second approach is to force Eclipse to use the Cairo library that is bundled with it. In your Designer directory, just run LD_PRELOAD=./libcairo-swt.so ./eclipse

The main problem with this approach is that Eclipse is using an old version of Cairo which bugs with certain fonts on dual core machines. It simply crashes Eclipse.

Note that we tried running Eclipse with more recent versions of Cairo, and altough the bug was fixed, the rendering was as bas as usual.

For more information, you can refer to this GMF bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=159840

And this Cairo bug: https://bugs.freedesktop.org/show_bug.cgi?id=8104

Q: Pre-3.3: In the diagram, icons are displayed with a black background and plainly look bad.

A: For the time being, you will need to turn the antialiasing settings to off.

It is a choice of nice decorations and ugly shapes: Ubuntu-dapper-blackish.png

You can try to move the mouse and click around until the decorations are all painted without the blackish issue. Or blurry blackish decorations and nice shapes:

Ubuntu-dapper-antialiasis.png