Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Weird behaviour on standalone Luna application(Layout / Styling problems since Kepler -> Luna migration )
Weird behaviour on standalone Luna application [message #1406283] Sat, 09 August 2014 15:45 Go to next message
Ralph Schuster is currently offline Ralph SchusterFriend
Messages: 9
Registered: September 2012
Junior Member
I am stucked ith a problem I've been fighting now for 48 hours. My Eclipse/E4 application migrated from Kepler to Luna. In Kepler, there have been no problems and it was working perfectly.

However, there are styling and layout problems with Luna now - but only when I run the application standalone (after a Tycho build). When the application is started from within Eclipse IDE, there are no problems at all.

When run standalone, all tables miss their background and header stylings:

index.php/fa/18837/0/

Some tables suddenly disappear as soon as they require scrollbars:

index.php/fa/18838/0/

Moreover, a customized button (with PaintListener) does not display the color anymore although I could verify that the listener was executed correctly in standalone product:

index.php/fa/18839/0/

You can browse the complete source code at

http://svn.ralph-schuster.eu/websvn/listing.php?repname=RsBudget&path=%2Ftrunk%2F

and some dependency plugins at

http://svn.ralph-schuster.eu/websvn/listing.php?repname=Common+RCP+Plugins&path=%2Ftrunk%2F

Thanks anyone for support

PS: No log messages are issued when the problems occur.

[Updated on: Sat, 09 August 2014 15:46]

Report message to a moderator

Re: Weird behaviour on standalone Luna application [message #1406841 is a reply to message #1406283] Mon, 11 August 2014 08:33 Go to previous messageGo to next message
Ralph Schuster is currently offline Ralph SchusterFriend
Messages: 9
Registered: September 2012
Junior Member
Short Update: This is only on Linux/Ubuntu. Windows seems to work correctly
Re: Weird behaviour on standalone Luna application [message #1406857 is a reply to message #1406841] Mon, 11 August 2014 09:27 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6593
Registered: July 2009
Senior Member
You are most likely seen a GTK3 problem. Simply launch with SWT_GTK3=0
in your env and/or configure it through the launcher (use google to find
that info I don't have it at the top of my head)

Tom

On 11.08.14 10:33, Ralph Schuster wrote:
> Short Update: This is only on Linux/Ubuntu. Windows seems to work correctly
Re: Weird behaviour on standalone Luna application [message #1406998 is a reply to message #1406857] Mon, 11 August 2014 16:21 Go to previous message
Ralph Schuster is currently offline Ralph SchusterFriend
Messages: 9
Registered: September 2012
Junior Member
Hello Tom,

thank you very much. That's the solution. The env var SWT_GTK3=0 fixes this behaviour. (I have Ubuntu 14.04 installed)

Nevertheless, wondering how Eclipse IDE does this internally so it doesn't appear in there.
Previous Topic:How to get access to MPart toolbar elements?
Next Topic:How to add shortcuts for Dynamic menus.
Goto Forum:
  


Current Time: Sat Apr 10 23:11:25 GMT 2021

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

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

Back to the top