ggeorg / gwt-mosaic

Automatically exported from code.google.com/p/gwt-mosaic
1 stars 0 forks source link

Vindow panel going to left-top a moment, when dragging. #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
At SVN version (revision 954),while window panel is dragging, there is a 
effect that  unwanted. Hovewer, at gwt-mosaic-v0.2.1 , there is no  this 
problem. I assume that before dragging,window is going to left-top corner.
can you help please?

Abdulkerim İnanmış

Original issue reported on code.google.com by a_inan...@yahoo.com on 7 Jul 2009 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by georgopo...@gmail.com on 7 Jul 2009 at 9:45

GoogleCodeExporter commented 9 years ago
Hi,

please check:

http://69.20.122.77/gwt-mosaic/Showcase.html#CwWindowPanel

the problem was the gwt-dnd-2.6.2 to gwt-dnd-2.6.4 upgrade.

Thanks,
George.

Original comment by georgopo...@gmail.com on 7 Jul 2009 at 11:39

GoogleCodeExporter commented 9 years ago
I hope that helps, until this bug is fixed:

http://code.google.com/p/gwt-mosaic/source/detail?r=962

thanks,
George.

Original comment by georgopo...@gmail.com on 7 Jul 2009 at 12:21

GoogleCodeExporter commented 9 years ago
I'm unable to view this URL:
  http://69.20.122.77/gwt-mosaic/Showcase.html#CwWindowPanel

Is there test case which shows the problem?

Original comment by fredsa on 8 Jul 2009 at 4:22

GoogleCodeExporter commented 9 years ago
hi, try now (the sever was down, sorry).

Original comment by georgopo...@gmail.com on 8 Jul 2009 at 4:55

GoogleCodeExporter commented 9 years ago
The link works, but I don't see any issues, at least not in Safari 3 on OSX. On 
which platform/browsers is the 
issue reproducible.

Original comment by fredsa on 8 Jul 2009 at 11:00

GoogleCodeExporter commented 9 years ago
sorry Fred my fault, it was the one with 2.6.2.

Try those links:

GwtDE with 2.6.2:
http://dev.gumboo.com:8880/gwtde/

GwtDE with 2.6.4:
http://dev.gumboo.com:8880/gwtde-2.6.4/

It happens while you click the mouse but not always.

Attached is also a video that shows the problem in hosted mode too.

The MoveDraController that is used is in:

http://code.google.com/p/gwt-mosaic/source/browse/branches/GWT-1.6/src/org/gwt/m
osaic/ui/client/DesktopPanel.java

The WindowPanel code with makeDraggable is:

http://code.google.com/p/gwt-mosaic/source/browse/branches/GWT-1.6/src/org/gwt/m
osaic/ui/client/WindowPanel.java

and there is also another class but its not involved in dragging operations yet:

http://code.google.com/p/gwt-mosaic/source/browse/branches/GWT-1.6/src/org/gwt/m
osaic/ui/client/DesktopManager.java

The design tries to mimic the JDesktopPane swing controls and JInternalFrame &
DesktopManager.

Thanks,
George.

Original comment by georgopo...@gmail.com on 9 Jul 2009 at 7:31

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, George for the test case. I was able to reproduce this consistently by 
moving 
the mouse only one pixel after the mouse down. It's the very first dragMove() 
which saw 
inappropriate coordinates in context.desiredDraggableX/Y

I've patched this in gwt-dnd r937 (trunk) and merge that fix in r938 (GWT1.6 
branch)

Original comment by fredsa on 12 Jul 2009 at 7:15

GoogleCodeExporter commented 9 years ago
Thanks, I will build gwt-dnd from SVN (GWT 1.6 branch).

Original comment by georgopo...@gmail.com on 14 Jul 2009 at 10:08