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 148737 Details for
Bug 276677
[Table] wrong behaviour when dragging outside separators and tabs in Firefox
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
Bug276677-patch.txt (text/plain), 2.19 KB, created by
Asen Draganov
on 2009-10-05 03:48:44 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Asen Draganov
Created:
2009-10-05 03:48:44 EDT
Size:
2.19 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.q07 >Index: js/org/eclipse/swt/widgets/TableColumn.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/widgets/TableColumn.js,v >retrieving revision 1.7 >diff -u -r1.7 TableColumn.js >--- js/org/eclipse/swt/widgets/TableColumn.js 29 Jun 2009 18:06:03 -0000 1.7 >+++ js/org/eclipse/swt/widgets/TableColumn.js 5 Oct 2009 07:47:32 -0000 >@@ -131,24 +131,26 @@ > // Mouse listeners for resize > > _onMouseDown : function( evt ) { >- this._inResize = this._isResizeLocation( evt.getPageX() ); >- if( this._inResize ) { >- var position = this.getLeft() + this.getWidth(); >- this._table._showResizeLine( position ); >- this._resizeStartX = evt.getPageX(); >- this.setCapture( true ); >- evt.stopPropagation(); >- evt.preventDefault(); >- } else if( this._moveable ){ >- this._inMove = true; >- this.setCapture( true ); >- this._bufferedZIndex = this.getZIndex(); >- this.setZIndex( 1e8 ); >- this._table._unhookColumnMove( this ); >- this._offsetX = evt.getPageX() - this.getLeft(); >- this._initialLeft = this.getLeft(); >- evt.stopPropagation(); >- evt.preventDefault(); >+ if( !this._inMove && !this._inResize ) { >+ if( this._isResizeLocation( evt.getPageX() ) ) { >+ this._inResize = true; >+ var position = this.getLeft() + this.getWidth(); >+ this._table._showResizeLine( position ); >+ this._resizeStartX = evt.getPageX(); >+ this.setCapture( true ); >+ evt.stopPropagation(); >+ evt.preventDefault(); >+ } else if( this._moveable ) { >+ this._inMove = true; >+ this.setCapture( true ); >+ this._bufferedZIndex = this.getZIndex(); >+ this.setZIndex( 1e8 ); >+ this._table._unhookColumnMove( this ); >+ this._offsetX = evt.getPageX() - this.getLeft(); >+ this._initialLeft = this.getLeft(); >+ evt.stopPropagation(); >+ evt.preventDefault(); >+ } > } > }, >
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 276677
: 148737