Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » WB not rendering/painting in IDE
WB not rendering/painting in IDE [message #1462720] Wed, 05 November 2014 22:00 Go to next message
Fetter Doubt is currently offline Fetter DoubtFriend
Messages: 6
Registered: November 2014
Junior Member
I recently installed Eclipse Luna and now when I open a Java file in WB the WB GUI does not render correctly. It is difficult to descripe so just look at the attached screenshot. The JPanel window actually "runs" correctly so all the widgets are there and can be selected interactively they just aren't visible. My guess is there is a font/color issue.
Re: WB not rendering/painting in IDE [message #1463431 is a reply to message #1462720] Thu, 06 November 2014 14:55 Go to previous messageGo to next message
Norbert Skalski is currently offline Norbert SkalskiFriend
Messages: 8
Registered: November 2014
Junior Member
I have the same exact issue. Windowbuilder shows exactly the same behavior, with the palette being "clickable" and the render being "hidden", but everything being select-able.

This occurred to me when upgrading from CentOS 6.5 to 6.6 It was a lot of packages and i have no idea which one it could be. I can post any diagnostic info if it will help diagnose this problem.
Re: WB not rendering/painting in IDE [message #1464314 is a reply to message #1462720] Fri, 07 November 2014 12:12 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
You didn't mention the OS you are using, but I'll guess Linux. Having seen this same behavior many times over the years in the past with various Linux distros, I am 99% sure its caused by a bug in the Linux window manager or video driver. Try updating both and/or try a different window manager.
Re: WB not rendering/painting in IDE [message #1464715 is a reply to message #1463431] Fri, 07 November 2014 20:30 Go to previous messageGo to next message
Fetter Doubt is currently offline Fetter DoubtFriend
Messages: 6
Registered: November 2014
Junior Member
Yes - I forgot to specify - I am running CentOS 6.6 x86_6 and recently upgraded from 6.5.

The first thing that happend was Kepler started crashing so I upgraded to Luna. Then I noticed this WB rendering issue.

Re: WB not rendering/painting in IDE [message #1464716 is a reply to message #1464314] Fri, 07 November 2014 20:34 Go to previous messageGo to next message
Fetter Doubt is currently offline Fetter DoubtFriend
Messages: 6
Registered: November 2014
Junior Member
I would think that your guess about window manager or video driver is probably correct. Could that also explain why when I set a Gnome panel to auto-hide I then can't un-hide it - no matter how hard I push the mouse pointer against side of the screen?
Re: WB not rendering/painting in IDE [message #1464846 is a reply to message #1464716] Fri, 07 November 2014 22:50 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
It certainly could. Several times I have seen it stem from a problem with the virtual bounding box of the screen. WB does off screen rendering, and if the virtual bounding box is somehow constrained to the physical screen, nothing gets rendered (just empty white space). I could see how that could affect auto-hidden panels as well. If history repeats, t will likely get fixed in 6.6.1 Wink And then break again in 6.7 Wink
Re: WB not rendering/painting in IDE [message #1468696 is a reply to message #1464314] Tue, 11 November 2014 02:22 Go to previous messageGo to next message
Fetter Doubt is currently offline Fetter DoubtFriend
Messages: 6
Registered: November 2014
Junior Member
Looks like I've got the latest ATI Radeon drivers and Gnome window manager. I installed the driver from AMD/ATI website but X/Gnome failed to start so I uninstalled it.

Any other thoughts?

Installed Packages
xorg-x11-drv-ati.x86_64 7.3.99-2.el6 @base
xorg-x11-drv-ati-firmware.noarch 7.3.99-2.el6 @base

yum update gnome*
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* elrepo: elrepo.org
* extras: centos.host-engine.com
* rpmforge: mirror.hmc.edu
* updates: centos-distro.cavecreek.net
No Packages marked for Update
Re: WB not rendering/painting in IDE [message #1470046 is a reply to message #1468696] Wed, 12 November 2014 03:38 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
Having the latest versions doesn't mean they are without issues. I don't use CentOS, so I can't help you with that.
Re: WB not rendering/painting in IDE [message #1524700 is a reply to message #1470046] Tue, 23 December 2014 16:06 Go to previous messageGo to next message
gerry hobbs is currently offline gerry hobbsFriend
Messages: 5
Registered: December 2014
Junior Member
Just posted the same question. This appears to be systemic with RHEL 6/CentOs after the upgrade from 6.5 to 6.6. We have eight linux development PCs all of which use RHEL 6 and are different make and models. All had working WindowBuilder in Kepler prior to the upgrade and the above mentioned problem with WindowBuilder after the upgrade. Everything else in eclipse seems to work fine.
Re: WB not rendering/painting in IDE [message #1524744 is a reply to message #1524700] Tue, 23 December 2014 16:41 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
I doubt that anything else in Eclipse would be susceptible to this particular class of bug in the Linux window manager.
Re: WB not rendering/painting in IDE [message #1580965 is a reply to message #1462720] Fri, 23 January 2015 20:34 Go to previous messageGo to next message
Norbert Skalski is currently offline Norbert SkalskiFriend
Messages: 8
Registered: November 2014
Junior Member
This issue still persists, i have a centos bug open, please post your information there for faster service! HA Razz

http://bugs.centos.org/view.php?id=8124
Re: WB not rendering/painting in IDE [message #1697773 is a reply to message #1580965] Mon, 08 June 2015 11:43 Go to previous messageGo to next message
Bernhard Donaubauer is currently offline Bernhard DonaubauerFriend
Messages: 3
Registered: June 2015
Junior Member
Any news on this topic? I am suffering from the same problem. Sad

I compiled the gtk+ 2 stack (pango, cairo, pixbuf, ...) with no success.
Re: WB not rendering/painting in IDE [message #1697808 is a reply to message #1697773] Mon, 08 June 2015 14:44 Go to previous messageGo to next message
Fetter Doubt is currently offline Fetter DoubtFriend
Messages: 6
Registered: November 2014
Junior Member
Never got any response from the project.
I gave up.
I'm not running CentOS 7 and the latest Eclipse with WB and it seems to work.
Go figure.
Re: WB not rendering/painting in IDE [message #1697932 is a reply to message #1462720] Tue, 09 June 2015 16:16 Go to previous messageGo to next message
Martin Rittner is currently offline Martin RittnerFriend
Messages: 1
Registered: June 2015
Junior Member
Similar issue, I guess same reason - see attached screenshot: My design renders, but the items do not appear at the correct position (they are all clickable, but further down than displayed). Also, my component tree has only entries with empty labels, which is the most annoying, as I don't know what I am clicking at in the tree... Basically, WindowBuilder is useless, this way. Sad

Could be Gnome, could be the fact that this a very high resolution monitor (see screenshot), and on Linux(es), many programs don't cope with that very well yet, could be both...

Fedora 22, Gnome 3.16.2, Evolution Luna 4.4.2, WindowBuilder 1.8.0
Re: WB not rendering/painting in IDE [message #1699647 is a reply to message #1697932] Thu, 25 June 2015 13:54 Go to previous messageGo to next message
Vladimir Logunov is currently offline Vladimir LogunovFriend
Messages: 1
Registered: June 2015
Junior Member
index.php/fa/22292/0/
similarly ... Sad
kubuntu 14.10 KDE 4.14.1 Mars 4.5 WindowBuilder 1.8.0
  • Attachment: Problem.png
    (Size: 82.61KB, Downloaded 3802 times)
Re: WB not rendering/painting in IDE [message #1701294 is a reply to message #1699647] Fri, 10 July 2015 15:44 Go to previous messageGo to next message
Norbert Skalski is currently offline Norbert SkalskiFriend
Messages: 8
Registered: November 2014
Junior Member
I never got it to work. Nobody seems to care either in the Centos realm or Eclipse. Just consider Eclipse Windowbuilder completely broken with Centos 6.6 and the like.

I am lucky to have a spare workstation that now is the dedicated to running eclipse on windows specifically for building java gui's with windowbuilder.

There is the Mars release of Eclipse which i will try shortly, but most likely this year i will be retiring swing and all these unsupported tools and moving to JavaFX.

EDIT: Tried Eclipse Mars, same issue. Windowbuilder in Eclipse will not render correctly with GNOME running on Centos 6.6. Save yourself some pain, don't even try.

[Updated on: Fri, 10 July 2015 19:10]

Report message to a moderator

Re: WB not rendering/painting in IDE [message #1701315 is a reply to message #1701294] Fri, 10 July 2015 21:31 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
Sounds like good advice.
Re: WB not rendering/painting in IDE [message #1703021 is a reply to message #1701315] Tue, 28 July 2015 06:00 Go to previous messageGo to next message
Fetter Doubt is currently offline Fetter DoubtFriend
Messages: 6
Registered: November 2014
Junior Member
I punted and moved to CentOS 7 and Luna. Working better as far as painting goes. I can at least see the GUI so I can make edits.
Re: WB not rendering/painting in IDE [message #1703929 is a reply to message #1703021] Wed, 05 August 2015 21:58 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
The incompatibilities between Linux versions and window managers is quite astounding.
Re: WB not rendering/painting in IDE [message #1759284 is a reply to message #1697932] Mon, 10 April 2017 07:32 Go to previous message
aydemir kala kala is currently offline aydemir kala kalaFriend
Messages: 1
Registered: April 2017
Junior Member
in CentOS 6.5 this is working. Problem is gtk2-2.20.1-4.el6 package was changed to gtk2-2.24.23-8 in CentOS 6.6 plus. To work around the problem you could
1-) copy /usr/lib64/libgtk-x11-2.0.so.0.2000.1 from CentOS 6.5 ( gtk2.-2.20.1-4.el6 ) to a directory. (Example (/var/tmp/gtk2CentOS6.5/lib/)
2-) export LD_LIBRARY_PATH=/var/tmp/gtk2CentOS6.5/lib:$LD_LIBRARY_PATH
3-)cd /var/tmp/gtk2CentOS6.5/lib
4-)ln -s libgtk-x11-2.0.so.0.2000.1 libgtk-x11-2.0.so
5-) ln -s libgtk-x11-2.0.so.0.2000.1 libgtk-x11-2.0.so.0
6-) eclipse &


Previous Topic:Howto extend WindowBuild by custom editor for specific Swing client property.
Next Topic:Gridbaglayout unwanted columnWidths, rowHeights, etc...
Goto Forum:
  


Current Time: Thu Apr 18 23:51:06 GMT 2024

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

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

Back to the top