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 257892 Details for
Bug 447325
[platform] NPE in DetachedDropAgent.drop
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]
Proposed patch
eclipse.platform.ui-447325.patch (text/plain), 950 bytes, created by
Alexander Zakusylo
on 2015-11-12 04:45:58 EST
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Alexander Zakusylo
Created:
2015-11-12 04:45:58 EST
Size:
950 bytes
patch
obsolete
>diff --git a/bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/dndaddon/DetachedDropAgent.java b/bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/dndaddon/DetachedDropAgent.java >index 1521576..d49dfcc 100644 >--- a/bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/dndaddon/DetachedDropAgent.java >+++ b/bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/dndaddon/DetachedDropAgent.java >@@ -57,6 +57,10 @@ > if (dragElement.getCurSharedRef() != null) > dragElement = dragElement.getCurSharedRef(); > >+ // When user is dragging a part in a rapid manner, curRect may lag or even be null causing >+ // NPE (bug 447325), so have update the rect: >+ getRectangle(dragElement, info); >+ > modelService.detach((MPartSashContainerElement) dragElement, curRect.x, curRect.y, > curRect.width, curRect.height); >
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 447325
: 257892