Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Ubuntu and GMF
Ubuntu and GMF [message #78069] Wed, 15 November 2006 21:16 Go to next message
Eclipse UserFriend
Originally posted by: cedric.jeanneret.epfl.ch

Hi all,

GMF behaves strangely on Ubuntu Edgy. In the main "diagram" window, only
the first node is drawn. Its labels, other nodes and links are not
present on the diagram. The outline view is working perfectly.

I've tested with several diagrams, all of them present this strange
behavior. They are perfectly working on Windows XP.

I'm using latest Callisto release, with GMF 1.02. Error log doesn't
provide any error.

Any idea ?

Regards,
Cédric
Re: Ubuntu and GMF [message #78085 is a reply to message #78069] Wed, 15 November 2006 21:30 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

This type of question has been asked before
( http://dev.eclipse.org/newslists/news.eclipse.technology.gmf /msg03999.html)
, so I've added it to the FAQ
http://wiki.eclipse.org/index.php/Graphical_Modeling_Framewo rk_FAQ#Why_can.2
7t_I_see_elements_on_my_diagram.2C_although_I_can_select_the m.3F

Hope this helps.

Best,
Rich


On 11/15/06 9:16 PM, in article ejghmj$39e$1@utils.eclipse.org, "Cédric
Jeanneret" <cedric.jeanneret@epfl.ch> wrote:

> Hi all,
>
> GMF behaves strangely on Ubuntu Edgy. In the main "diagram" window, only
> the first node is drawn. Its labels, other nodes and links are not
> present on the diagram. The outline view is working perfectly.
>
> I've tested with several diagrams, all of them present this strange
> behavior. They are perfectly working on Windows XP.
>
> I'm using latest Callisto release, with GMF 1.02. Error log doesn't
> provide any error.
>
> Any idea ?
>
> Regards,
> Cédric
Re: Ubuntu and GMF [message #78100 is a reply to message #78085] Wed, 15 November 2006 22:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cedric.jeanneret.epfl.ch

Hi,

Thank you for your answer.
I've already Cairo installed (1.2.4). I'll try with the latest.

Regards,
Cédric

Richard Gronback wrote:
> Hi,
>
> This type of question has been asked before
> ( http://dev.eclipse.org/newslists/news.eclipse.technology.gmf /msg03999.html)
> , so I've added it to the FAQ
> http://wiki.eclipse.org/index.php/Graphical_Modeling_Framewo rk_FAQ#Why_can.2
> 7t_I_see_elements_on_my_diagram.2C_although_I_can_select_the m.3F
>
> Hope this helps.
>
> Best,
> Rich
>
>
> On 11/15/06 9:16 PM, in article ejghmj$39e$1@utils.eclipse.org, "Cédric
> Jeanneret" <cedric.jeanneret@epfl.ch> wrote:
>
>> Hi all,
>>
>> GMF behaves strangely on Ubuntu Edgy. In the main "diagram" window, only
>> the first node is drawn. Its labels, other nodes and links are not
>> present on the diagram. The outline view is working perfectly.
>>
>> I've tested with several diagrams, all of them present this strange
>> behavior. They are perfectly working on Windows XP.
>>
>> I'm using latest Callisto release, with GMF 1.02. Error log doesn't
>> provide any error.
>>
>> Any idea ?
>>
>> Regards,
>> Cédric
>
Re: Ubuntu and GMF [message #78630 is a reply to message #78100] Fri, 17 November 2006 13:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

have a look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=164623

Cheers,
Fedor.


Cédric Jeanneret wrote:
> Hi,
>
> Thank you for your answer.
> I've already Cairo installed (1.2.4). I'll try with the latest.
>
> Regards,
> Cédric
>
> Richard Gronback wrote:
>> Hi,
>>
>> This type of question has been asked before
>> ( http://dev.eclipse.org/newslists/news.eclipse.technology.gmf /msg03999.html)
>>
>> , so I've added it to the FAQ
>> http://wiki.eclipse.org/index.php/Graphical_Modeling_Framewo rk_FAQ#Why_can.2
>>
>> 7t_I_see_elements_on_my_diagram.2C_although_I_can_select_the m.3F
>>
>> Hope this helps.
>>
>> Best,
>> Rich
>>
>>
>> On 11/15/06 9:16 PM, in article ejghmj$39e$1@utils.eclipse.org, "Cédric
>> Jeanneret" <cedric.jeanneret@epfl.ch> wrote:
>>
>>> Hi all,
>>>
>>> GMF behaves strangely on Ubuntu Edgy. In the main "diagram" window, only
>>> the first node is drawn. Its labels, other nodes and links are not
>>> present on the diagram. The outline view is working perfectly.
>>>
>>> I've tested with several diagrams, all of them present this strange
>>> behavior. They are perfectly working on Windows XP.
>>>
>>> I'm using latest Callisto release, with GMF 1.02. Error log doesn't
>>> provide any error.
>>>
>>> Any idea ?
>>>
>>> Regards,
>>> Cédric
>>
Re: Ubuntu and GMF [message #78681 is a reply to message #78630] Sat, 18 November 2006 03:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cedric.jeanneret.epfl.ch

It solved my problem =)
Thank you very much.

Fedor Isakov wrote:
> Hi,
>
> have a look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=164623
>
> Cheers,
> Fedor.
>
>
> Cédric Jeanneret wrote:
>> Hi,
>>
>> Thank you for your answer.
>> I've already Cairo installed (1.2.4). I'll try with the latest.
>>
>> Regards,
>> Cédric
>>
>> Richard Gronback wrote:
>>> Hi,
>>>
>>> This type of question has been asked before
>>> ( http://dev.eclipse.org/newslists/news.eclipse.technology.gmf /msg03999.html)
>>>
>>> , so I've added it to the FAQ
>>> http://wiki.eclipse.org/index.php/Graphical_Modeling_Framewo rk_FAQ#Why_can.2
>>>
>>> 7t_I_see_elements_on_my_diagram.2C_although_I_can_select_the m.3F
>>>
>>> Hope this helps.
>>>
>>> Best,
>>> Rich
>>>
>>>
>>> On 11/15/06 9:16 PM, in article ejghmj$39e$1@utils.eclipse.org, "Cédric
>>> Jeanneret" <cedric.jeanneret@epfl.ch> wrote:
>>>
>>>> Hi all,
>>>>
>>>> GMF behaves strangely on Ubuntu Edgy. In the main "diagram" window,
>>>> only
>>>> the first node is drawn. Its labels, other nodes and links are not
>>>> present on the diagram. The outline view is working perfectly.
>>>>
>>>> I've tested with several diagrams, all of them present this strange
>>>> behavior. They are perfectly working on Windows XP.
>>>>
>>>> I'm using latest Callisto release, with GMF 1.02. Error log doesn't
>>>> provide any error.
>>>>
>>>> Any idea ?
>>>>
>>>> Regards,
>>>> Cédric
>>>
Re: Ubuntu and GMF [message #80137 is a reply to message #78630] Wed, 22 November 2006 09:57 Go to previous messageGo to next message
Eclipse UserFriend
Hi Team,

I think the issue is a newer version of GTK2 that we have not tested.

I added a comment to https://bugs.eclipse.org/bugs/show_bug.cgi?id=159840

On my RedHat workstation I have the following RPM:
gtk2.4.13-19
pango1.6.0-9

Can you confirm on Ubuntu Linux 6.10 by running rpm -qa and tell me what you
have?
gtk2.10.6-0 ?
libpango1.14.5-0 ?

Cheers...
Anthony

"Fedor Isakov" <fisakov@gmail.com> wrote in message
news:ejkv31$9ib$1@utils.eclipse.org...
> Hi,
>
> have a look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=164623
>
> Cheers,
> Fedor.
>
>
> C
Re: Ubuntu and GMF [message #80260 is a reply to message #80137] Wed, 22 November 2006 16:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cedric.jeanneret.epfl.ch

Hi,

Yep, I do confirm:

gtk2.10.6-0
libpango1.14.5-0

Regards,
Cédric

Anthony Hunter wrote:
> Hi Team,
>
> I think the issue is a newer version of GTK2 that we have not tested.
>
> I added a comment to https://bugs.eclipse.org/bugs/show_bug.cgi?id=159840
>
> On my RedHat workstation I have the following RPM:
> gtk2.4.13-19
> pango1.6.0-9
>
> Can you confirm on Ubuntu Linux 6.10 by running rpm -qa and tell me what you
> have?
> gtk2.10.6-0 ?
> libpango1.14.5-0 ?
>
> Cheers...
> Anthony
>
> "Fedor Isakov" <fisakov@gmail.com> wrote in message
> news:ejkv31$9ib$1@utils.eclipse.org...
>> Hi,
>>
>> have a look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=164623
>>
>> Cheers,
>> Fedor.
>>
>>
>> Cédric Jeanneret wrote:
>>> Hi,
>>>
>>> Thank you for your answer.
>>> I've already Cairo installed (1.2.4). I'll try with the latest.
>>>
>>> Regards,
>>> Cédric
>>>
>>> Richard Gronback wrote:
>>>> Hi,
>>>>
>>>> This type of question has been asked before
>>>> ( http://dev.eclipse.org/newslists/news.eclipse.technology.gmf /msg03999.html)
>>>> , so I've added it to the FAQ
>>>> http://wiki.eclipse.org/index.php/Graphical_Modeling_Framewo rk_FAQ#Why_can.2
>>>> 7t_I_see_elements_on_my_diagram.2C_although_I_can_select_the m.3F
>>>>
>>>> Hope this helps.
>>>>
>>>> Best,
>>>> Rich
>>>>
>>>>
>>>> On 11/15/06 9:16 PM, in article ejghmj$39e$1@utils.eclipse.org, "Cédric
>>>> Jeanneret" <cedric.jeanneret@epfl.ch> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> GMF behaves strangely on Ubuntu Edgy. In the main "diagram" window,
>>>>> only
>>>>> the first node is drawn. Its labels, other nodes and links are not
>>>>> present on the diagram. The outline view is working perfectly.
>>>>>
>>>>> I've tested with several diagrams, all of them present this strange
>>>>> behavior. They are perfectly working on Windows XP.
>>>>>
>>>>> I'm using latest Callisto release, with GMF 1.02. Error log doesn't
>>>>> provide any error.
>>>>>
>>>>> Any idea ?
>>>>>
>>>>> Regards,
>>>>> Cédric
>
>
Re: Ubuntu and GMF [message #80564 is a reply to message #80137] Thu, 23 November 2006 18:00 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Anthony Hunter wrote:
> Can you confirm on Ubuntu Linux 6.10 by running rpm -qa and tell me what you
> have?
> gtk2.10.6-0 ?
> libpango1.14.5-0 ?

Ubuntu 6.10 (Edgy Eft):

aptitude show libgtk2.0-0 libpango1.0-0 | egrep 'Package:|Version:'
Package: libgtk2.0-0
Version: 2.10.6-0ubuntu1
Package: libpango1.0-0
Version: 1.14.5-0ubuntu1

The 'ubuntu1' suffix is most likely an Ubuntu-specific patch.

Best,
Fedor.
Re: Ubuntu and GMF [message #80793 is a reply to message #80564] Fri, 24 November 2006 17:08 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Fedor and C
Re: Ubuntu and GMF [message #80808 is a reply to message #80793] Fri, 24 November 2006 17:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cedric.jeanneret.epfl.ch

Hi,

the library is libcairo2 1.2.4-1ubuntu2

Regards,
Cédric

Anthony Hunter wrote:
> Thanks Fedor and Cédric
>
> So the issue cannot be GTK
>
> It must be a Cairo issue.
>
> Can you tell me if you have a version of libcairo on Ubuntu?
> I know that there is no such library on RedHat and this means that the
> libcairo-swt.so library in the Eclipse home is being used (same directory
> where eclipse binary is found).
>
> Cheers...
> Anthony
>
> "Fedor Isakov" <fisakov@gmail.com> wrote in message
> news:ek596t$48c$1@utils.eclipse.org...
>> Hi,
>>
>> Anthony Hunter wrote:
>>> Can you confirm on Ubuntu Linux 6.10 by running rpm -qa and tell me what
>>> you have?
>>> gtk2.10.6-0 ?
>>> libpango1.14.5-0 ?
>> Ubuntu 6.10 (Edgy Eft):
>>
>> aptitude show libgtk2.0-0 libpango1.0-0 | egrep 'Package:|Version:'
>> Package: libgtk2.0-0
>> Version: 2.10.6-0ubuntu1
>> Package: libpango1.0-0
>> Version: 1.14.5-0ubuntu1
>>
>> The 'ubuntu1' suffix is most likely an Ubuntu-specific patch.
>>
>> Best,
>> Fedor.
>
>
Re: Ubuntu and GMF [message #80828 is a reply to message #80793] Sat, 25 November 2006 10:35 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

indeed, there is a Cairo library in Ubuntu:

aptitude show libcairo2 | egrep 'Package:|Version:'
Package: libcairo2
Version: 1.2.4-1ubuntu2

Best,
Fedor.


Anthony Hunter wrote:
> Thanks Fedor and Cédric
>
> So the issue cannot be GTK
>
> It must be a Cairo issue.
>
> Can you tell me if you have a version of libcairo on Ubuntu?
> I know that there is no such library on RedHat and this means that the
> libcairo-swt.so library in the Eclipse home is being used (same directory
> where eclipse binary is found).
>
> Cheers...
> Anthony
>
> "Fedor Isakov" <fisakov@gmail.com> wrote in message
> news:ek596t$48c$1@utils.eclipse.org...
>> Hi,
>>
>> Anthony Hunter wrote:
>>> Can you confirm on Ubuntu Linux 6.10 by running rpm -qa and tell me what
>>> you have?
>>> gtk2.10.6-0 ?
>>> libpango1.14.5-0 ?
>> Ubuntu 6.10 (Edgy Eft):
>>
>> aptitude show libgtk2.0-0 libpango1.0-0 | egrep 'Package:|Version:'
>> Package: libgtk2.0-0
>> Version: 2.10.6-0ubuntu1
>> Package: libpango1.0-0
>> Version: 1.14.5-0ubuntu1
>>
>> The 'ubuntu1' suffix is most likely an Ubuntu-specific patch.
>>
>> Best,
>> Fedor.
>
>
Re: Ubuntu and GMF [message #81207 is a reply to message #80828] Mon, 27 November 2006 13:25 Go to previous messageGo to next message
Eclipse UserFriend
Hi

I am wondering if an option is to try replacing the 1.2.4-1ubuntu2 with the
libcairo-swt.so and see if that resolves the issue. Then we will know that
the new or old version of cairo is the issue.

I am not sure which version of cairo is included in libcairo-swt.so , but I
think that Eclipse is likely using the 1.2.4-1ubuntu2 rather than the one
provided with Eclipse. Not if you "ldd eclipse", the cairo library is not
listed as a dependant library, so I am not sure how to tell which cairo SWT
is finding.

I have added the Eclipse platform SWT newgroup to see if this is a known
issue.

Cheers...
Anthony

I cannot tell
"Fedor Isakov" <fisakov@gmail.com> wrote in message
news:ek9nr8$bbf$1@utils.eclipse.org...
> Hi,
>
> indeed, there is a Cairo library in Ubuntu:
>
> aptitude show libcairo2 | egrep 'Package:|Version:'
> Package: libcairo2
> Version: 1.2.4-1ubuntu2
>
> Best,
> Fedor.
>
>
> Anthony Hunter wrote:
>> Thanks Fedor and C
Re: Ubuntu and GMF [message #81293 is a reply to message #81207] Mon, 27 November 2006 17:50 Go to previous messageGo to next message
Eclipse UserFriend
Hi Anthony,

this thought has also crossed my mind. I naively tried to substitute the
libcairo.so.2 on my system with the libcairo-swt.so from Eclipse,
thinking it could help, but it looks like these libraries are completely
unrelated and not compatible in any way... Let the linux gurus here
forgive my ignorance.

Here's what I tried:

- I ran Eclipse with strace to see where it looks for libcairo.so.2.
It tries many locations before resorting to /usr/lib, in my case the
last directory was /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/lib/i386/

- I put a symlink to libcairo-swt.so into that directory and named it
libcairo.so.2

- After all this, any attempts to start Eclipse were unsuccessful.

So, I call the myth that we can substitute Cairo library with the one
provided with Eclipse debunked. Unless, of course, I did something
completely wrong, which is quite likely.

Best,
Fedor.


Anthony Hunter wrote:
> Hi
>
> I am wondering if an option is to try replacing the 1.2.4-1ubuntu2 with the
> libcairo-swt.so and see if that resolves the issue. Then we will know that
> the new or old version of cairo is the issue.
>
> I am not sure which version of cairo is included in libcairo-swt.so , but I
> think that Eclipse is likely using the 1.2.4-1ubuntu2 rather than the one
> provided with Eclipse. Not if you "ldd eclipse", the cairo library is not
> listed as a dependant library, so I am not sure how to tell which cairo SWT
> is finding.
>
> I have added the Eclipse platform SWT newgroup to see if this is a known
> issue.
>
> Cheers...
> Anthony
>
> I cannot tell
> "Fedor Isakov" <fisakov@gmail.com> wrote in message
> news:ek9nr8$bbf$1@utils.eclipse.org...
>> Hi,
>>
>> indeed, there is a Cairo library in Ubuntu:
>>
>> aptitude show libcairo2 | egrep 'Package:|Version:'
>> Package: libcairo2
>> Version: 1.2.4-1ubuntu2
>>
>> Best,
>> Fedor.
>>
>>
>> Anthony Hunter wrote:
>>> Thanks Fedor and Cédric
>>>
>>> So the issue cannot be GTK
>>>
>>> It must be a Cairo issue.
>>>
>>> Can you tell me if you have a version of libcairo on Ubuntu?
>>> I know that there is no such library on RedHat and this means that the
>>> libcairo-swt.so library in the Eclipse home is being used (same directory
>>> where eclipse binary is found).
>>>
>>> Cheers...
>>> Anthony
>>>
>>> "Fedor Isakov" <fisakov@gmail.com> wrote in message
>>> news:ek596t$48c$1@utils.eclipse.org...
>>>> Hi,
>>>>
>>>> Anthony Hunter wrote:
>>>>> Can you confirm on Ubuntu Linux 6.10 by running rpm -qa and tell me
>>>>> what you have?
>>>>> gtk2.10.6-0 ?
>>>>> libpango1.14.5-0 ?
>>>> Ubuntu 6.10 (Edgy Eft):
>>>>
>>>> aptitude show libgtk2.0-0 libpango1.0-0 | egrep 'Package:|Version:'
>>>> Package: libgtk2.0-0
>>>> Version: 2.10.6-0ubuntu1
>>>> Package: libpango1.0-0
>>>> Version: 1.14.5-0ubuntu1
>>>>
>>>> The 'ubuntu1' suffix is most likely an Ubuntu-specific patch.
>>>>
>>>> Best,
>>>> Fedor.
>
Re: Ubuntu and GMF [message #82158 is a reply to message #78681] Fri, 01 December 2006 11:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: francois.gaudin.makina-corpus.com

Cédric Jeanneret wrote:

> It solved my problem =)
> Thank you very much.

I've the same problem on Kubuntu Edgy, so I wonder how did you solve it.
Have you installed an other version of libcairo ?

Regards,
--
Francois Gaudin
Makina Corpus
Re: Ubuntu and GMF [message #82539 is a reply to message #82158] Mon, 04 December 2006 09:28 Go to previous message
Eclipse UserFriend
Hi,

it may have been wise to read the whole thread in order to understand
the topic.

At the moment, there is no good solution to this problem, only a
workaround, which is to disable anti-aliasing. The GMF FAQ has more info:

http://wiki.eclipse.org/index.php/Graphical_Modeling_Framewo rk_FAQ#Why_can.27t_I_see_elements_on_my_diagram.2C_although_ I_can_select_them.3F

Regards,
Fedor.


Francois Gaudin wrote:
> Cédric Jeanneret wrote:
>
>> It solved my problem =)
>> Thank you very much.
>
> I've the same problem on Kubuntu Edgy, so I wonder how did you solve it.
> Have you installed an other version of libcairo ?
>
> Regards,
> --
> Francois Gaudin
> Makina Corpus
>
Previous Topic:How to change LEDs' order in a Circuit
Next Topic:navigator in package browser
Goto Forum:
  


Current Time: Fri May 09 00:12:51 EDT 2025

Powered by FUDForum. Page generated in 0.04769 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top