Closed GoogleCodeExporter closed 9 years ago
I encountered no problems at r735 using Firefox 3.0 RC1 (=3.0 beta 1).
Could you check Firebug and see if you see any errors?
Original comment by fredsa
on 28 May 2008 at 4:20
The same for gwt-dnd r738 compiled against GWT r2951 (aka /releases/1.5 branch)
Firebug shows a pair of exceptions:
1. At the "loading demo" stage:
_gat is not defined
DragDropDemo.html()DragDropDemo.html (line 33)
[Break on this error] var pageTracker = _gat._getTracker("UA-587086-3");
2. When the demo is completely loaded:
_gat is not defined
gwt()gwt (line 640)
[Break on this error] var pageTracker = _gat._getTracker("UA-587086-3");
Which is obviously Google Analytics stuff. After that no exceptions and all
(seems
to) work fine, except for Demo 10 as reported above.
Original comment by A.A.Vasi...@gmail.com
on 28 May 2008 at 6:06
Update. In Demo 7 there should be another pumpkin image in one of the "windows"
titled "A draggable & resizable IMG".
1. No picture is displayed
2. When I select "open image" from context menu, no picture is displayed,
instead
(correct) path to the image is printed.
So, perhaps this is neither GWT, nor gwt-dnd issue, but FF3's one.
Original comment by A.A.Vasi...@gmail.com
on 28 May 2008 at 7:40
Can you then paste that image URL directly into the browser's URL bar to have it
display? If not, it would seem FF is having a issue rendering the image. If so,
perhaps clearing your cache will clean up any problems.
Original comment by fredsa
on 28 May 2008 at 1:38
In fact, no image viewer could open this image. Any of images, as I find out.
Essencial output of ls -l **/*.gif **/*.jpg is:
1205 build/demo/com/allen_sauer/gwt/dnd/demo/public/images/dragger-4x4.gif
1201
build/demo/com/allen_sauer/gwt/dnd/demo/public/images/preview61_cycle_eight_16-b
lack-on-white.gif
1465 build/demo/com/allen_sauer/gwt/dnd/demo/public/images/row-dragger-8.gif
1205 build/out/demo/com/allen_sauer/gwt/dnd/demo/public/images/dragger-4x4.gif
1201
build/out/demo/com/allen_sauer/gwt/dnd/demo/public/images/preview61_cycle_eight_
16-black-on-white.gif
1465 build/out/demo/com/allen_sauer/gwt/dnd/demo/public/images/row-dragger-8.gif
1205 build/www/com.allen_sauer.gwt.dnd.demo.DragDropDemo/images/dragger-4x4.gif
1201
build/www/com.allen_sauer.gwt.dnd.demo.DragDropDemo/images/preview61_cycle_eight
_16-black-on-white.gif
1465
build/www/com.allen_sauer.gwt.dnd.demo.DragDropDemo/images/row-dragger-8.gif
817 demo/com/allen_sauer/gwt/dnd/demo/public/images/dragger-4x4.gif
795
demo/com/allen_sauer/gwt/dnd/demo/public/images/preview61_cycle_eight_16-black-o
n-white.gif
974 demo/com/allen_sauer/gwt/dnd/demo/public/images/row-dragger-8.gif
8729 build/demo/com/allen_sauer/gwt/dnd/demo/public/images/99pumpkin2-65x58.jpg
8729
build/out/demo/com/allen_sauer/gwt/dnd/demo/public/images/99pumpkin2-65x58.jpg
8729
build/www/com.allen_sauer.gwt.dnd.demo.DragDropDemo/images/99pumpkin2-65x58.jpg
5043 demo/com/allen_sauer/gwt/dnd/demo/public/images/99pumpkin2-65x58.jpg
You can see that after compilation every gif/jpeg is corrupted. What happen at
the
compile stage? I use 'ant' command to build gwt-dnd from source. Files "before"
and
"after" attached.
Original comment by A.A.Vasi...@gmail.com
on 29 May 2008 at 6:04
Attachments:
Thanks, A.A.Vasiljev!
That's good research. I just found a similar issue in gwt-voices the other day.
Turns
out the ant filterset task can corrupt binary files. I'll update the ant script
to
correct this problem.
Can I assume that you're running the demo from the 'build' directory, and that's
where you run into the corrupted images? (I generally run directly from
Eclipse, and
that's why I didn't see this issue initially.)
Original comment by fredsa
on 29 May 2008 at 1:55
Fixed ant build script in r742.
Thanks again.
Original comment by fredsa
on 30 May 2008 at 3:38
from DragDrop directory I run:
> ant
[... some output here ...]
and start demo like this:
> firefox build/www/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html
Now everything works right. Thank you for the great library!
Original comment by A.A.Vasi...@gmail.com
on 30 May 2008 at 5:30
BTW, may I ask you, Fred? What GWT-specific plugin for Eclipse (if any) do you
use
coding GWT applications?
Original comment by A.A.Vasi...@gmail.com
on 30 May 2008 at 10:33
None, actually. I do turn of auto formatting of javadoc comments, then place by
opening JSNI braces on the next line, which prevents Eclipse auto-formatting for
destroying my JSNI blocks.
Original comment by fredsa
on 30 May 2008 at 2:04
Original issue reported on code.google.com by
A.A.Vasi...@gmail.com
on 20 May 2008 at 11:46