Designer sometimes does not show preview of objects

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Designer sometimes does not show preview of objects

Postby tom_markel » Fri Oct 06, 2006 8:07 am

Sometimes I see a preview of objects such as Tabs and buttons and other time I just see the placeholders. If I save, exit and come back in them the previews are painted correctly.
tom_markel
 
Posts: 18
Joined: Fri Oct 06, 2006 5:52 am

Re: Designer sometimes does not show preview of objects

Postby Eric Clayberg » Fri Oct 06, 2006 10:25 am

tom_markel wrote:Sometimes I see a preview of objects such as Tabs and buttons and other time I just see the placeholders. If I save, exit and come back in them the previews are painted correctly.

Yes. We have experienced some timing problem like this with GWT. This usually happens when we are trying to make too many changes to the GWT components in rapid succession (they can't keep up and end up not painting at all). We are looking for ways to detect this and then trigger a refresh. Designer simply shows images of the live GWT widgets. When they blank out in Designer, it means that the live widgets have not rendered themselves properly for some reason.

Note that you can refresh the view by Ctrl-clicking the the "Test/Preview" button (light switch on toolbar). Most of the time, that will fix the problem.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests