Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 256461 Details for
Bug 476961
[DnD] Drag and drop with UI feedback can crash the client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Simple patch to fix the client crash
0001-DnD-with-UI-feedback-can-crash-the-client.patch (text/plain), 1.10 KB, created by
Martin Domig
on 2015-09-09 08:44:40 EDT
(
hide
)
Description:
Simple patch to fix the client crash
Filename:
MIME Type:
Creator:
Martin Domig
Created:
2015-09-09 08:44:40 EDT
Size:
1.10 KB
patch
obsolete
>From 1edfeb8636a7be366bb43fbc4e0c445a714a23f2 Mon Sep 17 00:00:00 2001 >From: Martin Domig <martin.domig@finkzeit.at> >Date: Wed, 9 Sep 2015 14:42:37 +0200 >Subject: [PATCH] DnD with UI feedback can crash the client. > >Proposed fix for bug 476961 >--- > bundles/org.eclipse.rap.rwt/js/rwt/widgets/util/GridDNDFeedback.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/bundles/org.eclipse.rap.rwt/js/rwt/widgets/util/GridDNDFeedback.js b/bundles/org.eclipse.rap.rwt/js/rwt/widgets/util/GridDNDFeedback.js >index 48014c6..692013f 100644 >--- a/bundles/org.eclipse.rap.rwt/js/rwt/widgets/util/GridDNDFeedback.js >+++ b/bundles/org.eclipse.rap.rwt/js/rwt/widgets/util/GridDNDFeedback.js >@@ -137,7 +137,7 @@ rwt.qx.Class.define( "rwt.widgets.util.GridDNDFeedback", { > var location = { x : 0, y : 0 }; > var node = row.$el.get( 0 ); > var treeNode = this._tree._getTargetNode(); >- while( node != treeNode ) { >+ while( node != null && node != treeNode ) { > location.x += node.offsetLeft; > location.y += node.offsetTop; > node = node.parentNode; >-- >2.3.2 (Apple Git-55) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 476961
:
256460
| 256461 |
256493
|
256494