ubuntu 9.10 request

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

ubuntu 9.10 request

Postby vampie » Tue Jul 21, 2009 9:34 am

On ubuntu and new brand linux with new Xorg there is a small bug

the screen is black but when you refresh ( by changing size of canvas of main container widget ) it becomes visible again
or adding component is doing the same..

Now for a workaround, could you do this:

when you open designer view is it possible to adding X+1 pixel, Y+1 pixel and removing it again X-1, Y-1 to trigger event for refresh
on linux ( not on windows ) ?


normal refresh button not doing the same (on design view)

thanks
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Re: ubuntu 9.10 request

Postby Alexander.Mitin » Wed Jul 22, 2009 4:01 am

We seen a couple of similar reports, but we cannot reproduce it. Probably this is a timing issue caused by preview window flickering prevention tricks: sometimes gecko refuses to render page. I'll add a workaround which you are requesting, but I'm not sure that it will help.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: ubuntu 9.10 request

Postby Alexander.Mitin » Wed Jul 22, 2009 4:12 am

I've added the following just before take screenshot of preview window:
Code: Select all
Rectangle bounds = shell.getBounds();
shell.setSize(bounds.width - 1, bounds.height - 1);
shell.redraw();
shell.update();
shell.setSize(bounds.width, bounds.height);
shell.redraw();
shell.update();

This patch is available in GWT 1.7 support, GWT 1.5 has no such patch, so you can compare if it has effect.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: ubuntu 9.10 request

Postby vampie » Wed Jul 22, 2009 10:09 pm

when will 1.7 support available?




Latest Build Date - Microsoft WindowsLinux - RedHat or SuSEOSX

New GWT Designer v7.1 - What's New?
Requires GWT 1.4.62, 1.5.3, or 1.6.x


???
latest support is 1.6.x branch...

where will i download designer with 1.7.x support? ( http://download.instantiations.com/D2GW ... ate/E-3.5/ ) ???

Thanks
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Re: ubuntu 9.10 request

Postby Alexander.Mitin » Wed Jul 22, 2009 11:37 pm

Version 7.1 works fine with GWT 1.7.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: ubuntu 9.10 request

Postby vampie » Sat Jul 25, 2009 3:11 am

problem continues, when i add new component it becomes fixed...

It is something annoying
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Re: ubuntu 9.10 request

Postby Alexander.Mitin » Sat Jul 25, 2009 3:48 am

It is possible to make an option which would disable any flickering prevention tricks. This should solve 'black screen' problem, but you'll see a more annoying popping out preview window every time you make even a minor change. Say your 'thanks' to developers of Linux window managers who made window managers so 'smart': they disallow showing a window in offscreen area and forsibly bring the window in front of you. And there is no any technical restriction to show the window in offscreen area. This is a major WindowBuilder (not only GWTD) problem under Linux since the beginning of java WindowBuilder early in 2003.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: ubuntu 9.10 request

Postby vampie » Sat Jul 25, 2009 9:46 am

I understand the problem, same as freebsd... when popup windows is not shown it will not render the screen...

It is possible to make an option which would disable any flickering prevention tricks. This should solve 'black screen' problem, but you'll see a more annoying popping out preview window every time you make even a minor change.


when would you make such an option... like render timeout option..???

Thanks
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Re: ubuntu 9.10 request

Postby Alexander.Mitin » Sat Jul 25, 2009 12:58 pm

The latest build pays attention to 'com.instantiations.gwt.disablePreviewWindowWorkarounds' system property. Define it and assign 'yes' or 'true' value to it like this
-Dcom.instantiations.gwt.disablePreviewWindowWorkarounds=true.
Again, this is for GWT 1.7 Linux support only.
Next, using this option try to switch to Compiz window manager. It's 'smart' too but it has nice feature (still not considered as a bug <g>): it wouldn't render a window on screen if it closed immediately after open.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: ubuntu 9.10 request

Postby vampie » Sat Jul 25, 2009 3:30 pm

where will i define it ???

in eclipse.ini ???

or with command line to eclipse executable?

$./eclipse -D..... ??
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Re: ubuntu 9.10 request

Postby Alexander.Mitin » Sun Jul 26, 2009 12:36 am

./eclipse -vmargs -Dcom.instantiations.gwt.disablePreviewWindowWorkarounds=true
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: ubuntu 9.10 request

Postby vampie » Sun Jul 26, 2009 2:43 am

now it has been fixed... thanks...

when will you make them available for GWT 1.4 - 1.5 - 1.6 ???

and would you make it available for FreeBSD too ? ( again for all version for GWT )
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Re: ubuntu 9.10 request

Postby Eric Clayberg » Sun Jul 26, 2009 8:36 am

vampie wrote:when will you make them available for GWT 1.4 - 1.5 - 1.6 ?

This is available for GWT 1.4 through 1.7 in the latest build.

vampie wrote:and would you make it available for FreeBSD too ?

FreeBSD is not one of our officially supported environments, so we don't doing any testing there.

Have you tried our normal Linux build there?
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

Re: ubuntu 9.10 request

Postby vampie » Sun Jul 26, 2009 10:15 am

FreeBSD is not one of our officially supported environments, so we don't doing any testing there.


yes i know, I have compiled and sent you libgwt*.so, i hope it will also show popup window as linux does ( metacity and compiz )
showing popup windows should not bother linux ppl, coz you can set windows "always on top"

that is why i asked about any change in linux environment ( such as new VMARGS for eclipse ) also effect FBSD...

Thanks for your support su far...

And yes for linux it is ok for now... new window managers + new xorg + new mozilla render library would cause a future bug..
so we found a workaround for now :)

I am your beta tester :) i will also test on solaris :)
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Re: ubuntu 9.10 request

Postby Alexander.Mitin » Thu Jul 30, 2009 10:45 am

It should work on FreeBSD as same as on Linux (though FreeBSD never tested at our end).
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Next

Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest