[solved] Desing mode rendering issues (OSX)

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

[solved] Desing mode rendering issues (OSX)

Postby peterblazejewicz » Sun Apr 06, 2008 9:07 am

Hi all,

I think that is regression to previous version so GWTD.
Design mode renders preview of composite during composite authoring without issue (see screenshot below):
CompositeDesignView.png
CompositeDesignView.png (55.16 KiB) Viewed 1164 times


However when composite is dropped into Design view of entry point there are issue with rendering it (at all):
EntryPointDesignView.png
EntryPointDesignView.png (41.6 KiB) Viewed 1138 times


it works fine if I choose "Preview" in design mode of entry point (no screenshot, it just works fine as in composite design preview),

I've included example projects (there is a patch to gwt UIObject for id attributes because I'm using 3rd party rendered content),



config:
Leopard 10.5.2
Java 1.5.13 (Apple)
GWT 1.4.61 (Leopard fix)
GWTD: 4.0.0.200804040904
Eclipse: 3.3.0 (Eclipcse Ganymede m5 build)

regards,
Peter
Last edited by peterblazejewicz on Thu Apr 17, 2008 11:10 am, edited 1 time in total.
Peter Blazejewicz
GWT groups profile
peterblazejewicz
 
Posts: 153
Joined: Fri Jul 27, 2007 7:09 pm
Location: Europe/Poland/Warsaw

Re: Desing mode rendering issues (OSX)

Postby peterblazejewicz » Mon Apr 07, 2008 8:50 am

hi,

I've recreated implementation I've used before on OSX (Tiger, Ganymede, GWTD prior 4.*.*) to check the same rendering issue and I think its valid one,

Here is example implementation based on Apple's documentation:
https://developer.apple.com/webapps/doc ... index.html

Here is optimal rendering preview in Design mode:
optimalPreview.png
optimalPreview.png (68.92 KiB) Viewed 1114 times


usually when adding widgets one by one rendering is fine,
however as soon as I switch to other panel or e.g. open that file with buttons and switch to design mode rendering is not completed:
actualPreview.png
actualPreview.png (61.01 KiB) Viewed 1113 times

even using "refresh" option does not update preview,

What actually uupdate that preview is e.g. changing bean property of widget, e.g. change "visible" property for given button and all are redrawn. Close file, reopen, switch to design mode and renderign is again incomplete,

I've put another sample project here (self-contained, no dependencies, etc),
iphonebuttonsproject.zip
(86.53 KiB) Downloaded 77 times



regards,
Peter
Peter Blazejewicz
GWT groups profile
peterblazejewicz
 
Posts: 153
Joined: Fri Jul 27, 2007 7:09 pm
Location: Europe/Poland/Warsaw

Re: Desing mode rendering issues (OSX)

Postby Alexander.Mitin » Tue Apr 15, 2008 6:00 am

We can confirm the issue using 10.5.2.
I let you know when it will be fixed.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: Desing mode rendering issues (OSX)

Postby peterblazejewicz » Tue Apr 15, 2008 10:51 am

thx Alexander,

regards,
Peter
peterblazejewicz
 
Posts: 153
Joined: Fri Jul 27, 2007 7:09 pm
Location: Europe/Poland/Warsaw

Re: Desing mode rendering issues (OSX)

Postby Alexander.Mitin » Wed Apr 16, 2008 11:32 am

peterblazejewicz wrote:I've recreated implementation I've used before on OSX (Tiger, Ganymede, GWTD prior 4.*.*) to check the same rendering issue and I think its valid one,

Which Safari/WebKit installed on Tiger?
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: Desing mode rendering issues (OSX)

Postby peterblazejewicz » Wed Apr 16, 2008 12:14 pm

Hi Alexander,
I've always been using Safari 3.0.* on Tiger/PowerPC machine. Now because I'm always applying updates on both machines Safari 3.1 is installed (intel/Leopard always had 3.1 after initial setup),

regards,
Peter
Peter Blazejewicz
GWT groups profile
peterblazejewicz
 
Posts: 153
Joined: Fri Jul 27, 2007 7:09 pm
Location: Europe/Poland/Warsaw

Re: Desing mode rendering issues (OSX)

Postby Alexander.Mitin » Thu Apr 17, 2008 12:51 am

Peter,

I'm asking because I can't get proper rendering with pretty old GWT Designer using Tiger 10.4.8 and Safari 3.1. So I think this issue related to Safari 3.1.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: Desing mode rendering issues (OSX)

Postby Alexander.Mitin » Thu Apr 17, 2008 6:26 am

This should be fixed in latest build.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: Desing mode rendering issues (OSX)

Postby peterblazejewicz » Thu Apr 17, 2008 11:09 am

hi Alexander,

this works marvelous, really,
also if you still have example project you can change .html declaration from XHTML to Strict HTML:
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

as noted in other thread and it will work even better in GWTD design view,

considered closed,

regards,
Peter
Peter Blazejewicz
GWT groups profile
peterblazejewicz
 
Posts: 153
Joined: Fri Jul 27, 2007 7:09 pm
Location: Europe/Poland/Warsaw

Re: Desing mode rendering issues (OSX)

Postby Eric Clayberg » Thu Apr 17, 2008 6:35 pm

peterblazejewicz wrote:this works marvelous, really

Finally some good news in OSX land. ;-)
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